qemu/tests
Jeff Cody 747051cd97 qemu-iotests: add initial tests for live block commit
Derived from the streaming test cases (030), this adds the
following 9 tests:

1. For the following image chain, commit [mid] into [backing],
   and use qemu-io to verify [backing] has its original data, as
   well as the data from [mid]

           [backing] <-- [mid] <-- [test]

2. Verifies that 'block-commit' with the 'speed' parameter sets the
   speed parameter, as reported by 'query-block-jobs'

3. Verifies that a bogus 'device' parameter to 'block-commit'
   results in error

4-9: Appropriate error values returned for the following argument errors:
    * top == base
    * top is nonexistent
    * base is nonexistent
    * top == active layer (this is currently not supported)
    * top and base arguments are reversed
    * top argument is omitted

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-09-28 18:55:44 +02:00
..
qemu-iotests qemu-iotests: add initial tests for live block commit 2012-09-28 18:55:44 +02:00
tcg target-or32: Add testcases 2012-07-27 21:13:06 +00:00
.gitignore
check-block.sh
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c check-qjson: add test for large JSON objects 2012-08-16 13:41:15 -05:00
check-qlist.c
check-qstring.c
fdc-test.c fdc-test: Clean up a bit 2012-07-17 16:48:32 +02:00
hd-geo-test.c qtest: Test we don't put hard disk info into CMOS for a CD-ROM 2012-07-17 16:48:31 +02:00
libqtest.c qtest: Tidy up temporary files properly 2012-07-09 17:21:02 +02:00
libqtest.h qtest: Add function to send QMP commands 2012-05-10 10:32:11 +02:00
m48t59-test.c
Makefile block: Enable qemu_open/close to work with fd sets 2012-08-15 13:16:22 +02:00
qemu-iotests-quick.sh
rtc-test.c
test-coroutine.c
test-iov.c rewrite iov_send_recv() and move it to iov.c 2012-06-11 23:12:11 +04:00
test-qmp-commands.c qapi: add test case for deallocating traversal of incomplete structure 2012-07-23 11:55:17 +01:00
test-qmp-input-strict.c
test-qmp-input-visitor.c qapi: fix error propagation 2012-07-23 11:55:17 +01:00
test-qmp-output-visitor.c
test-string-input-visitor.c
test-string-output-visitor.c qapi: String visitor, use %f representation for floats 2012-06-08 16:11:14 +02:00
test-visitor-serialization.c qapi: Add String visitor coverage to serialization unit tests 2012-06-08 16:11:14 +02:00