aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs/virtio-9p.h
diff options
context:
space:
mode:
authorKONRAD Frederic <fred.konrad@greensocs.com>2013-04-23 11:08:43 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-23 10:37:49 -0500
commit13daf6cad05a65970381cd8b876426d55133aadf (patch)
tree4ba75a8b4f2f3ca8393565c262de96d759fc94f4 /hw/9pfs/virtio-9p.h
parente8111e50557761b0d86cd5c90fe7a272aeddd7a3 (diff)
downloadqemu-13daf6cad05a65970381cd8b876426d55133aadf.zip
qemu-13daf6cad05a65970381cd8b876426d55133aadf.tar.gz
qemu-13daf6cad05a65970381cd8b876426d55133aadf.tar.bz2
virtio-9p: cleanup: QOM casts.
As the virtio-9p-pci is switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Message-id: 1366708123-19626-5-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/9pfs/virtio-9p.h')
-rw-r--r--hw/9pfs/virtio-9p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/9pfs/virtio-9p.h b/hw/9pfs/virtio-9p.h
index e1fa506..1d6eedb 100644
--- a/hw/9pfs/virtio-9p.h
+++ b/hw/9pfs/virtio-9p.h
@@ -205,7 +205,7 @@ struct V9fsFidState
typedef struct V9fsState
{
- VirtIODevice vdev;
+ VirtIODevice parent_obj;
VirtQueue *vq;
V9fsPDU pdus[MAX_REQ];
QLIST_HEAD(, V9fsPDU) free_list;