Michael S. Tsirkin | 68a27b2 | 2014-10-14 19:40:06 +0300 | [diff] [blame] | 1 | #ifndef HW_COMPAT_H |
| 2 | #define HW_COMPAT_H |
| 3 | |
Eduardo Habkost | 1edbde8 | 2015-05-14 15:53:02 -0300 | [diff] [blame] | 4 | #define HW_COMPAT_2_3 \ |
Michael S. Tsirkin | 09999a5 | 2015-07-22 12:32:25 +0300 | [diff] [blame] | 5 | {\ |
| 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 Habkost | 1edbde8 | 2015-05-14 15:53:02 -0300 | [diff] [blame] | 26 | |
| 27 | #define HW_COMPAT_2_2 \ |
| 28 | /* empty */ |
| 29 | |
Michael S. Tsirkin | 68a27b2 | 2014-10-14 19:40:06 +0300 | [diff] [blame] | 30 | #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 Habkost | f27086a | 2015-05-14 15:52:59 -0300 | [diff] [blame] | 59 | }, |
Michael S. Tsirkin | 68a27b2 | 2014-10-14 19:40:06 +0300 | [diff] [blame] | 60 | |
| 61 | #endif /* HW_COMPAT_H */ |