But when I try the same with libvirt, I am getting this,
error: internal error: unable to execute QEMU command 'qom-get': Property 'sgx-epc.unavailable-features' not found
testvm.xml content:
`
test3d5bba5b-0b5b-4b2b-a425-171fe9b31140419430441943041hvm/usr/share/OVMF/OVMF_CODE.fd/var/lib/libvirt/qemu/nvram/testvm_VARS.fdqemu64destroyrestartrestart/usr/local/bin/qemu-system-x86_64
`
SGX virtualization document not updated for the latest qemu version. https://www.intel.com/content/www/us/en/developer/articles/technical/virtualizing-intel-software-guard-extensions-with-kvm-and-qemu.html
Hello All,
Linux version 5.14.9-custom QEMU emulator version 6.2.0 (v6.2.0)
I am able to start a testvm using following commandline,
sudo qemu-system-x86_64 -nographic -enable-kvm -cpu host,+sgx -object memory-backend-epc,id=mem1,size=8M,prealloc=on -object mem0.memdev
But when I try the same with libvirt, I am getting this,
error: internal error: unable to execute QEMU command 'qom-get': Property 'sgx-epc.unavailable-features' not found
testvm.xml content: `