mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
block: New change_media_cb() parameter load
To let device models distinguish between eject and load. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
ab359cd17e
commit
7d4b4ba5c2
6 changed files with 12 additions and 11 deletions
|
@ -1173,7 +1173,7 @@ static void scsi_destroy(SCSIDevice *dev)
|
|||
blockdev_mark_auto_del(s->qdev.conf.bs);
|
||||
}
|
||||
|
||||
static void scsi_cd_change_media_cb(void *opaque)
|
||||
static void scsi_cd_change_media_cb(void *opaque, bool load)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue