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: Split out I2C message constants from header
Allows value sharing with qtest.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tmp105: Fix I2C protocol bug
An early length postincrement in the TMP105's I2C TX path led totransfers of more than one byte to place the second byte in the thirdbyte's place within the buffer and the third byte to get discarded.
Fix this by explictly incrementing the length after the checks but...
tests: Add tmp105 qtest test case
Exercise all four commands of the TMP105, testing for an issue in theI2C TX path.
The test case uses the N800's OMAP I2C and is the first for ARM.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tmp105: QOM'ify
Introduce TYPE_ constant and cast macro.Move the state struct to the new header to allow for future embedding.
tmp105: Add temperature QOM property
This obsoletes tmp105_set() and allows for better error handling.
View all revisions | View revisions
Also available in: Atom