diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2013-03-18 17:37:27 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-18 13:08:41 -0500 |
commit | 1cc91b7df687289abc0ae09083ac564d01408be8 (patch) | |
tree | 30e37ed69c8c943028f53b90cf72c1c1b2b58dec /hw/virtio-blk.h | |
parent | 05ff686536f408ba6e8426b1b54d25bd3379fda2 (diff) |
virtio-blk: cleanup: QOM cast
Use QOM casts inside virtio-blk.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1363624648-16906-11-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-blk.h')
-rw-r--r-- | hw/virtio-blk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-blk.h b/hw/virtio-blk.h index a040c016d9..51ac0101d0 100644 --- a/hw/virtio-blk.h +++ b/hw/virtio-blk.h @@ -116,7 +116,7 @@ struct VirtIOBlkConf }; typedef struct VirtIOBlock { - VirtIODevice vdev; + VirtIODevice parent_obj; BlockDriverState *bs; VirtQueue *vq; void *rq; |