From 76017fd2ea9bbd24850deb0bf665ef65c920d7f3 Mon Sep 17 00:00:00 2001 From: KONRAD Frederic Date: Tue, 9 Apr 2013 14:53:35 +0200 Subject: virtio-serial: cleanup: use QOM casts. As the virtio-serial-pci and virtio-serial-s390 are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic Reviewed-by: Cornelia Huck Reviewed-by: Peter Maydell Tested-by: Cornelia Huck Acked-by: Amit Shah Message-id: 1365512016-21944-7-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori --- include/hw/virtio/virtio-serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/hw/virtio/virtio-serial.h') diff --git a/include/hw/virtio/virtio-serial.h b/include/hw/virtio/virtio-serial.h index fbaf65f9f1..3808bc3038 100644 --- a/include/hw/virtio/virtio-serial.h +++ b/include/hw/virtio/virtio-serial.h @@ -192,7 +192,7 @@ typedef struct VirtIOSerialPostLoad { } VirtIOSerialPostLoad; struct VirtIOSerial { - VirtIODevice vdev; + VirtIODevice parent_obj; VirtQueue *c_ivq, *c_ovq; /* Arrays of ivqs and ovqs: one per port */ -- cgit v1.2.3