summaryrefslogtreecommitdiffstats
path: root/target/i386/hyperv.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/i386/hyperv.c')
-rw-r--r--target/i386/hyperv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/hyperv.c b/target/i386/hyperv.c
index b264a28620..26efc1e0e6 100644
--- a/target/i386/hyperv.c
+++ b/target/i386/hyperv.c
@@ -52,7 +52,7 @@ int kvm_hv_handle_exit(X86CPU *cpu, struct kvm_hyperv_exit *exit)
switch (exit->type) {
case KVM_EXIT_HYPERV_SYNIC:
- if (!cpu->hyperv_synic) {
+ if (!hyperv_feat_enabled(cpu, HYPERV_FEAT_SYNIC)) {
return -1;
}