qemu-patch-raspberry4/hw/block
Max Reitz abb3e55b5b Revert "hw/block/fdc: Implement tray status"
This reverts the changes that commit
2e1280e8ff applied to hw/block/fdc.c;
also, an additional case of drv->media_inserted use has crept in since,
which is replaced by a call to blk_is_inserted().

That commit changed tests/fdc-test.c, too, because after it, one less
TRAY_MOVED event would be emitted when executing 'change' on an empty
drive. However, now, no TRAY_MOVED events will be emitted at all, and
the tray_open status returned by query-block will always be false,
necessitating (different) changes to tests/fdc-test.c and iotest 118,
which is why this patch is not a pure revert of said commit.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 1454096953-31773-4-git-send-email-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
2016-02-02 17:47:04 +01:00
..
dataplane block: Clean up includes 2016-01-20 13:36:23 +01:00
block.c block: Clean up includes 2016-01-20 13:36:23 +01:00
cdrom.c block: Clean up includes 2016-01-20 13:36:23 +01:00
ecc.c block: Clean up includes 2016-01-20 13:36:23 +01:00
fdc.c Revert "hw/block/fdc: Implement tray status" 2016-02-02 17:47:04 +01:00
hd-geometry.c block: Clean up includes 2016-01-20 13:36:23 +01:00
m25p80.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
Makefile.objs block: Always compile virtio-blk dataplane 2014-09-22 11:39:51 +01:00
nand.c hw: Inline the qdev_prop_set_drive_nofail() wrapper 2016-01-13 11:58:58 +01:00
nvme.c nvme: generate OpenFirmware device path in the "bootorder" fw_cfg file 2016-02-02 12:45:01 +01:00
nvme.h nvme: implement the Flush command 2015-07-14 15:55:19 +02:00
onenand.c block: Clean up includes 2016-01-20 13:36:23 +01:00
pflash_cfi01.c block: Clean up includes 2016-01-20 13:36:23 +01:00
pflash_cfi02.c block: Clean up includes 2016-01-20 13:36:23 +01:00
tc58128.c block: Clean up includes 2016-01-20 13:36:23 +01:00
virtio-blk.c block: Clean up includes 2016-01-20 13:36:23 +01:00
xen_blkif.h xen/blkif: Avoid double access to src->nr_segments 2015-12-18 15:09:58 +00:00
xen_disk.c xen: Switch to libxengnttab interface for compat shims. 2016-01-26 17:19:28 +00:00