hw: Add support for LSI SAS1068 (mptsas) device
[qemu.git] / include / hw / compat.h
1 #ifndef HW_COMPAT_H
2 #define HW_COMPAT_H
3
4 #define HW_COMPAT_2_5 \
5 {\
6 .driver = "isa-fdc",\
7 .property = "fallback",\
8 .value = "144",\
9 },{\
10 .driver = "pvscsi",\
11 .property = "x-old-pci-configuration",\
12 .value = "on",\
13 },{\
14 .driver = "pvscsi",\
15 .property = "x-disable-pcie",\
16 .value = "on",\
17 },\
18 {\
19 .driver = "vmxnet3",\
20 .property = "x-old-msi-offsets",\
21 .value = "on",\
22 },{\
23 .driver = "vmxnet3",\
24 .property = "x-disable-pcie",\
25 .value = "on",\
26 },
27
28 #define HW_COMPAT_2_4 \
29 {\
30 .driver = "virtio-blk-device",\
31 .property = "scsi",\
32 .value = "true",\
33 },{\
34 .driver = "e1000",\
35 .property = "extra_mac_registers",\
36 .value = "off",\
37 },{\
38 .driver = "virtio-pci",\
39 .property = "x-disable-pcie",\
40 .value = "on",\
41 },{\
42 .driver = "virtio-pci",\
43 .property = "migrate-extra",\
44 .value = "off",\
45 },
46
47 #define HW_COMPAT_2_3 \
48 {\
49 .driver = "virtio-blk-pci",\
50 .property = "any_layout",\
51 .value = "off",\
52 },{\
53 .driver = "virtio-balloon-pci",\
54 .property = "any_layout",\
55 .value = "off",\
56 },{\
57 .driver = "virtio-serial-pci",\
58 .property = "any_layout",\
59 .value = "off",\
60 },{\
61 .driver = "virtio-9p-pci",\
62 .property = "any_layout",\
63 .value = "off",\
64 },{\
65 .driver = "virtio-rng-pci",\
66 .property = "any_layout",\
67 .value = "off",\
68 },
69
70 #define HW_COMPAT_2_2 \
71 /* empty */
72
73 #define HW_COMPAT_2_1 \
74 {\
75 .driver = "intel-hda",\
76 .property = "old_msi_addr",\
77 .value = "on",\
78 },{\
79 .driver = "VGA",\
80 .property = "qemu-extended-regs",\
81 .value = "off",\
82 },{\
83 .driver = "secondary-vga",\
84 .property = "qemu-extended-regs",\
85 .value = "off",\
86 },{\
87 .driver = "virtio-scsi-pci",\
88 .property = "any_layout",\
89 .value = "off",\
90 },{\
91 .driver = "usb-mouse",\
92 .property = "usb_version",\
93 .value = stringify(1),\
94 },{\
95 .driver = "usb-kbd",\
96 .property = "usb_version",\
97 .value = stringify(1),\
98 },{\
99 .driver = "virtio-pci",\
100 .property = "virtio-pci-bus-master-bug-migration",\
101 .value = "on",\
102 },
103
104 #endif /* HW_COMPAT_H */