blob: 94c8097d0c2cb45c874a5ed97210e46515ff0cac [file] [log] [blame]
Michael S. Tsirkin68a27b22014-10-14 19:40:06 +03001#ifndef HW_COMPAT_H
2#define HW_COMPAT_H
3
Eduardo Habkost1edbde82015-05-14 15:53:02 -03004#define HW_COMPAT_2_3 \
Michael S. Tsirkin09999a52015-07-22 12:32:25 +03005 {\
6 .driver = "virtio-blk-pci",\
7 .property = "any_layout",\
8 .value = "off",\
9 },{\
10 .driver = "virtio-balloon-pci",\
11 .property = "any_layout",\
12 .value = "off",\
13 },{\
14 .driver = "virtio-serial-pci",\
15 .property = "any_layout",\
16 .value = "off",\
17 },{\
18 .driver = "virtio-9p-pci",\
19 .property = "any_layout",\
20 .value = "off",\
21 },{\
22 .driver = "virtio-rng-pci",\
23 .property = "any_layout",\
24 .value = "off",\
25 },
Eduardo Habkost1edbde82015-05-14 15:53:02 -030026
27#define HW_COMPAT_2_2 \
28 /* empty */
29
Michael S. Tsirkin68a27b22014-10-14 19:40:06 +030030#define HW_COMPAT_2_1 \
31 {\
32 .driver = "intel-hda",\
33 .property = "old_msi_addr",\
34 .value = "on",\
35 },{\
36 .driver = "VGA",\
37 .property = "qemu-extended-regs",\
38 .value = "off",\
39 },{\
40 .driver = "secondary-vga",\
41 .property = "qemu-extended-regs",\
42 .value = "off",\
43 },{\
44 .driver = "virtio-scsi-pci",\
45 .property = "any_layout",\
46 .value = "off",\
47 },{\
48 .driver = "usb-mouse",\
49 .property = "usb_version",\
50 .value = stringify(1),\
51 },{\
52 .driver = "usb-kbd",\
53 .property = "usb_version",\
54 .value = stringify(1),\
55 },{\
56 .driver = "virtio-pci",\
57 .property = "virtio-pci-bus-master-bug-migration",\
58 .value = "on",\
Eduardo Habkostf27086a2015-05-14 15:52:59 -030059 },
Michael S. Tsirkin68a27b22014-10-14 19:40:06 +030060
61#endif /* HW_COMPAT_H */