fdc-test: split test_media_change() test, so insert part can be reused
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
fdc-test: insert media before fuzzing registers
A media will be required for future fdc tests.
fdc-test: add tests for non-DMA READ command
MAINTAINERS: add Stefan Hajnoczi as block and virtio-blk co-maintainer
Kevin has requested co-maintainership to give him more time to writecode. We will alternate patch review duties on a weekly basis.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>...
block: Workaround for older versions of MinGW gcc
Versions before gcc-4.6 don't support unnamed fields in initializers(see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676).
Offset and OffsetHigh belong to an unnamed struct which is part of anunnamed union. Therefore the original code does not work with older...
tests: allow qemu-iotests to be run against nbd backend
To do this, we start a qemu-nbd process at _make_test_img and killit in _cleanup_test_img. $TEST_IMG is changed to point at the TCPserver. We also remove the checks for existence of binaries fromcommon.config - they're duplicated in common, and we can make the...
aio: switch aiocb_size type int -> size_t
Using appropriate types for variables is a good thing :). All userssimply do sizeof(MyType) and the value is passed to a memory allocator,it should be size_t.
aio: use g_slice_alloc() for AIOCB pooling
AIO control blocks are frequently acquired and released because each aiorequest involves at least one AIOCB. Therefore, we pool them to avoidheap allocation overhead.
The problem with the freelist approach in AIOPool is thread-safety. If...
aio: rename AIOPool to AIOCBInfo
Now that AIOPool no longer keeps a freelist, it isn't really a "pool" anymore. Rename it to AIOCBInfo and make it const since it no longerneeds to be modified.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
fdc: Remove status0 parameter from fdctrl_set_fifo()
It decided whether an interrupt is triggered. Only one caller made useof this functionality, so move the code there.
In this one caller, the interrupt must actually be triggeredunconditionally, like it was before commit 2fee0088. For example, a...
View all revisions | View revisions
Also available in: Atom