diff options
| author | Xiaoyao Li <xiaoyao.li@intel.com> | 2025-05-08 10:59:17 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-28 19:01:40 +0200 |
| commit | bb3be394cf80d68251e5b89e823dddc679b6e644 (patch) | |
| tree | 8ef96d940b797c134828c5004877aa60f2fe06f1 /python/scripts | |
| parent | 714af52276e74a1829674d180ef26ecb6261834c (diff) | |
| download | focaccia-qemu-bb3be394cf80d68251e5b89e823dddc679b6e644.tar.gz focaccia-qemu-bb3be394cf80d68251e5b89e823dddc679b6e644.zip | |
i386/tdx: Wire CPU features up with attributes of TD guest
For QEMU VMs, - PKS is configured via CPUID_7_0_ECX_PKS, e.g., -cpu xxx,+pks and - PMU is configured by x86cpu->enable_pmu, e.g., -cpu xxx,pmu=on While the bit 30 (PKS) and bit 63 (PERFMON) of TD's attributes are also used to configure the PKS and PERFMON/PMU of TD, reuse the existing configuration interfaces of 'cpu' for TD's attributes. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250508150002.689633-12-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python/scripts')
0 files changed, 0 insertions, 0 deletions