dataplane: avoid reentrancy during virtio_blk_data_plane_stop()
When dataplane is stopping, the s->vdev->binding->set_host_notifier(...,false) call can invoke the virtqueue handler if an ioeventfdnotification is pending. This causes hw/virtio-blk.c to invoke...
win32-aio: use iov utility functions instead of open-coding them
We have iov_from_buf() and iov_to_buf(), use them instead ofopen-coding these in block/win32-aio.c
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
win32-aio: Fix memory leak
The buffer is allocated for both reads and writes, and obviously itshould be freed even if an error occurs.
Cc: qemu-stable@nongnu.orgSigned-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
win32-aio: Fix vectored reads
Copying data in the right direction really helps a lot!
aio: Fix return value of aio_poll()
aio_poll() must return true if any work is still pending, even if itdidn't make progress, so that bdrv_drain_all() doesn't stop waiting tooearly. The possibility of stopping early occasionally lead to a failedassertion in bdrv_drain_all(), when some in-flight request was missed...
block: fix null-pointer bug on error case in block commit
This is a bug that was caught by a coverity run by Markus. Inthe error case when we errored out to exit_restore_open early in thefunction, 'overlay_bs' was still NULL at that point, although it is...
ide: Remove wrong assertion
The Bus Master IDE Active bit (BM_STATUS_DMAING) is not only set whenthe request is still in flight, but also when it has completed and thesize of the physical memory regions in the PRDT was larger than thetransfer size.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>...
Merge remote-tracking branch 'kraxel/chardev.1' into staging
build: fix Win32 clean build
The version.o file did not appear explicitly as a dependency, andthis caused clean builds to fail. Force its build by making theMakefile depend on version.o.
(We cannot add it to libqemuutil.a, because it doesn't export any...
tmp105: Add temperature QOM property
This obsoletes tmp105_set() and allows for better error handling.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
View all revisions | View revisions
Also available in: Atom