Hi,
I am looking to use QEMU to run Intel TDX. I am using this
repo as my guide. My issue comes down to the following:
I am running the following command on two different Intel Xeon 6 machines with TDX and SGX configured at the BIOS level and running Ubuntu 24.04.
qemu-system-x86_64 -accel kvm -m 4G -smp 16 -name td,process=td,debug-threads=on -cpu host -object '{"qom-type":"tdx-guest","id":"tdx","quote-generation-socket":{"type": "vsock", "cid":"2","port":"4050"}}' -machine q35,kernel_irqchip=split,confidential-guest-support=tdx,hpet=off -bios /usr/share/ovmf/OVMF.fd -nographic -nodefaults -device virtio-net-pci,netdev=nic0_td -netdev user,id=nic0_td,hostfwd=tcp::10022-:22 -drive file=~/tdx/guest-tools/image/tdx-guest-ubuntu-24.04-generic.qcow2,if=none,id=virtio-disk0 -device virtio-blk-pci,drive=virtio-disk0 -device vhost-vsock-pci,guest-cid=3
I have two machines, an Xeon 8570 machine and an Xeon 6731E. The Xeon 6731E machine I had to install the operating system. The Xeon 8570 came somewhat preconfigured.
The command above on the 8570 machine spun up a TDX guest VM. The same command on the Xeon 6731E machine failed with:
qemu-system-x86_64: KVM_TDX_INIT_VM failed: Invalid argument
This is all I could find relevant there.
What specific configuration differences should I be looking for between these machines that might explain this?
Best wishes,
Freddie
--