summaryrefslogtreecommitdiff
path: root/tizen
diff options
context:
space:
mode:
authorSeokYeon Hwang <syeon.hwang@samsung.com>2016-12-05 17:37:14 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2016-12-05 17:38:26 +0900
commit246f3e75a5b751be4eabacb8cee8f00f79b2e54a (patch)
tree619d994e4db4d6437bcd0a743f23e26e22a545dd /tizen
parentdd33f097ec5905e9527c8461a781c56871462288 (diff)
downloadqemu-246f3e75a5b751be4eabacb8cee8f00f79b2e54a.tar.gz
qemu-246f3e75a5b751be4eabacb8cee8f00f79b2e54a.tar.bz2
qemu-246f3e75a5b751be4eabacb8cee8f00f79b2e54a.zip
maru_virtio: disable modern interface for maru devices
"modern interface" is not ready for maru devices yet. Change-Id: I97e95b2d71ce7771fcaf4924f281a1673709650d Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Diffstat (limited to 'tizen')
-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);