mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
ide: pass down DriveInfo instead of BlockDriverState
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
ddd9bbd93b
commit
f455e98cf4
19 changed files with 46 additions and 59 deletions
2
hw/r2d.c
2
hw/r2d.c
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue