Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2017-01-27' into staging
[qemu/ar7.git] / include / hw / compat.h
blob34e9b4a660d0d926e9e8802637acc010443f269a
1 #ifndef HW_COMPAT_H
2 #define HW_COMPAT_H
4 #define HW_COMPAT_2_8 \
5 {\
6 .driver = "fw_cfg_mem",\
7 .property = "x-file-slots",\
8 .value = stringify(0x10),\
9 },{\
10 .driver = "fw_cfg_io",\
11 .property = "x-file-slots",\
12 .value = stringify(0x10),\
15 #define HW_COMPAT_2_7 \
17 .driver = "virtio-pci",\
18 .property = "page-per-vq",\
19 .value = "on",\
20 },{\
21 .driver = "virtio-serial-device",\
22 .property = "emergency-write",\
23 .value = "off",\
24 },{\
25 .driver = "ioapic",\
26 .property = "version",\
27 .value = "0x11",\
28 },{\
29 .driver = "intel-iommu",\
30 .property = "x-buggy-eim",\
31 .value = "true",\
32 },{\
33 .driver = "virtio-pci",\
34 .property = "x-ignore-backend-features",\
35 .value = "on",\
38 #define HW_COMPAT_2_6 \
40 .driver = "virtio-mmio",\
41 .property = "format_transport_address",\
42 .value = "off",\
43 },{\
44 .driver = "virtio-pci",\
45 .property = "disable-modern",\
46 .value = "on",\
47 },{\
48 .driver = "virtio-pci",\
49 .property = "disable-legacy",\
50 .value = "off",\
53 #define HW_COMPAT_2_5 \
55 .driver = "isa-fdc",\
56 .property = "fallback",\
57 .value = "144",\
58 },{\
59 .driver = "pvscsi",\
60 .property = "x-old-pci-configuration",\
61 .value = "on",\
62 },{\
63 .driver = "pvscsi",\
64 .property = "x-disable-pcie",\
65 .value = "on",\
66 },\
68 .driver = "vmxnet3",\
69 .property = "x-old-msi-offsets",\
70 .value = "on",\
71 },{\
72 .driver = "vmxnet3",\
73 .property = "x-disable-pcie",\
74 .value = "on",\
77 #define HW_COMPAT_2_4 \
79 .driver = "virtio-blk-device",\
80 .property = "scsi",\
81 .value = "true",\
82 },{\
83 .driver = "e1000",\
84 .property = "extra_mac_registers",\
85 .value = "off",\
86 },{\
87 .driver = "virtio-pci",\
88 .property = "x-disable-pcie",\
89 .value = "on",\
90 },{\
91 .driver = "virtio-pci",\
92 .property = "migrate-extra",\
93 .value = "off",\
94 },{\
95 .driver = "fw_cfg_mem",\
96 .property = "dma_enabled",\
97 .value = "off",\
98 },{\
99 .driver = "fw_cfg_io",\
100 .property = "dma_enabled",\
101 .value = "off",\
104 #define HW_COMPAT_2_3 \
106 .driver = "virtio-blk-pci",\
107 .property = "any_layout",\
108 .value = "off",\
109 },{\
110 .driver = "virtio-balloon-pci",\
111 .property = "any_layout",\
112 .value = "off",\
113 },{\
114 .driver = "virtio-serial-pci",\
115 .property = "any_layout",\
116 .value = "off",\
117 },{\
118 .driver = "virtio-9p-pci",\
119 .property = "any_layout",\
120 .value = "off",\
121 },{\
122 .driver = "virtio-rng-pci",\
123 .property = "any_layout",\
124 .value = "off",\
125 },{\
126 .driver = TYPE_PCI_DEVICE,\
127 .property = "x-pcie-lnksta-dllla",\
128 .value = "off",\
131 #define HW_COMPAT_2_2 \
132 /* empty */
134 #define HW_COMPAT_2_1 \
136 .driver = "intel-hda",\
137 .property = "old_msi_addr",\
138 .value = "on",\
139 },{\
140 .driver = "VGA",\
141 .property = "qemu-extended-regs",\
142 .value = "off",\
143 },{\
144 .driver = "secondary-vga",\
145 .property = "qemu-extended-regs",\
146 .value = "off",\
147 },{\
148 .driver = "virtio-scsi-pci",\
149 .property = "any_layout",\
150 .value = "off",\
151 },{\
152 .driver = "usb-mouse",\
153 .property = "usb_version",\
154 .value = stringify(1),\
155 },{\
156 .driver = "usb-kbd",\
157 .property = "usb_version",\
158 .value = stringify(1),\
159 },{\
160 .driver = "virtio-pci",\
161 .property = "virtio-pci-bus-master-bug-migration",\
162 .value = "on",\
165 #endif /* HW_COMPAT_H */