Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

vm-type X86_TDX_VM not supported by KVM (Ubuntu 22.04) #281

Closed
Eggwane opened this issue Apr 11, 2023 · 2 comments
Closed

vm-type X86_TDX_VM not supported by KVM (Ubuntu 22.04) #281

Eggwane opened this issue Apr 11, 2023 · 2 comments

Comments

@Eggwane
Copy link

Eggwane commented Apr 11, 2023

Hi,

I followed all the instructions of the build/ubuntu-22.04/ README.md and got everything well built but then I'm getting this error while running the command ./start-qemu.sh -i td-guest-ubuntu-22.04.qcow2 -b grub .

qemu-system-x86_64: -accel kvm: vm-type X86_TDX_VM not supported by KVM

I tried to change the path of the qemu binary in order to use the one I built : QEMU_EXEC="~/projects/tdx-tools/build/ubuntu-22.04/intel-mvp-tdx-qemu-kvm/mvp-tdx-qemu-v7.2.0/b/qemu/qemu-system-x86_64" but the error remains.

Am I not using the good KVM stack somehow? The lsmod command shows that the kvm and kvm_intel modules are loaded though.

Thanks in advance for your help.

@Eggwane
Copy link
Author

Eggwane commented Apr 13, 2023

Ok my bad, I thought it was a repo for simulation but apparently there's no way to get any hardware nor simulation like we could with SGX as mentioned in #86 and #249.

@Eggwane Eggwane closed this as completed Apr 13, 2023
@wenhuizhang
Copy link

same error here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants