diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2018-10-22 18:55:06 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-11-06 21:35:04 +0100 |
commit | e204ac612cb2cc1a33f4205976386d237d676319 (patch) | |
tree | a054ab99c217acefcbc68330e9b7d3988fc79b6d /target/i386/cpu.h | |
parent | 013aabdc665e4256b38d8875a1a7b5e030ba98f1 (diff) | |
download | qemu-e204ac612cb2cc1a33f4205976386d237d676319.zip qemu-e204ac612cb2cc1a33f4205976386d237d676319.tar.gz qemu-e204ac612cb2cc1a33f4205976386d237d676319.tar.bz2 |
x86: hv_evmcs CPU flag support
Adds a new CPU flag to enable the Enlightened VMCS KVM feature.
QEMU enables KVM_CAP_HYPERV_ENLIGHTENED_VMCS and gets back the
version to be advertised in lower 16 bits of CPUID.0x4000000A:EAX.
Suggested-by: Ladi Prosek <lprosek@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20181022165506.30332-3-vkuznets@redhat.com>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/cpu.h')
-rw-r--r-- | target/i386/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/cpu.h b/target/i386/cpu.h index ad0e0b4..9c52d0c 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -1391,6 +1391,7 @@ struct X86CPU { bool hyperv_frequencies; bool hyperv_reenlightenment; bool hyperv_tlbflush; + bool hyperv_evmcs; bool hyperv_ipi; bool check_cpuid; bool enforce_cpuid; |