diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2013-03-27 10:49:14 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-28 12:57:41 -0500 |
commit | c96caced3ffd9e5a078f3f5b5d373a40faf7dc3a (patch) | |
tree | 39b5a7994a438cc4ed63181ddfc0f5c0e1643f83 /hw/virtio-balloon.h | |
parent | 5c7d0962f60498c3f11d402e1c857cb9d5d8568d (diff) |
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.h | 2 |
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; |