diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2025-06-12 09:38:01 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-20 13:25:59 +0200 |
commit | 750560f8a832361cf5cc4cd7bc4f56e1e76206f6 (patch) | |
tree | 1c4bedcae50a8340b5978908c6c22c45d17004ae /scripts/tracetool/backend/syslog.py | |
parent | 00268e00027459abede448662f8794d78eb4b0a4 (diff) | |
download | qemu-750560f8a832361cf5cc4cd7bc4f56e1e76206f6.zip qemu-750560f8a832361cf5cc4cd7bc4f56e1e76206f6.tar.gz qemu-750560f8a832361cf5cc4cd7bc4f56e1e76206f6.tar.bz2 |
i386/tdx: Error and exit when named cpu model is requested
Currently, it gets below error when requesting any named cpu model with
"-cpu" to boot a TDX VM:
qemu-system-x86_64: KVM_TDX_INIT_VM failed: Invalid argument
It misleads people to think it's the bug of KVM or QEMU. It is just that
current QEMU doesn't support named cpu model for TDX.
To support named cpu models for TDX guest, there are opens to be
finalized and needs a mount of additional work.
For now, explicitly check the case when named cpu model is requested.
Error report a hint and exit.
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20250612133801.2238342-1-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/tracetool/backend/syslog.py')
0 files changed, 0 insertions, 0 deletions