summaryrefslogtreecommitdiff
path: root/hw/virtio-balloon.h
diff options
context:
space:
mode:
authorKONRAD Frederic <fred.konrad@greensocs.com>2013-03-27 10:49:14 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-03-28 12:57:41 -0500
commitc96caced3ffd9e5a078f3f5b5d373a40faf7dc3a (patch)
tree39b5a7994a438cc4ed63181ddfc0f5c0e1643f83 /hw/virtio-balloon.h
parent5c7d0962f60498c3f11d402e1c857cb9d5d8568d (diff)
downloadqemu-c96caced3ffd9e5a078f3f5b5d373a40faf7dc3a.tar.gz
virtio-balloon: cleanup: QOM casts.
As the virtio-balloon-pci is 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: 1364377755-15508-6-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-balloon.h')
-rw-r--r--hw/virtio-balloon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-balloon.h b/hw/virtio-balloon.h
index 139eac309e..5f8fe021d0 100644
--- a/hw/virtio-balloon.h
+++ b/hw/virtio-balloon.h
@@ -57,7 +57,7 @@ typedef struct VirtIOBalloonStat {
} QEMU_PACKED VirtIOBalloonStat;
typedef struct VirtIOBalloon {
- VirtIODevice vdev;
+ VirtIODevice parent_obj;
VirtQueue *ivq, *dvq, *svq;
uint32_t num_pages;
uint32_t actual;