2014-10-14 18:40:06 +02:00
|
|
|
#ifndef HW_COMPAT_H
|
|
|
|
#define HW_COMPAT_H
|
|
|
|
|
2015-09-11 22:14:25 +02:00
|
|
|
#define HW_COMPAT_2_4 \
|
2015-10-16 12:25:54 +02:00
|
|
|
{\
|
|
|
|
.driver = "virtio-blk-device",\
|
|
|
|
.property = "scsi",\
|
|
|
|
.value = "true",\
|
|
|
|
},
|
2015-09-11 22:14:25 +02:00
|
|
|
|
2015-05-14 20:53:02 +02:00
|
|
|
#define HW_COMPAT_2_3 \
|
2015-07-22 11:32:25 +02:00
|
|
|
{\
|
|
|
|
.driver = "virtio-blk-pci",\
|
|
|
|
.property = "any_layout",\
|
|
|
|
.value = "off",\
|
|
|
|
},{\
|
|
|
|
.driver = "virtio-balloon-pci",\
|
|
|
|
.property = "any_layout",\
|
|
|
|
.value = "off",\
|
|
|
|
},{\
|
|
|
|
.driver = "virtio-serial-pci",\
|
|
|
|
.property = "any_layout",\
|
|
|
|
.value = "off",\
|
|
|
|
},{\
|
|
|
|
.driver = "virtio-9p-pci",\
|
|
|
|
.property = "any_layout",\
|
|
|
|
.value = "off",\
|
|
|
|
},{\
|
|
|
|
.driver = "virtio-rng-pci",\
|
|
|
|
.property = "any_layout",\
|
|
|
|
.value = "off",\
|
|
|
|
},
|
2015-05-14 20:53:02 +02:00
|
|
|
|
|
|
|
#define HW_COMPAT_2_2 \
|
|
|
|
/* empty */
|
|
|
|
|
2014-10-14 18:40:06 +02:00
|
|
|
#define HW_COMPAT_2_1 \
|
|
|
|
{\
|
|
|
|
.driver = "intel-hda",\
|
|
|
|
.property = "old_msi_addr",\
|
|
|
|
.value = "on",\
|
|
|
|
},{\
|
|
|
|
.driver = "VGA",\
|
|
|
|
.property = "qemu-extended-regs",\
|
|
|
|
.value = "off",\
|
|
|
|
},{\
|
|
|
|
.driver = "secondary-vga",\
|
|
|
|
.property = "qemu-extended-regs",\
|
|
|
|
.value = "off",\
|
|
|
|
},{\
|
|
|
|
.driver = "virtio-scsi-pci",\
|
|
|
|
.property = "any_layout",\
|
|
|
|
.value = "off",\
|
|
|
|
},{\
|
|
|
|
.driver = "usb-mouse",\
|
|
|
|
.property = "usb_version",\
|
|
|
|
.value = stringify(1),\
|
|
|
|
},{\
|
|
|
|
.driver = "usb-kbd",\
|
|
|
|
.property = "usb_version",\
|
|
|
|
.value = stringify(1),\
|
|
|
|
},{\
|
|
|
|
.driver = "virtio-pci",\
|
|
|
|
.property = "virtio-pci-bus-master-bug-migration",\
|
|
|
|
.value = "on",\
|
2015-05-14 20:52:59 +02:00
|
|
|
},
|
2014-10-14 18:40:06 +02:00
|
|
|
|
|
|
|
#endif /* HW_COMPAT_H */
|