]> Git Repo - qemu.git/blobdiff - target/i386/hyperv.c
i386: hvf: Drop copy of RFLAGS defines
[qemu.git] / target / i386 / hyperv.c
index b264a2862092919449875df055e595171d95cf19..26efc1e0e67d531213c275ed1172b2c6a82d1fb3 100644 (file)
@@ -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;
         }
 
This page took 0.021856 seconds and 4 git commands to generate.