4 #define HW_COMPAT_2_8 \
6 .driver = "fw_cfg_mem",\
7 .property = "x-file-slots",\
8 .value = stringify(0x10),\
10 .driver = "fw_cfg_io",\
11 .property = "x-file-slots",\
12 .value = stringify(0x10),\
15 #define HW_COMPAT_2_7 \
17 .driver = "virtio-pci",\
18 .property = "page-per-vq",\
21 .driver = "virtio-serial-device",\
22 .property = "emergency-write",\
26 .property = "version",\
29 .driver = "intel-iommu",\
30 .property = "x-buggy-eim",\
33 .driver = "virtio-pci",\
34 .property = "x-ignore-backend-features",\
38 #define HW_COMPAT_2_6 \
40 .driver = "virtio-mmio",\
41 .property = "format_transport_address",\
44 .driver = "virtio-pci",\
45 .property = "disable-modern",\
48 .driver = "virtio-pci",\
49 .property = "disable-legacy",\
53 #define HW_COMPAT_2_5 \
56 .property = "fallback",\
60 .property = "x-old-pci-configuration",\
64 .property = "x-disable-pcie",\
69 .property = "x-old-msi-offsets",\
73 .property = "x-disable-pcie",\
77 #define HW_COMPAT_2_4 \
79 .driver = "virtio-blk-device",\
84 .property = "extra_mac_registers",\
87 .driver = "virtio-pci",\
88 .property = "x-disable-pcie",\
91 .driver = "virtio-pci",\
92 .property = "migrate-extra",\
95 .driver = "fw_cfg_mem",\
96 .property = "dma_enabled",\
99 .driver = "fw_cfg_io",\
100 .property = "dma_enabled",\
104 #define HW_COMPAT_2_3 \
106 .driver = "virtio-blk-pci",\
107 .property = "any_layout",\
110 .driver = "virtio-balloon-pci",\
111 .property = "any_layout",\
114 .driver = "virtio-serial-pci",\
115 .property = "any_layout",\
118 .driver = "virtio-9p-pci",\
119 .property = "any_layout",\
122 .driver = "virtio-rng-pci",\
123 .property = "any_layout",\
126 .driver = TYPE_PCI_DEVICE,\
127 .property = "x-pcie-lnksta-dllla",\
131 #define HW_COMPAT_2_2 \
134 #define HW_COMPAT_2_1 \
136 .driver = "intel-hda",\
137 .property = "old_msi_addr",\
141 .property = "qemu-extended-regs",\
144 .driver = "secondary-vga",\
145 .property = "qemu-extended-regs",\
148 .driver = "virtio-scsi-pci",\
149 .property = "any_layout",\
152 .driver = "usb-mouse",\
153 .property = "usb_version",\
154 .value = stringify(1),\
156 .driver = "usb-kbd",\
157 .property = "usb_version",\
158 .value = stringify(1),\
160 .driver = "virtio-pci",\
161 .property = "virtio-pci-bus-master-bug-migration",\
165 #endif /* HW_COMPAT_H */