qemu-e2k/include/sysemu
Kevin Wolf fbb92b6798 block: Increase BB.in_flight for coroutine and sync interfaces
External callers of blk_co_*() and of the synchronous blk_*() functions
don't currently increase the BlockBackend.in_flight counter, but calls
from blk_aio_*() do, so there is an inconsistency whether the counter
has been increased or not.

This patch moves the actual operations to static functions that can
later know they will always be called with in_flight increased exactly
once, even for external callers using the blk_co_*() coroutine
interfaces.

If the public blk_co_*() interface is unused, remove it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200407121259.21350-3-kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2020-04-07 15:40:41 +02:00
..
accel.h
arch_init.h Add rx-softmmu 2020-03-19 17:58:05 +01:00
balloon.h
block-backend.h block: Increase BB.in_flight for coroutine and sync interfaces 2020-04-07 15:40:41 +02:00
blockdev.h monitor/hmp: move hmp_drive_del and hmp_commit to block-hmp-cmds.c 2020-03-09 18:05:33 +00:00
cpus.h
cryptodev-vhost-user.h
cryptodev-vhost.h
cryptodev.h misc: Replace zero-length arrays with flexible array member (automatic) 2020-03-16 22:07:42 +01:00
device_tree.h
dma.h
dump-arch.h
dump.h
hax.h
hostmem.h hostmem: fix strict bind policy 2020-02-19 16:50:02 +00:00
hvf.h
hw_accel.h
iothread.h
kvm_int.h
kvm.h
memory_mapping.h
numa.h initialize MachineState::ram in NUMA case 2020-02-19 16:49:53 +00:00
os-posix.h
os-win32.h
qtest.h qtest: add in-process incoming command handler 2020-02-22 08:26:48 +00:00
replay.h
reset.h
rng-random.h
rng.h
runstate.h
seccomp.h
sev.h
sysemu.h monitor/hmp: rename device-hotplug.c to block/monitor/block-hmp-cmds.c 2020-03-09 18:05:31 +00:00
tcg.h
tpm_backend.h
tpm.h tpm: Add the SysBus TPM TIS device 2020-03-05 12:18:08 -05:00
vhost-user-backend.h
watchdog.h
whpx.h WHPX: TSC get and set should be dependent on VM state 2020-03-16 23:02:21 +01:00
xen-mapcache.h