compat: replace PC_COMPAT_2_12 & HW_COMPAT_2_12 macros
[qemu.git] / include / hw / compat.h
blob13242b831ae4df396414b8a54654f2af21407e3e
1 #ifndef HW_COMPAT_H
2 #define HW_COMPAT_H
4 #define HW_COMPAT_2_11 \
5 {\
6 .driver = "hpet",\
7 .property = "hpet-offset-saved",\
8 .value = "false",\
9 },{\
10 .driver = "virtio-blk-pci",\
11 .property = "vectors",\
12 .value = "2",\
13 },{\
14 .driver = "vhost-user-blk-pci",\
15 .property = "vectors",\
16 .value = "2",\
17 },{\
18 .driver = "e1000",\
19 .property = "migrate_tso_props",\
20 .value = "off",\
23 #define HW_COMPAT_2_10 \
25 .driver = "virtio-mouse-device",\
26 .property = "wheel-axis",\
27 .value = "false",\
28 },{\
29 .driver = "virtio-tablet-device",\
30 .property = "wheel-axis",\
31 .value = "false",\
34 #define HW_COMPAT_2_9 \
36 .driver = "pci-bridge",\
37 .property = "shpc",\
38 .value = "off",\
39 },{\
40 .driver = "intel-iommu",\
41 .property = "pt",\
42 .value = "off",\
43 },{\
44 .driver = "virtio-net-device",\
45 .property = "x-mtu-bypass-backend",\
46 .value = "off",\
47 },{\
48 .driver = "pcie-root-port",\
49 .property = "x-migrate-msix",\
50 .value = "false",\
53 #define HW_COMPAT_2_8 \
55 .driver = "fw_cfg_mem",\
56 .property = "x-file-slots",\
57 .value = stringify(0x10),\
58 },{\
59 .driver = "fw_cfg_io",\
60 .property = "x-file-slots",\
61 .value = stringify(0x10),\
62 },{\
63 .driver = "pflash_cfi01",\
64 .property = "old-multiple-chip-handling",\
65 .value = "on",\
66 },{\
67 .driver = "pci-bridge",\
68 .property = "shpc",\
69 .value = "on",\
70 },{\
71 .driver = TYPE_PCI_DEVICE,\
72 .property = "x-pcie-extcap-init",\
73 .value = "off",\
74 },{\
75 .driver = "virtio-pci",\
76 .property = "x-pcie-deverr-init",\
77 .value = "off",\
78 },{\
79 .driver = "virtio-pci",\
80 .property = "x-pcie-lnkctl-init",\
81 .value = "off",\
82 },{\
83 .driver = "virtio-pci",\
84 .property = "x-pcie-pm-init",\
85 .value = "off",\
86 },{\
87 .driver = "cirrus-vga",\
88 .property = "vgamem_mb",\
89 .value = "8",\
90 },{\
91 .driver = "isa-cirrus-vga",\
92 .property = "vgamem_mb",\
93 .value = "8",\
96 #define HW_COMPAT_2_7 \
98 .driver = "virtio-pci",\
99 .property = "page-per-vq",\
100 .value = "on",\
101 },{\
102 .driver = "virtio-serial-device",\
103 .property = "emergency-write",\
104 .value = "off",\
105 },{\
106 .driver = "ioapic",\
107 .property = "version",\
108 .value = "0x11",\
109 },{\
110 .driver = "intel-iommu",\
111 .property = "x-buggy-eim",\
112 .value = "true",\
113 },{\
114 .driver = "virtio-pci",\
115 .property = "x-ignore-backend-features",\
116 .value = "on",\
119 #define HW_COMPAT_2_6 \
121 .driver = "virtio-mmio",\
122 .property = "format_transport_address",\
123 .value = "off",\
124 },{\
125 .driver = "virtio-pci",\
126 .property = "disable-modern",\
127 .value = "on",\
128 },{\
129 .driver = "virtio-pci",\
130 .property = "disable-legacy",\
131 .value = "off",\
134 #define HW_COMPAT_2_5 \
136 .driver = "isa-fdc",\
137 .property = "fallback",\
138 .value = "144",\
139 },{\
140 .driver = "pvscsi",\
141 .property = "x-old-pci-configuration",\
142 .value = "on",\
143 },{\
144 .driver = "pvscsi",\
145 .property = "x-disable-pcie",\
146 .value = "on",\
149 .driver = "vmxnet3",\
150 .property = "x-old-msi-offsets",\
151 .value = "on",\
152 },{\
153 .driver = "vmxnet3",\
154 .property = "x-disable-pcie",\
155 .value = "on",\
158 #define HW_COMPAT_2_4 \
160 .driver = "virtio-blk-device",\
161 .property = "scsi",\
162 .value = "true",\
163 },{\
164 .driver = "e1000",\
165 .property = "extra_mac_registers",\
166 .value = "off",\
167 },{\
168 .driver = "virtio-pci",\
169 .property = "x-disable-pcie",\
170 .value = "on",\
171 },{\
172 .driver = "virtio-pci",\
173 .property = "migrate-extra",\
174 .value = "off",\
175 },{\
176 .driver = "fw_cfg_mem",\
177 .property = "dma_enabled",\
178 .value = "off",\
179 },{\
180 .driver = "fw_cfg_io",\
181 .property = "dma_enabled",\
182 .value = "off",\
185 #define HW_COMPAT_2_3 \
187 .driver = "virtio-blk-pci",\
188 .property = "any_layout",\
189 .value = "off",\
190 },{\
191 .driver = "virtio-balloon-pci",\
192 .property = "any_layout",\
193 .value = "off",\
194 },{\
195 .driver = "virtio-serial-pci",\
196 .property = "any_layout",\
197 .value = "off",\
198 },{\
199 .driver = "virtio-9p-pci",\
200 .property = "any_layout",\
201 .value = "off",\
202 },{\
203 .driver = "virtio-rng-pci",\
204 .property = "any_layout",\
205 .value = "off",\
206 },{\
207 .driver = TYPE_PCI_DEVICE,\
208 .property = "x-pcie-lnksta-dllla",\
209 .value = "off",\
210 },{\
211 .driver = "migration",\
212 .property = "send-configuration",\
213 .value = "off",\
214 },{\
215 .driver = "migration",\
216 .property = "send-section-footer",\
217 .value = "off",\
218 },{\
219 .driver = "migration",\
220 .property = "store-global-state",\
221 .value = "off",\
224 #define HW_COMPAT_2_2 \
225 /* empty */
227 #define HW_COMPAT_2_1 \
229 .driver = "intel-hda",\
230 .property = "old_msi_addr",\
231 .value = "on",\
232 },{\
233 .driver = "VGA",\
234 .property = "qemu-extended-regs",\
235 .value = "off",\
236 },{\
237 .driver = "secondary-vga",\
238 .property = "qemu-extended-regs",\
239 .value = "off",\
240 },{\
241 .driver = "virtio-scsi-pci",\
242 .property = "any_layout",\
243 .value = "off",\
244 },{\
245 .driver = "usb-mouse",\
246 .property = "usb_version",\
247 .value = stringify(1),\
248 },{\
249 .driver = "usb-kbd",\
250 .property = "usb_version",\
251 .value = stringify(1),\
252 },{\
253 .driver = "virtio-pci",\
254 .property = "virtio-pci-bus-master-bug-migration",\
255 .value = "on",\
258 #endif /* HW_COMPAT_H */