monitor: Fix tracepoint crash on JSON syntax error
[qemu/armbru.git] / include / hw / compat.h
blobc08f4040bb8044d4b0d7bf7a03954e8fae4b698a
1 #ifndef HW_COMPAT_H
2 #define HW_COMPAT_H
4 #define HW_COMPAT_2_12 \
5 {\
6 .driver = "migration",\
7 .property = "decompress-error-check",\
8 .value = "off",\
9 },{\
10 .driver = "hda-audio",\
11 .property = "use-timer",\
12 .value = "false",\
13 },{\
14 .driver = "cirrus-vga",\
15 .property = "global-vmstate",\
16 .value = "true",\
17 },{\
18 .driver = "VGA",\
19 .property = "global-vmstate",\
20 .value = "true",\
21 },{\
22 .driver = "vmware-svga",\
23 .property = "global-vmstate",\
24 .value = "true",\
25 },{\
26 .driver = "qxl-vga",\
27 .property = "global-vmstate",\
28 .value = "true",\
31 #define HW_COMPAT_2_11 \
33 .driver = "hpet",\
34 .property = "hpet-offset-saved",\
35 .value = "false",\
36 },{\
37 .driver = "virtio-blk-pci",\
38 .property = "vectors",\
39 .value = "2",\
40 },{\
41 .driver = "vhost-user-blk-pci",\
42 .property = "vectors",\
43 .value = "2",\
44 },{\
45 .driver = "e1000",\
46 .property = "migrate_tso_props",\
47 .value = "off",\
50 #define HW_COMPAT_2_10 \
52 .driver = "virtio-mouse-device",\
53 .property = "wheel-axis",\
54 .value = "false",\
55 },{\
56 .driver = "virtio-tablet-device",\
57 .property = "wheel-axis",\
58 .value = "false",\
61 #define HW_COMPAT_2_9 \
63 .driver = "pci-bridge",\
64 .property = "shpc",\
65 .value = "off",\
66 },{\
67 .driver = "intel-iommu",\
68 .property = "pt",\
69 .value = "off",\
70 },{\
71 .driver = "virtio-net-device",\
72 .property = "x-mtu-bypass-backend",\
73 .value = "off",\
74 },{\
75 .driver = "pcie-root-port",\
76 .property = "x-migrate-msix",\
77 .value = "false",\
80 #define HW_COMPAT_2_8 \
82 .driver = "fw_cfg_mem",\
83 .property = "x-file-slots",\
84 .value = stringify(0x10),\
85 },{\
86 .driver = "fw_cfg_io",\
87 .property = "x-file-slots",\
88 .value = stringify(0x10),\
89 },{\
90 .driver = "pflash_cfi01",\
91 .property = "old-multiple-chip-handling",\
92 .value = "on",\
93 },{\
94 .driver = "pci-bridge",\
95 .property = "shpc",\
96 .value = "on",\
97 },{\
98 .driver = TYPE_PCI_DEVICE,\
99 .property = "x-pcie-extcap-init",\
100 .value = "off",\
101 },{\
102 .driver = "virtio-pci",\
103 .property = "x-pcie-deverr-init",\
104 .value = "off",\
105 },{\
106 .driver = "virtio-pci",\
107 .property = "x-pcie-lnkctl-init",\
108 .value = "off",\
109 },{\
110 .driver = "virtio-pci",\
111 .property = "x-pcie-pm-init",\
112 .value = "off",\
113 },{\
114 .driver = "cirrus-vga",\
115 .property = "vgamem_mb",\
116 .value = "8",\
117 },{\
118 .driver = "isa-cirrus-vga",\
119 .property = "vgamem_mb",\
120 .value = "8",\
123 #define HW_COMPAT_2_7 \
125 .driver = "virtio-pci",\
126 .property = "page-per-vq",\
127 .value = "on",\
128 },{\
129 .driver = "virtio-serial-device",\
130 .property = "emergency-write",\
131 .value = "off",\
132 },{\
133 .driver = "ioapic",\
134 .property = "version",\
135 .value = "0x11",\
136 },{\
137 .driver = "intel-iommu",\
138 .property = "x-buggy-eim",\
139 .value = "true",\
140 },{\
141 .driver = "virtio-pci",\
142 .property = "x-ignore-backend-features",\
143 .value = "on",\
146 #define HW_COMPAT_2_6 \
148 .driver = "virtio-mmio",\
149 .property = "format_transport_address",\
150 .value = "off",\
151 },{\
152 .driver = "virtio-pci",\
153 .property = "disable-modern",\
154 .value = "on",\
155 },{\
156 .driver = "virtio-pci",\
157 .property = "disable-legacy",\
158 .value = "off",\
161 #define HW_COMPAT_2_5 \
163 .driver = "isa-fdc",\
164 .property = "fallback",\
165 .value = "144",\
166 },{\
167 .driver = "pvscsi",\
168 .property = "x-old-pci-configuration",\
169 .value = "on",\
170 },{\
171 .driver = "pvscsi",\
172 .property = "x-disable-pcie",\
173 .value = "on",\
176 .driver = "vmxnet3",\
177 .property = "x-old-msi-offsets",\
178 .value = "on",\
179 },{\
180 .driver = "vmxnet3",\
181 .property = "x-disable-pcie",\
182 .value = "on",\
185 #define HW_COMPAT_2_4 \
187 .driver = "virtio-blk-device",\
188 .property = "scsi",\
189 .value = "true",\
190 },{\
191 .driver = "e1000",\
192 .property = "extra_mac_registers",\
193 .value = "off",\
194 },{\
195 .driver = "virtio-pci",\
196 .property = "x-disable-pcie",\
197 .value = "on",\
198 },{\
199 .driver = "virtio-pci",\
200 .property = "migrate-extra",\
201 .value = "off",\
202 },{\
203 .driver = "fw_cfg_mem",\
204 .property = "dma_enabled",\
205 .value = "off",\
206 },{\
207 .driver = "fw_cfg_io",\
208 .property = "dma_enabled",\
209 .value = "off",\
212 #define HW_COMPAT_2_3 \
214 .driver = "virtio-blk-pci",\
215 .property = "any_layout",\
216 .value = "off",\
217 },{\
218 .driver = "virtio-balloon-pci",\
219 .property = "any_layout",\
220 .value = "off",\
221 },{\
222 .driver = "virtio-serial-pci",\
223 .property = "any_layout",\
224 .value = "off",\
225 },{\
226 .driver = "virtio-9p-pci",\
227 .property = "any_layout",\
228 .value = "off",\
229 },{\
230 .driver = "virtio-rng-pci",\
231 .property = "any_layout",\
232 .value = "off",\
233 },{\
234 .driver = TYPE_PCI_DEVICE,\
235 .property = "x-pcie-lnksta-dllla",\
236 .value = "off",\
237 },{\
238 .driver = "migration",\
239 .property = "send-configuration",\
240 .value = "off",\
241 },{\
242 .driver = "migration",\
243 .property = "send-section-footer",\
244 .value = "off",\
245 },{\
246 .driver = "migration",\
247 .property = "store-global-state",\
248 .value = "off",\
251 #define HW_COMPAT_2_2 \
252 /* empty */
254 #define HW_COMPAT_2_1 \
256 .driver = "intel-hda",\
257 .property = "old_msi_addr",\
258 .value = "on",\
259 },{\
260 .driver = "VGA",\
261 .property = "qemu-extended-regs",\
262 .value = "off",\
263 },{\
264 .driver = "secondary-vga",\
265 .property = "qemu-extended-regs",\
266 .value = "off",\
267 },{\
268 .driver = "virtio-scsi-pci",\
269 .property = "any_layout",\
270 .value = "off",\
271 },{\
272 .driver = "usb-mouse",\
273 .property = "usb_version",\
274 .value = stringify(1),\
275 },{\
276 .driver = "usb-kbd",\
277 .property = "usb_version",\
278 .value = stringify(1),\
279 },{\
280 .driver = "virtio-pci",\
281 .property = "virtio-pci-bus-master-bug-migration",\
282 .value = "on",\
285 #endif /* HW_COMPAT_H */