qemu-iotests: add tests for runtime fd passing via SCM rights
This case will test whether the monitor can receive fd at runtime.To verify better, additional monitor is created to see if qemucan handler two monitor instances correctly.
Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>...
qemu-iotests: New test case in 061
Add one test case for zero cluster expansion on qcow2 version downgradein shared L2 tables (i.e., L2 tables with a refcount > 1) and one forzero expansion on backed clusters in shared L2 tables.
Signed-off-by: Max Reitz <mreitz@redhat.com>...
qemu-iotests: add 057 internal snapshot for block device test case
Create in transaction and deletion in single command will be tested.
Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotest: qcow2 image option amendment
Add tests for qemu-img amend on qcow2 image files.
Signed-off-by: Max Reitz <mreitz@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: add unix socket help program
This program can do a sendmsg call to transfer fd with unixsocket, which is not supported in python2.
The built binary will not be deleted in clean, but it is aexisting issue in ./tests, which should be solved in another...
qemu-iotests: add infrastructure of fd passing via SCM
This patch make use of the compiled scm helper program to transferfd via unix socket at runtime.
Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>...
qemu-iotests: Fixed test case 026
The reference output for test case 026 hasn't been updated in a longtime and it's one of the "known failing" cases. This patch updates thereference output so that unintentional changes can be reliably detectedagain.
The problem with this test case is that it produces different output...
qemu-iotests: Whitespace cleanup
These scripts used to have a four characters indentation, with eightconsecutive spaces converted into a tab. Convert everything into spaces.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
aio / timers: fix build of test/test-aio.c on non-linux platforms
tests/test-aio.c used pipe2 which is Linux only. Use qemu_pipeand qemu_set_nonblock for portabillity. Addition of O_CLOEXECis a harmless bonus.
Signed-off-by: Alex Bligh <alex@alex.org.uk>...
add qemu-img convert -n option (skip target volume creation)
Add a -n option to skip volume creation on qemu-img convert.This is useful for targets such as rbd / ceph, where thetarget volume may already exist; we cannot always rely onqemu-img convert to create the image, as dependent on the...
View revisions
Also available in: Atom