diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:08 +0100 |
commit | 07e3af9ac31008a1d7eaaf44d62a13545f01c579 (patch) | |
tree | 743195c13b89452175bcd145c378b613a8330d8a /hw/ppce500_mpc8544ds.c | |
parent | b4496b13bb51884681656c3470ba778c7e888c2b (diff) |
Virtio-blk qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/ppce500_mpc8544ds.c')
-rw-r--r-- | hw/ppce500_mpc8544ds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c index 94a83d7179..a5de61ce5f 100644 --- a/hw/ppce500_mpc8544ds.c +++ b/hw/ppce500_mpc8544ds.c @@ -22,7 +22,6 @@ #include "hw.h" #include "pc.h" #include "pci.h" -#include "virtio-blk.h" #include "boards.h" #include "sysemu.h" #include "kvm.h" @@ -221,7 +220,7 @@ static void mpc8544ds_init(ram_addr_t ram_size, /* Add virtio block devices. */ while ((i = drive_get_index(IF_VIRTIO, 0, unit_id)) != -1) { - virtio_blk_init(pci_bus, drives_table[i].bdrv); + pci_create_simple(pci_bus, -1, "virtio-blk"); unit_id++; } |