mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06: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
|
@ -57,7 +57,7 @@ static void tosa_microdrive_attach(PXA2xxState *cpu)
|
|||
return;
|
||||
bs = dinfo->bdrv;
|
||||
if (bdrv_is_inserted(bs) && !bdrv_is_removable(bs)) {
|
||||
md = dscm1xxxx_init(bs);
|
||||
md = dscm1xxxx_init(dinfo);
|
||||
pxa2xx_pcmcia_attach(cpu->pcmcia[0], md);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue