From 13daf6cad05a65970381cd8b876426d55133aadf Mon Sep 17 00:00:00 2001 From: KONRAD Frederic Date: Tue, 23 Apr 2013 11:08:43 +0200 Subject: 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 Message-id: 1366708123-19626-5-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori --- hw/9pfs/virtio-9p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/9pfs/virtio-9p.h') diff --git a/hw/9pfs/virtio-9p.h b/hw/9pfs/virtio-9p.h index e1fa5065a3..1d6eedb7d8 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; -- cgit v1.2.1