From 0ac8e139274245320b1c56f6e9ec9318c2da963a Mon Sep 17 00:00:00 2001 From: KONRAD Frederic Date: Thu, 21 Mar 2013 15:15:18 +0100 Subject: virtio-scsi: cleanup: use QOM casts. As the virtio-scsi-pci and virtio-scsi-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 Message-id: 1363875320-7985-9-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori --- hw/virtio-scsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/virtio-scsi.h') diff --git a/hw/virtio-scsi.h b/hw/virtio-scsi.h index 758c29bafa..fe2c7d6337 100644 --- a/hw/virtio-scsi.h +++ b/hw/virtio-scsi.h @@ -38,7 +38,7 @@ struct VirtIOSCSIConf { }; typedef struct VirtIOSCSI { - VirtIODevice vdev; + VirtIODevice parent_obj; DeviceState *qdev; VirtIOSCSIConf conf; -- cgit v1.2.3