]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target/i386/hyperv.c
i386/kvm: convert hyperv enlightenments properties from bools to bits
[mirror_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;
         }