qemu-patch-raspberry4/hw/block
Stefan Hajnoczi b0f2027cde dataplane: refuse to start if device is already in use
Dataplane must check whether a block device is in use before launching
the dataplane thread.  This is necessary since the thread does not
synchronize with the main loop and I/O requests could cause corruption.

One example is when a drive is added and a block job is started before
hotplugging the virtio-blk-pci adapter.  In this case we must not use
dataplane mode.

Cc: qemu-stable@nongnu.org
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-07-29 17:19:15 +02:00
..
dataplane dataplane: refuse to start if device is already in use 2013-07-29 17:19:15 +02:00
block.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
cdrom.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
ecc.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
fdc.c fdc: Improve error propagation for QOM realize 2013-07-23 00:37:35 +02:00
hd-geometry.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
m25p80.c block/m25p80: Update Micron entries 2013-07-19 12:52:03 +04:00
Makefile.objs NVMe: Initial commit for new storage interface 2013-06-17 17:47:59 +02:00
nand.c nand: Don't inherit from Sysbus 2013-06-25 19:15:46 +01:00
nvme.c hw/block: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
nvme.h NVMe: Initial commit for new storage interface 2013-06-17 17:47:59 +02:00
onenand.c hw/block: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
pc_sysfw.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
pflash_cfi01.c pflash_cfi01: Use QOM realize for pflash_cfi01 2013-07-23 00:37:35 +02:00
pflash_cfi02.c pflash_cfi02: Use QOM realize for pflash_cfi02 2013-07-23 00:37:35 +02:00
tc58128.c hw: move block devices to hw/block/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
virtio-blk.c dataplane: enable virtio-blk x-data-plane=on live migration 2013-07-29 17:19:07 +02:00
xen_blkif.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen_disk.c block: add block driver read only whitelist 2013-06-04 12:11:58 +02:00