arm: Don't let no-MPU PMSA cores write to SCTLR.M
[qemu/kevin.git] / include / hw / compat.h
blob400c64b3183638b6666b4e6fcf872bb140fcb732
1 #ifndef HW_COMPAT_H
2 #define HW_COMPAT_H
4 #define HW_COMPAT_2_9 \
5 {\
6 .driver = "pci-bridge",\
7 .property = "shpc",\
8 .value = "off",\
9 },{\
10 .driver = "intel-iommu",\
11 .property = "pt",\
12 .value = "off",\
13 },{\
14 .driver = "virtio-net-device",\
15 .property = "x-mtu-bypass-backend",\
16 .value = "off",\
19 #define HW_COMPAT_2_8 \
21 .driver = "fw_cfg_mem",\
22 .property = "x-file-slots",\
23 .value = stringify(0x10),\
24 },{\
25 .driver = "fw_cfg_io",\
26 .property = "x-file-slots",\
27 .value = stringify(0x10),\
28 },{\
29 .driver = "pflash_cfi01",\
30 .property = "old-multiple-chip-handling",\
31 .value = "on",\
32 },{\
33 .driver = "pci-bridge",\
34 .property = "shpc",\
35 .value = "on",\
36 },{\
37 .driver = TYPE_PCI_DEVICE,\
38 .property = "x-pcie-extcap-init",\
39 .value = "off",\
40 },{\
41 .driver = "virtio-pci",\
42 .property = "x-pcie-deverr-init",\
43 .value = "off",\
44 },{\
45 .driver = "virtio-pci",\
46 .property = "x-pcie-lnkctl-init",\
47 .value = "off",\
48 },{\
49 .driver = "virtio-pci",\
50 .property = "x-pcie-pm-init",\
51 .value = "off",\
52 },{\
53 .driver = "cirrus-vga",\
54 .property = "vgamem_mb",\
55 .value = "8",\
56 },{\
57 .driver = "isa-cirrus-vga",\
58 .property = "vgamem_mb",\
59 .value = "8",\
62 #define HW_COMPAT_2_7 \
64 .driver = "virtio-pci",\
65 .property = "page-per-vq",\
66 .value = "on",\
67 },{\
68 .driver = "virtio-serial-device",\
69 .property = "emergency-write",\
70 .value = "off",\
71 },{\
72 .driver = "ioapic",\
73 .property = "version",\
74 .value = "0x11",\
75 },{\
76 .driver = "intel-iommu",\
77 .property = "x-buggy-eim",\
78 .value = "true",\
79 },{\
80 .driver = "virtio-pci",\
81 .property = "x-ignore-backend-features",\
82 .value = "on",\
85 #define HW_COMPAT_2_6 \
87 .driver = "virtio-mmio",\
88 .property = "format_transport_address",\
89 .value = "off",\
90 },{\
91 .driver = "virtio-pci",\
92 .property = "disable-modern",\
93 .value = "on",\
94 },{\
95 .driver = "virtio-pci",\
96 .property = "disable-legacy",\
97 .value = "off",\
100 #define HW_COMPAT_2_5 \
102 .driver = "isa-fdc",\
103 .property = "fallback",\
104 .value = "144",\
105 },{\
106 .driver = "pvscsi",\
107 .property = "x-old-pci-configuration",\
108 .value = "on",\
109 },{\
110 .driver = "pvscsi",\
111 .property = "x-disable-pcie",\
112 .value = "on",\
115 .driver = "vmxnet3",\
116 .property = "x-old-msi-offsets",\
117 .value = "on",\
118 },{\
119 .driver = "vmxnet3",\
120 .property = "x-disable-pcie",\
121 .value = "on",\
124 #define HW_COMPAT_2_4 \
126 .driver = "virtio-blk-device",\
127 .property = "scsi",\
128 .value = "true",\
129 },{\
130 .driver = "e1000",\
131 .property = "extra_mac_registers",\
132 .value = "off",\
133 },{\
134 .driver = "virtio-pci",\
135 .property = "x-disable-pcie",\
136 .value = "on",\
137 },{\
138 .driver = "virtio-pci",\
139 .property = "migrate-extra",\
140 .value = "off",\
141 },{\
142 .driver = "fw_cfg_mem",\
143 .property = "dma_enabled",\
144 .value = "off",\
145 },{\
146 .driver = "fw_cfg_io",\
147 .property = "dma_enabled",\
148 .value = "off",\
149 },{\
150 .driver = "vmgenid",\
151 .property = "x-write-pointer-available",\
152 .value = "off",\
155 #define HW_COMPAT_2_3 \
157 .driver = "virtio-blk-pci",\
158 .property = "any_layout",\
159 .value = "off",\
160 },{\
161 .driver = "virtio-balloon-pci",\
162 .property = "any_layout",\
163 .value = "off",\
164 },{\
165 .driver = "virtio-serial-pci",\
166 .property = "any_layout",\
167 .value = "off",\
168 },{\
169 .driver = "virtio-9p-pci",\
170 .property = "any_layout",\
171 .value = "off",\
172 },{\
173 .driver = "virtio-rng-pci",\
174 .property = "any_layout",\
175 .value = "off",\
176 },{\
177 .driver = TYPE_PCI_DEVICE,\
178 .property = "x-pcie-lnksta-dllla",\
179 .value = "off",\
182 #define HW_COMPAT_2_2 \
183 /* empty */
185 #define HW_COMPAT_2_1 \
187 .driver = "intel-hda",\
188 .property = "old_msi_addr",\
189 .value = "on",\
190 },{\
191 .driver = "VGA",\
192 .property = "qemu-extended-regs",\
193 .value = "off",\
194 },{\
195 .driver = "secondary-vga",\
196 .property = "qemu-extended-regs",\
197 .value = "off",\
198 },{\
199 .driver = "virtio-scsi-pci",\
200 .property = "any_layout",\
201 .value = "off",\
202 },{\
203 .driver = "usb-mouse",\
204 .property = "usb_version",\
205 .value = stringify(1),\
206 },{\
207 .driver = "usb-kbd",\
208 .property = "usb_version",\
209 .value = stringify(1),\
210 },{\
211 .driver = "virtio-pci",\
212 .property = "virtio-pci-bus-master-bug-migration",\
213 .value = "on",\
216 #endif /* HW_COMPAT_H */