]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/i386/pc.h
hyperv: only add SynIC in compatible configurations
[mirror_qemu.git] / include / hw / i386 / pc.h
index 6894f37df1d29e7b947fc5a4c0dd391512d76a8b..dfe67466928bd11e8e4d52eda32b402b4e56fb42 100644 (file)
@@ -294,6 +294,14 @@ int e820_add_entry(uint64_t, uint64_t, uint32_t);
 int e820_get_num_entries(void);
 bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
 
+#define PC_COMPAT_3_0 \
+    HW_COMPAT_3_0 \
+    {\
+        .driver   = TYPE_X86_CPU,\
+        .property = "x-hv-synic-kvm-only",\
+        .value    = "on",\
+    }
+
 #define PC_COMPAT_2_12 \
     HW_COMPAT_2_12 \
     {\