mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 12:53:04 -04: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user