2014-10-14 20:40:06 +04:00
|
|
|
#ifndef HW_COMPAT_H
|
|
|
|
#define HW_COMPAT_H
|
|
|
|
|
2016-04-25 11:37:23 +03:00
|
|
|
#define HW_COMPAT_2_6 \
|
|
|
|
/* empty */
|
|
|
|
|
2015-11-30 17:56:36 +03:00
|
|
|
#define HW_COMPAT_2_5 \
|
2015-12-23 22:55:58 +03:00
|
|
|
{\
|
2016-01-22 23:51:05 +03:00
|
|
|
.driver = "isa-fdc",\
|
|
|
|
.property = "fallback",\
|
|
|
|
.value = "144",\
|
|
|
|
},{\
|
2015-12-23 22:55:58 +03:00
|
|
|
.driver = "pvscsi",\
|
|
|
|
.property = "x-old-pci-configuration",\
|
|
|
|
.value = "on",\
|
|
|
|
},{\
|
|
|
|
.driver = "pvscsi",\
|
|
|
|
.property = "x-disable-pcie",\
|
|
|
|
.value = "on",\
|
|
|
|
},\
|
2015-12-24 10:17:37 +03:00
|
|
|
{\
|
|
|
|
.driver = "vmxnet3",\
|
|
|
|
.property = "x-old-msi-offsets",\
|
|
|
|
.value = "on",\
|
2015-12-24 10:17:40 +03:00
|
|
|
},{\
|
|
|
|
.driver = "vmxnet3",\
|
|
|
|
.property = "x-disable-pcie",\
|
|
|
|
.value = "on",\
|
2015-12-24 10:17:37 +03:00
|
|
|
},
|
2015-11-30 17:56:36 +03:00
|
|
|
|
2015-09-11 23:14:25 +03:00
|
|
|
#define HW_COMPAT_2_4 \
|
2015-11-30 17:56:38 +03:00
|
|
|
{\
|
|
|
|
.driver = "virtio-blk-device",\
|
|
|
|
.property = "scsi",\
|
|
|
|
.value = "true",\
|
|
|
|
},{\
|
|
|
|
.driver = "e1000",\
|
|
|
|
.property = "extra_mac_registers",\
|
|
|
|
.value = "off",\
|
|
|
|
},{\
|
|
|
|
.driver = "virtio-pci",\
|
|
|
|
.property = "x-disable-pcie",\
|
|
|
|
.value = "on",\
|
|
|
|
},{\
|
|
|
|
.driver = "virtio-pci",\
|
|
|
|
.property = "migrate-extra",\
|
|
|
|
.value = "off",\
|
2016-02-18 22:31:00 +03:00
|
|
|
},{\
|
|
|
|
.driver = "fw_cfg_mem",\
|
|
|
|
.property = "dma_enabled",\
|
|
|
|
.value = "off",\
|
|
|
|
},{\
|
|
|
|
.driver = "fw_cfg_io",\
|
|
|
|
.property = "dma_enabled",\
|
|
|
|
.value = "off",\
|
2015-11-30 17:56:38 +03:00
|
|
|
},
|
2015-09-11 23:14:25 +03:00
|
|
|
|
2015-05-14 21:53:02 +03:00
|
|
|
#define HW_COMPAT_2_3 \
|
2015-11-30 17:56:38 +03: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 21:53:02 +03:00
|
|
|
|
|
|
|
#define HW_COMPAT_2_2 \
|
2015-11-30 17:56:38 +03:00
|
|
|
/* empty */
|
2015-05-14 21:53:02 +03:00
|
|
|
|
2014-10-14 20:40:06 +04:00
|
|
|
#define HW_COMPAT_2_1 \
|
2015-11-30 17:56:38 +03:00
|
|
|
{\
|
|
|
|
.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",\
|
|
|
|
},
|
2014-10-14 20:40:06 +04:00
|
|
|
|
|
|
|
#endif /* HW_COMPAT_H */
|