]> Git Repo - qemu.git/blame - include/hw/compat.h
virtio-blk: enable multiple vectors when using multiple I/O queues
[qemu.git] / include / hw / compat.h
CommitLineData
68a27b20
MT
1#ifndef HW_COMPAT_H
2#define HW_COMPAT_H
3
67ee0cef 4#define HW_COMPAT_2_11 \
829600a5
PD
5 {\
6 .driver = "hpet",\
7 .property = "hpet-offset-saved",\
8 .value = "false",\
0ebf9a74
CL
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",\
829600a5 17 },
67ee0cef 18
70d8d9a0 19#define HW_COMPAT_2_10 \
f4924974
GH
20 {\
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",\
28 },
70d8d9a0 29
10890873 30#define HW_COMPAT_2_9 \
2fa35662
MA
31 {\
32 .driver = "pci-bridge",\
33 .property = "shpc",\
34 .value = "off",\
c10595fb
PX
35 },{\
36 .driver = "intel-iommu",\
37 .property = "pt",\
38 .value = "off",\
75ebec11
MC
39 },{\
40 .driver = "virtio-net-device",\
41 .property = "x-mtu-bypass-backend",\
42 .value = "off",\
bc277a52
MA
43 },{\
44 .driver = "pcie-root-port",\
45 .property = "x-migrate-msix",\
46 .value = "false",\
2fa35662 47 },
10890873 48
e353aac5 49#define HW_COMPAT_2_8 \
a5b3ebfd
LE
50 {\
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),\
feb0b1aa
PM
58 },{\
59 .driver = "pflash_cfi01",\
60 .property = "old-multiple-chip-handling",\
61 .value = "on",\
dc0ae767
MA
62 },{\
63 .driver = "pci-bridge",\
64 .property = "shpc",\
65 .value = "on",\
f03d8ea3
MA
66 },{\
67 .driver = TYPE_PCI_DEVICE,\
68 .property = "x-pcie-extcap-init",\
69 .value = "off",\
c2cabb34
MA
70 },{\
71 .driver = "virtio-pci",\
72 .property = "x-pcie-deverr-init",\
73 .value = "off",\
d584f1b9
MA
74 },{\
75 .driver = "virtio-pci",\
76 .property = "x-pcie-lnkctl-init",\
77 .value = "off",\
27ce0f3a
MA
78 },{\
79 .driver = "virtio-pci",\
80 .property = "x-pcie-pm-init",\
81 .value = "off",\
73c14813
GH
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",\
a5b3ebfd 90 },
e353aac5 91
61823988 92#define HW_COMPAT_2_7 \
d9997d89
MA
93 {\
94 .driver = "virtio-pci",\
95 .property = "page-per-vq",\
96 .value = "on",\
a06b1dae
SS
97 },{\
98 .driver = "virtio-serial-device",\
99 .property = "emergency-write",\
100 .value = "off",\
048a2e88
PX
101 },{\
102 .driver = "ioapic",\
103 .property = "version",\
104 .value = "0x11",\
fb506e70
RK
105 },{\
106 .driver = "intel-iommu",\
107 .property = "x-buggy-eim",\
108 .value = "true",\
66d1c4c1
MC
109 },{\
110 .driver = "virtio-pci",\
111 .property = "x-ignore-backend-features",\
112 .value = "on",\
d9997d89 113 },
61823988 114
946e55f3 115#define HW_COMPAT_2_6 \
f58b39d2
LE
116 {\
117 .driver = "virtio-mmio",\
118 .property = "format_transport_address",\
119 .value = "off",\
9a4c0e22
MA
120 },{\
121 .driver = "virtio-pci",\
122 .property = "disable-modern",\
123 .value = "on",\
124 },{\
125 .driver = "virtio-pci",\
126 .property = "disable-legacy",\
127 .value = "off",\
f58b39d2 128 },
946e55f3 129
240240d5 130#define HW_COMPAT_2_5 \
fca10318 131 {\
4812fa27
JS
132 .driver = "isa-fdc",\
133 .property = "fallback",\
134 .value = "144",\
135 },{\
fca10318
SL
136 .driver = "pvscsi",\
137 .property = "x-old-pci-configuration",\
138 .value = "on",\
139 },{\
140 .driver = "pvscsi",\
141 .property = "x-disable-pcie",\
142 .value = "on",\
143 },\
b22e0aef
SL
144 {\
145 .driver = "vmxnet3",\
146 .property = "x-old-msi-offsets",\
147 .value = "on",\
7d6d347d
SL
148 },{\
149 .driver = "vmxnet3",\
150 .property = "x-disable-pcie",\
151 .value = "on",\
b22e0aef 152 },
240240d5 153
87e896ab 154#define HW_COMPAT_2_4 \
c9c0afbb
EH
155 {\
156 .driver = "virtio-blk-device",\
157 .property = "scsi",\
158 .value = "true",\
c9c0afbb
EH
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",\
e6915b5f
LE
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",\
c9c0afbb 179 },
87e896ab 180
1edbde82 181#define HW_COMPAT_2_3 \
c9c0afbb
EH
182 {\
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",\
6b449540
MT
202 },{\
203 .driver = TYPE_PCI_DEVICE,\
204 .property = "x-pcie-lnksta-dllla",\
205 .value = "off",\
71dd4c1a
PX
206 },{\
207 .driver = "migration",\
208 .property = "send-configuration",\
209 .value = "off",\
15c38503
PX
210 },{\
211 .driver = "migration",\
212 .property = "send-section-footer",\
213 .value = "off",\
5272298c
PX
214 },{\
215 .driver = "migration",\
216 .property = "store-global-state",\
217 .value = "off",\
c9c0afbb 218 },
1edbde82
EH
219
220#define HW_COMPAT_2_2 \
c9c0afbb 221 /* empty */
1edbde82 222
68a27b20 223#define HW_COMPAT_2_1 \
c9c0afbb
EH
224 {\
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",\
252 },
68a27b20
MT
253
254#endif /* HW_COMPAT_H */
This page took 0.199465 seconds and 4 git commands to generate.