diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-08-28 15:47:03 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-04 09:37:27 -0500 |
commit | f455e98cf437c7bb8f2b23888bbd302fef3a3b28 (patch) | |
tree | 453978b84f1054ecbfd4c0c18ebc05f8d89474d0 /hw/r2d.c | |
parent | ddd9bbd93bb2c12ade72dff1790d6d292aac073f (diff) | |
download | qemu-f455e98cf437c7bb8f2b23888bbd302fef3a3b28.zip qemu-f455e98cf437c7bb8f2b23888bbd302fef3a3b28.tar.gz qemu-f455e98cf437c7bb8f2b23888bbd302fef3a3b28.tar.bz2 |
ide: pass down DriveInfo instead of BlockDriverState
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/r2d.c')
-rw-r--r-- | hw/r2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -231,7 +231,7 @@ static void r2d_init(ram_addr_t ram_size, /* onboard CF (True IDE mode, Master only). */ if ((dinfo = drive_get(IF_IDE, 0, 0)) != NULL) mmio_ide_init(0x14001000, 0x1400080c, irq[CF_IDE], 1, - dinfo->bdrv, NULL); + dinfo, NULL); /* NIC: rtl8139 on-board, and 2 slots. */ for (i = 0; i < nb_nics; i++) |