target/i386: fix feature check in hyperv-stub.c
commit4cdf03e21ea9d00d988b210864f44cfef29d5919
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 24 Jun 2019 12:33:58 +0000 (24 13:33 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Jul 2019 18:23:07 +0000 (4 19:23 +0100)
tree2db1e55dde4b34ed3a80c7ba38affd9df7d637d8
parent4f2f62762f8119886fbb65920931613cd87840b3
target/i386: fix feature check in hyperv-stub.c

Commit 2d384d7c8 broken the build when built with:

  configure --without-default-devices --disable-user

The reason was the conversion of cpu->hyperv_synic to
cpu->hyperv_synic_kvm_only although the rest of the patch introduces a
feature checking mechanism. So I've fixed the KVM_EXIT_HYPERV_SYNIC in
hyperv-stub to do the same feature check as in the real hyperv.c

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hyperv-stub.c