summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tizen/src/hw/virtio/maru_virtio_pci.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/tizen/src/hw/virtio/maru_virtio_pci.c b/tizen/src/hw/virtio/maru_virtio_pci.c
index 4cd5c86169..9202b9ded9 100644
--- a/tizen/src/hw/virtio/maru_virtio_pci.c
+++ b/tizen/src/hw/virtio/maru_virtio_pci.c
@@ -202,6 +202,8 @@ static Property virtio_touchscreen_pci_properties[] = {
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);
@@ -244,6 +246,8 @@ static TypeInfo virtio_touchscreen_pci_info = {
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);
@@ -282,6 +286,8 @@ static TypeInfo virtio_keyboard_pci_info = {
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);
@@ -320,6 +326,8 @@ static TypeInfo virtio_esm_pci_info = {
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);
@@ -358,6 +366,8 @@ static TypeInfo virtio_hwkey_pci_info = {
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);
@@ -400,6 +410,8 @@ static Property virtio_evdi_pci_properties[] = {
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);
@@ -444,6 +456,8 @@ static Property virtio_sensor_pci_properties[] = {
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);
@@ -484,6 +498,8 @@ static TypeInfo virtio_sensor_pci_info = {
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);
@@ -526,6 +542,8 @@ static Property virtio_jack_pci_properties[] = {
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);
@@ -566,6 +584,8 @@ static TypeInfo virtio_jack_pci_info = {
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);
@@ -604,6 +624,8 @@ static TypeInfo virtio_power_pci_info = {
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);
@@ -642,6 +664,8 @@ static TypeInfo virtio_vmodem_pci_info = {
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);