mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
KVM: x86: Advertise HYPERVISOR in KVM_GET_SUPPORTED_CPUID
Unconditionally advertise "support" for the HYPERVISOR feature in CPUID, as the flag simply communicates to the guest that's it's running under a hypervisor. Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Link: https://lore.kernel.org/r/20241128013424.4096668-39-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
This commit is contained in:
parent
9be4ec35d6
commit
9aa470f5dd
|
|
@ -743,7 +743,8 @@ void kvm_set_cpu_caps(void)
|
|||
0 /* OSXSAVE */ |
|
||||
F(AVX) |
|
||||
F(F16C) |
|
||||
F(RDRAND)
|
||||
F(RDRAND) |
|
||||
EMULATED_F(HYPERVISOR)
|
||||
);
|
||||
|
||||
kvm_cpu_cap_init(CPUID_1_EDX,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user