qemu-e2k/include
Fam Zheng 0793169870 virtio: Report real progress in VQ aio poll handler
In virtio_queue_host_notifier_aio_poll, not all "!virtio_queue_empty()"
cases are making true progress.

Currently the offending one is virtio-scsi event queue, whose handler
does nothing if no event is pending. As a result aio_poll() will spin on
the "non-empty" VQ and take 100% host CPU.

Fix this by reporting actual progress from virtio queue aio handlers.

Reported-by: Ed Swierk <eswierk@skyportsystems.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Tested-by: Ed Swierk <eswierk@skyportsystems.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-02-17 21:52:30 +02:00
..
block
crypto
disas
exec cpu-exec: fix icount out-of-bounds access 2017-02-16 14:06:56 +01:00
fpu
hw virtio: Report real progress in VQ aio poll handler 2017-02-17 21:52:30 +02:00
io
libdecnumber
migration migration: Add VMSTATE_WITH_TMP 2017-02-13 17:27:14 +00:00
monitor
net
qapi
qemu
qom report guest crash information in GUEST_PANICKED event 2017-02-16 15:30:49 +01:00
standard-headers
sysemu report guest crash information in GUEST_PANICKED event 2017-02-16 15:30:49 +01:00
ui
elf.h
glib-compat.h
qemu-common.h
qemu-io.h
trace-tcg.h