diff options
author | Markus Armbruster <armbru@redhat.com> | 2011-09-06 18:58:59 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-09-12 15:17:22 +0200 |
commit | 7d4b4ba5c2bae99d44f265884b567ae63947bb4a (patch) | |
tree | 656e821d5db201a05fd20e4fd69069e0e79a850f /hw/fdc.c | |
parent | ab359cd17e77163b672c5fc129cf4bcd0a3b38ce (diff) |
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>
Diffstat (limited to 'hw/fdc.c')
-rw-r--r-- | hw/fdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1777,7 +1777,7 @@ static void fdctrl_result_timer(void *opaque) fdctrl_stop_transfer(fdctrl, 0x00, 0x00, 0x00); } -static void fdctrl_change_cb(void *opaque) +static void fdctrl_change_cb(void *opaque, bool load) { FDrive *drive = opaque; |