mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -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
|
@ -555,7 +555,7 @@ static int dscm1xxxx_detach(void *opaque)
|
|||
return 0;
|
||||
}
|
||||
|
||||
PCMCIACardState *dscm1xxxx_init(BlockDriverState *bdrv)
|
||||
PCMCIACardState *dscm1xxxx_init(DriveInfo *bdrv)
|
||||
{
|
||||
MicroDriveState *md = (MicroDriveState *) qemu_mallocz(sizeof(MicroDriveState));
|
||||
md->card.state = md;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue