static void virtio_touchscreen_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOTouchscreenPCI *dev = VIRTIO_MARU_TOUCHSCREEN_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_keyboard_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOKeyboardPCI *dev = VIRTIO_MARU_KEYBOARD_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_esm_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOESMPCI *dev = VIRTIO_MARU_ESM_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_hwkey_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOHWKeyPCI *dev = VIRTIO_MARU_HWKEY_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_tablet_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOTabletPCI *dev = VIRTIO_MARU_TABLET_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_evdi_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOEVDIPCI *dev = VIRTIO_MARU_EVDI_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_sensor_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOSENSORPCI *dev = VIRTIO_MARU_SENSOR_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_nfc_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIONFCPCI *dev = VIRTIO_MARU_NFC_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_jack_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOJACKPCI *dev = VIRTIO_MARU_JACK_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_power_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOPOWERPCI *dev = VIRTIO_MARU_POWER_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_vmodem_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIOVModemPCI *dev = VIRTIO_MARU_VMODEM_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);
static void virtio_rotary_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
{
+ object_property_set_bool(OBJECT(vpci_dev), true, "disable-modern", errp);
+
VirtIORotaryPCI *dev = VIRTIO_MARU_ROTARY_PCI(vpci_dev);
DeviceState *vdev = DEVICE(&dev->vdev);