diff options
| author | Xiaoyao Li <xiaoyao.li@intel.com> | 2025-05-08 10:59:51 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-28 19:35:54 +0200 |
| commit | 0ba06e46d09b84a2cb97a268da5576aaca3a24ca (patch) | |
| tree | db9f3117fa343a0f04c57da7b97717bd4c7cfed4 /rust/qemu-api/src/assertions.rs | |
| parent | 75ec6189f5c65cab210dd9f16cf4eef368038d45 (diff) | |
| download | focaccia-qemu-0ba06e46d09b84a2cb97a268da5576aaca3a24ca.tar.gz focaccia-qemu-0ba06e46d09b84a2cb97a268da5576aaca3a24ca.zip | |
i386/tdx: Add TDX fixed1 bits to supported CPUIDs
TDX architecture forcibly sets some CPUID bits for TD guest that VMM cannot disable it. They are fixed1 bits. Fixed1 bits are not covered by tdx_caps.cpuid (which only contains the directly configurable bits), while fixed1 bits are supported for TD guest obviously. Add fixed1 bits to tdx_supported_cpuid. Besides, set all the fixed1 bits to the initial set of KVM's support since KVM might not report them as supported. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250508150002.689633-46-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/assertions.rs')
0 files changed, 0 insertions, 0 deletions