mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: tdx: Clear unsupported KVM PV features
This matches with the features that QEMU clears as they are not supported with TDX. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
9f5325fd52
commit
c357adae44
@@ -558,6 +558,8 @@ impl Vm {
|
||||
hypervisor,
|
||||
seccomp_action.clone(),
|
||||
vm_ops,
|
||||
#[cfg(feature = "tdx")]
|
||||
config.lock().unwrap().tdx.is_some(),
|
||||
)
|
||||
.map_err(Error::CpuManager)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user