aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio-scsi.h
diff options
context:
space:
mode:
authorKONRAD Frederic <fred.konrad@greensocs.com>2013-03-21 15:15:18 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-03-26 09:26:36 -0500
commit0ac8e139274245320b1c56f6e9ec9318c2da963a (patch)
tree1595e0b94a0800ad5b535fafa6e68c15ee1e682a /hw/virtio-scsi.h
parentc908ea1052f8c6391c2d321693220130846f703c (diff)
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 <fred.konrad@greensocs.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com> Message-id: 1363875320-7985-9-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-scsi.h')
-rw-r--r--hw/virtio-scsi.h2
1 files changed, 1 insertions, 1 deletions
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;