diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2013-04-11 16:30:01 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-17 10:28:59 -0500 |
commit | 17a0ca55657114c055cb407291c1163e09b29973 (patch) | |
tree | ed78bb49f09eb301d90fd29824ff5451f7e5be1e /include/hw | |
parent | 89334c8b6baebb1e84cd9bb6e796683e53391769 (diff) | |
download | qemu-17a0ca55657114c055cb407291c1163e09b29973.zip |
virtio-net: cleanup: use QOM cast.
As the virtio-net-pci and virtio-net-s390 are switched to the new API,
we can use QOM casts.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-id: 1365690602-22729-7-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/virtio/virtio-net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h index 9fbb506705..ce4ab50f67 100644 --- a/include/hw/virtio/virtio-net.h +++ b/include/hw/virtio/virtio-net.h @@ -153,7 +153,7 @@ typedef struct VirtIONetQueue { } VirtIONetQueue; typedef struct VirtIONet { - VirtIODevice vdev; + VirtIODevice parent_obj; uint8_t mac[ETH_ALEN]; uint16_t status; VirtIONetQueue *vqs; |