virt_arm: acpi: reuse common build_fadt()
[qemu/ar7.git] / include / hw / compat.h
blobbc9e3a6627d6c4394c2b6d4a7e3d610030aa7403
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",\
19 #define HW_COMPAT_2_10 \
21 .driver = "virtio-mouse-device",\
22 .property = "wheel-axis",\
23 .value = "false",\
24 },{\
25 .driver = "virtio-tablet-device",\
26 .property = "wheel-axis",\
27 .value = "false",\
30 #define HW_COMPAT_2_9 \
32 .driver = "pci-bridge",\
33 .property = "shpc",\
34 .value = "off",\
35 },{\
36 .driver = "intel-iommu",\
37 .property = "pt",\
38 .value = "off",\
39 },{\
40 .driver = "virtio-net-device",\
41 .property = "x-mtu-bypass-backend",\
42 .value = "off",\
43 },{\
44 .driver = "pcie-root-port",\
45 .property = "x-migrate-msix",\
46 .value = "false",\
49 #define HW_COMPAT_2_8 \
51 .driver = "fw_cfg_mem",\
52 .property = "x-file-slots",\
53 .value = stringify(0x10),\
54 },{\
55 .driver = "fw_cfg_io",\
56 .property = "x-file-slots",\
57 .value = stringify(0x10),\
58 },{\
59 .driver = "pflash_cfi01",\
60 .property = "old-multiple-chip-handling",\
61 .value = "on",\
62 },{\
63 .driver = "pci-bridge",\
64 .property = "shpc",\
65 .value = "on",\
66 },{\
67 .driver = TYPE_PCI_DEVICE,\
68 .property = "x-pcie-extcap-init",\
69 .value = "off",\
70 },{\
71 .driver = "virtio-pci",\
72 .property = "x-pcie-deverr-init",\
73 .value = "off",\
74 },{\
75 .driver = "virtio-pci",\
76 .property = "x-pcie-lnkctl-init",\
77 .value = "off",\
78 },{\
79 .driver = "virtio-pci",\
80 .property = "x-pcie-pm-init",\
81 .value = "off",\
82 },{\
83 .driver = "cirrus-vga",\
84 .property = "vgamem_mb",\
85 .value = "8",\
86 },{\
87 .driver = "isa-cirrus-vga",\
88 .property = "vgamem_mb",\
89 .value = "8",\
92 #define HW_COMPAT_2_7 \
94 .driver = "virtio-pci",\
95 .property = "page-per-vq",\
96 .value = "on",\
97 },{\
98 .driver = "virtio-serial-device",\
99 .property = "emergency-write",\
100 .value = "off",\
101 },{\
102 .driver = "ioapic",\
103 .property = "version",\
104 .value = "0x11",\
105 },{\
106 .driver = "intel-iommu",\
107 .property = "x-buggy-eim",\
108 .value = "true",\
109 },{\
110 .driver = "virtio-pci",\
111 .property = "x-ignore-backend-features",\
112 .value = "on",\
115 #define HW_COMPAT_2_6 \
117 .driver = "virtio-mmio",\
118 .property = "format_transport_address",\
119 .value = "off",\
120 },{\
121 .driver = "virtio-pci",\
122 .property = "disable-modern",\
123 .value = "on",\
124 },{\
125 .driver = "virtio-pci",\
126 .property = "disable-legacy",\
127 .value = "off",\
130 #define HW_COMPAT_2_5 \
132 .driver = "isa-fdc",\
133 .property = "fallback",\
134 .value = "144",\
135 },{\
136 .driver = "pvscsi",\
137 .property = "x-old-pci-configuration",\
138 .value = "on",\
139 },{\
140 .driver = "pvscsi",\
141 .property = "x-disable-pcie",\
142 .value = "on",\
145 .driver = "vmxnet3",\
146 .property = "x-old-msi-offsets",\
147 .value = "on",\
148 },{\
149 .driver = "vmxnet3",\
150 .property = "x-disable-pcie",\
151 .value = "on",\
154 #define HW_COMPAT_2_4 \
156 .driver = "virtio-blk-device",\
157 .property = "scsi",\
158 .value = "true",\
159 },{\
160 .driver = "e1000",\
161 .property = "extra_mac_registers",\
162 .value = "off",\
163 },{\
164 .driver = "virtio-pci",\
165 .property = "x-disable-pcie",\
166 .value = "on",\
167 },{\
168 .driver = "virtio-pci",\
169 .property = "migrate-extra",\
170 .value = "off",\
171 },{\
172 .driver = "fw_cfg_mem",\
173 .property = "dma_enabled",\
174 .value = "off",\
175 },{\
176 .driver = "fw_cfg_io",\
177 .property = "dma_enabled",\
178 .value = "off",\
181 #define HW_COMPAT_2_3 \
183 .driver = "virtio-blk-pci",\
184 .property = "any_layout",\
185 .value = "off",\
186 },{\
187 .driver = "virtio-balloon-pci",\
188 .property = "any_layout",\
189 .value = "off",\
190 },{\
191 .driver = "virtio-serial-pci",\
192 .property = "any_layout",\
193 .value = "off",\
194 },{\
195 .driver = "virtio-9p-pci",\
196 .property = "any_layout",\
197 .value = "off",\
198 },{\
199 .driver = "virtio-rng-pci",\
200 .property = "any_layout",\
201 .value = "off",\
202 },{\
203 .driver = TYPE_PCI_DEVICE,\
204 .property = "x-pcie-lnksta-dllla",\
205 .value = "off",\
206 },{\
207 .driver = "migration",\
208 .property = "send-configuration",\
209 .value = "off",\
210 },{\
211 .driver = "migration",\
212 .property = "send-section-footer",\
213 .value = "off",\
214 },{\
215 .driver = "migration",\
216 .property = "store-global-state",\
217 .value = "off",\
220 #define HW_COMPAT_2_2 \
221 /* empty */
223 #define HW_COMPAT_2_1 \
225 .driver = "intel-hda",\
226 .property = "old_msi_addr",\
227 .value = "on",\
228 },{\
229 .driver = "VGA",\
230 .property = "qemu-extended-regs",\
231 .value = "off",\
232 },{\
233 .driver = "secondary-vga",\
234 .property = "qemu-extended-regs",\
235 .value = "off",\
236 },{\
237 .driver = "virtio-scsi-pci",\
238 .property = "any_layout",\
239 .value = "off",\
240 },{\
241 .driver = "usb-mouse",\
242 .property = "usb_version",\
243 .value = stringify(1),\
244 },{\
245 .driver = "usb-kbd",\
246 .property = "usb_version",\
247 .value = stringify(1),\
248 },{\
249 .driver = "virtio-pci",\
250 .property = "virtio-pci-bus-master-bug-migration",\
251 .value = "on",\
254 #endif /* HW_COMPAT_H */