4 #define HW_COMPAT_2_7 \
6 .driver = "virtio-pci",\
7 .property = "page-per-vq",\
10 .driver = "virtio-serial-device",\
11 .property = "emergency-write",\
15 .property = "version",\
19 #define HW_COMPAT_2_6 \
21 .driver = "virtio-mmio",\
22 .property = "format_transport_address",\
25 .driver = "virtio-pci",\
26 .property = "disable-modern",\
29 .driver = "virtio-pci",\
30 .property = "disable-legacy",\
34 #define HW_COMPAT_2_5 \
37 .property = "fallback",\
41 .property = "x-old-pci-configuration",\
45 .property = "x-disable-pcie",\
50 .property = "x-old-msi-offsets",\
54 .property = "x-disable-pcie",\
58 #define HW_COMPAT_2_4 \
60 .driver = "virtio-blk-device",\
65 .property = "extra_mac_registers",\
68 .driver = "virtio-pci",\
69 .property = "x-disable-pcie",\
72 .driver = "virtio-pci",\
73 .property = "migrate-extra",\
76 .driver = "fw_cfg_mem",\
77 .property = "dma_enabled",\
80 .driver = "fw_cfg_io",\
81 .property = "dma_enabled",\
85 #define HW_COMPAT_2_3 \
87 .driver = "virtio-blk-pci",\
88 .property = "any_layout",\
91 .driver = "virtio-balloon-pci",\
92 .property = "any_layout",\
95 .driver = "virtio-serial-pci",\
96 .property = "any_layout",\
99 .driver = "virtio-9p-pci",\
100 .property = "any_layout",\
103 .driver = "virtio-rng-pci",\
104 .property = "any_layout",\
107 .driver = TYPE_PCI_DEVICE,\
108 .property = "x-pcie-lnksta-dllla",\
112 #define HW_COMPAT_2_2 \
115 #define HW_COMPAT_2_1 \
117 .driver = "intel-hda",\
118 .property = "old_msi_addr",\
122 .property = "qemu-extended-regs",\
125 .driver = "secondary-vga",\
126 .property = "qemu-extended-regs",\
129 .driver = "virtio-scsi-pci",\
130 .property = "any_layout",\
133 .driver = "usb-mouse",\
134 .property = "usb_version",\
135 .value = stringify(1),\
137 .driver = "usb-kbd",\
138 .property = "usb_version",\
139 .value = stringify(1),\
141 .driver = "virtio-pci",\
142 .property = "virtio-pci-bus-master-bug-migration",\
146 #endif /* HW_COMPAT_H */