virtio-blk-pci: switch to new API.
commit653ced071b061bbd9cc7d03374be93dcefb37910
authorKONRAD Frederic <fred.konrad@greensocs.com>
Mon, 18 Mar 2013 16:37:23 +0000 (18 17:37 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 18 Mar 2013 18:08:40 +0000 (18 13:08 -0500)
treedf99e2f74dcc8b9f1f0679821fbd666539bf7544
parent1c028ddfb0c5004c8ec86c96ae09068026e77a38
virtio-blk-pci: switch to new API.

Here the virtio-blk-pci is modified for the new API. The device
virtio-blk-pci extends virtio-pci. It creates and connects a virtio-blk
during the init. The properties are not changed.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1363624648-16906-7-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-pci.c
hw/virtio-pci.h