diff options
Diffstat (limited to 'hw/s390x/s390-virtio-bus.h')
-rw-r--r-- | hw/s390x/s390-virtio-bus.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/hw/s390x/s390-virtio-bus.h b/hw/s390x/s390-virtio-bus.h index c557132166..1daf753884 100644 --- a/hw/s390x/s390-virtio-bus.h +++ b/hw/s390x/s390-virtio-bus.h @@ -91,7 +91,6 @@ struct VirtIOS390Device { VirtIODevice *vdev; NICConf nic; uint32_t host_features; - virtio_serial_conf serial; virtio_net_conf net; VirtIORNGConf rng; VirtioBusState bus; @@ -141,4 +140,15 @@ typedef struct VirtIOSCSIS390 { VirtIOSCSI vdev; } VirtIOSCSIS390; +/* virtio-serial-s390 */ + +#define TYPE_VIRTIO_SERIAL_S390 "virtio-serial-s390" +#define VIRTIO_SERIAL_S390(obj) \ + OBJECT_CHECK(VirtIOSerialS390, (obj), TYPE_VIRTIO_SERIAL_S390) + +typedef struct VirtIOSerialS390 { + VirtIOS390Device parent_obj; + VirtIOSerial vdev; +} VirtIOSerialS390; + #endif |