virtio-scsi: cleanup: use QOM casts.
authorKONRAD Frederic <fred.konrad@greensocs.com>
Thu, 21 Mar 2013 14:15:18 +0000 (15:15 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Mar 2013 14:26:36 +0000 (09:26 -0500)
commit0ac8e139274245320b1c56f6e9ec9318c2da963a
tree1595e0b94a0800ad5b535fafa6e68c15ee1e682a
parentc908ea1052f8c6391c2d321693220130846f703c
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>
hw/virtio-scsi.c
hw/virtio-scsi.h