diff options
author | Vitaly Kuznetsov | 2019-05-17 16:19:23 +0200 |
---|---|---|
committer | Paolo Bonzini | 2019-06-21 02:29:39 +0200 |
commit | 8caba36db5d70beb5353b5b5d28421b67275bcf0 (patch) | |
tree | 2d228466c1824ad8b7f2480311c1eebdc895d62a /target/i386/kvm.c | |
parent | i386/kvm: hv-tlbflush/ipi require hv-vpindex (diff) | |
download | qemu-8caba36db5d70beb5353b5b5d28421b67275bcf0.tar.gz qemu-8caba36db5d70beb5353b5b5d28421b67275bcf0.tar.xz qemu-8caba36db5d70beb5353b5b5d28421b67275bcf0.zip |
i386/kvm: hv-evmcs requires hv-vapic
Enlightened VMCS is enabled by writing to a field in VP assist page and
these require virtual APIC.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20190517141924.19024-9-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/kvm.c')
-rw-r--r-- | target/i386/kvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/i386/kvm.c b/target/i386/kvm.c index 1dfa282efd..86de510c18 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -790,7 +790,8 @@ static struct { .flags = { {.fw = FEAT_HV_RECOMM_EAX, .bits = HV_ENLIGHTENED_VMCS_RECOMMENDED} - } + }, + .dependencies = BIT(HYPERV_FEAT_VAPIC) }, [HYPERV_FEAT_IPI] = { .desc = "paravirtualized IPI (hv-ipi)", |