xemu/include
Kevin Wolf 2ea9b58f0b aio: Fix return value of aio_poll()
aio_poll() must return true if any work is still pending, even if it
didn't make progress, so that bdrv_drain_all() doesn't stop waiting too
early. The possibility of stopping early occasionally lead to a failed
assertion in bdrv_drain_all(), when some in-flight request was missed
and the function didn't really drain all requests.

In order to make that change, the return value as specified in the
function comment must change for blocking = false; fortunately, the
return value of blocking = false callers is only used in test cases, so
this change shouldn't cause any trouble.

Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-01-17 10:51:42 +01:00
..
block aio: Fix return value of aio_poll() 2013-01-17 10:51:42 +01:00
bt softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
char chardev: fix QemuOpts lifecycle 2013-01-16 06:58:53 +01:00
disas build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
exec exec: Return CPUState from qemu_get_cpu() 2013-01-15 04:09:14 +01:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
migration migration: merge QEMUFileBuffered into MigrationState 2012-12-20 23:09:40 +01:00
monitor monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
net misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qapi misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qemu qemu-option: move standard option definitions out of qemu-config.c 2013-01-12 17:17:53 +01:00
qom Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2013-01-15 16:53:10 -06:00
sysemu kvm: Add fake KVM constants to avoid #ifdefs on KVM-specific code 2013-01-15 04:09:14 +01:00
ui pixman: fix warning 2013-01-12 12:42:55 +00:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
libfdt_env.h fdt: Use bswapN instead of bswap_N 2013-01-12 12:22:58 +00:00
qemu-common.h qemu-common.h: Make qemu_init_vcpu() stub static inline 2013-01-08 21:03:44 +01:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00