mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
05ff686536
commit
1cc91b7df6
2 changed files with 15 additions and 20 deletions
|
@ -116,7 +116,7 @@ struct VirtIOBlkConf
|
|||
};
|
||||
|
||||
typedef struct VirtIOBlock {
|
||||
VirtIODevice vdev;
|
||||
VirtIODevice parent_obj;
|
||||
BlockDriverState *bs;
|
||||
VirtQueue *vq;
|
||||
void *rq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue