Skip to content

Commit

Permalink
i386/kvm: hv-evmcs requires hv-vapic
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vittyvk authored and bonzini committed Jun 21, 2019
1 parent bd59fbd commit 8caba36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target/i386/kvm.c
Expand Up @@ -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)",
Expand Down

0 comments on commit 8caba36

Please sign in to comment.