qemu/tests/qemu-iotests
Stefan Hajnoczi db58f9c060 qmp: make block job command naming consistent
The block streaming and job commands used '_' instead of '-' for reasons
of compatibility with libvirt, which already included support for the
'_' naming.  However, the semantics of block_job_cancel have changed and
libvirt now needs to handle the new semantics.

Since the old semantics were never in a QEMU release we can still rename
the commands to use '-' instead of '_'.  Libvirt is also happy because
the new name can be used to distinguish QEMU binaries that support the
latest block-job-cancel semantics from those that include a downstream
block_job_cancel command.

Therefore, let's apply the QAPI/QMP naming rules to the block streaming
and job commands.  QEMU 1.1 will be the first release with these
commands so no upstream users can break.

Note that HMP commands are left with '_' because that is the convention
there.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2012-04-23 13:02:01 -03:00
..
.gitignore qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
001 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
001.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
002 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
002.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
003 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
003.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
004 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
004.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
005 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
005.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
006 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
006.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
007 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
007.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
008 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
008.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
009 qemu-iotests: Fix call syntax for qemu-io 2012-04-05 15:10:06 +02:00
009.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
010 qemu-iotests: Fix call syntax for qemu-io 2012-04-05 15:10:06 +02:00
010.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
011 qemu-iotests: Fix call syntax for qemu-io 2012-04-05 15:10:06 +02:00
011.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
012 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
012.out qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
013 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
013.out qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
014 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
014.out qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
015 qemu-iotests: Update filter for default cluster size 2012-02-23 10:29:47 +01:00
015.out qemu-iotests: add test for refcount table growth and snapshots 2012-02-22 16:17:01 +01:00
016 qemu-iotests: only run 016 for file and sheepdog protocols 2012-02-23 10:29:47 +01:00
016.out qemu-iotests: test I/O after EOF for growable files 2012-02-22 16:17:02 +01:00
017 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
017.out qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
018 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
018.out qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
019 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
019.out qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
020 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
020.out qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
021 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
021.out qemu-iotests: test invalid pattern argument handling in qemu-io 2012-02-22 16:17:02 +01:00
022 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
022.out qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
023 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
023.out qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
024 qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
024.out qemu-iotests: improve rebase test 2012-02-22 16:17:03 +01:00
025 qemu-iotests: add qed support to 025 image resize test 2012-02-23 10:29:47 +01:00
025.out qemu-iotests: test bdrv_truncate 2012-02-22 16:17:03 +01:00
026 qemu-iotests: 026: Reduce output changes for cache=none qcow2 2012-02-29 15:48:44 +01:00
026.out qemu-iotests: update expected results after qemu-img changes 2012-02-22 16:17:03 +01:00
027 qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
027.out qemu-iotests: add sub-cluster allocating write test for sparse image formats 2012-02-22 16:17:03 +01:00
028 qemu-iotests: Test rebase with short backing file 2012-02-29 15:48:44 +01:00
028.out qemu-iotests: Test rebase with short backing file 2012-02-29 15:48:44 +01:00
029 qemu-iotests: test loading internal snapshots 2012-02-23 10:29:47 +01:00
029.out qemu-iotests: test loading internal snapshots 2012-02-23 10:29:47 +01:00
030 qmp: make block job command naming consistent 2012-04-23 13:02:01 -03:00
030.out test: add image streaming tests 2012-02-29 15:48:44 +01:00
031 qemu-iotests: Test unknown qcow2 header extensions 2012-04-05 14:54:41 +02:00
031.out qemu-iotests: Test unknown qcow2 header extensions 2012-04-05 14:54:41 +02:00
check qemu-iotests: 026: Reduce output changes for cache=none qcow2 2012-02-29 15:48:44 +01:00
common qemu-iotests: add support for rbd and sheepdog protocols 2012-02-23 10:29:46 +01:00
common.config qemu-iotests: export TEST_DIR for non-bash tests 2012-02-29 15:48:44 +01:00
common.filter qemu-iotests: Filter out DOS line endings 2012-02-29 15:48:44 +01:00
common.pattern qemu-iotests: Use zero-based offsets for IO patterns 2012-02-23 10:29:46 +01:00
common.rc qemu-iotests: Fix call syntax for qemu-img 2012-04-05 15:08:22 +02:00
COPYING qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
group qemu-iotests: Test unknown qcow2 header extensions 2012-04-05 14:54:41 +02:00
iotests.py qemu-iotests: add iotests Python module 2012-02-29 15:48:44 +01:00
Makefile qemu-iotests: Initial import into the public repository. 2012-02-22 16:15:22 +01:00
qcow2.py qemu-iotests: qcow2.py 2012-04-05 14:54:41 +02:00
README qemu-iotests: README: Fix spelling 2012-02-23 10:29:46 +01:00

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@savannah.nongnu.org.