summary refs log tree commit diff stats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-02-29 13:25:21 +0000
committerKevin Wolf <kwolf@redhat.com>2012-02-29 15:48:44 +0100
commitf345cfd01935c6d7ab19f841a2eee2901ca3221e (patch)
treea2309f62b9275adf01af876c46efc2030828684f /qemu-io.c
parent049255b60c2bd95df09e3da9de0d9658b2ec4a98 (diff)
downloadfocaccia-qemu-f345cfd01935c6d7ab19f841a2eee2901ca3221e.tar.gz
focaccia-qemu-f345cfd01935c6d7ab19f841a2eee2901ca3221e.zip
qemu-iotests: add iotests Python module
Block layer tests that involve QMP commands rather than qemu-img or
qemu-io are not well-suited for shell scripting.  This patch adds a
Python module which allows tests to be written in Python instead.

The basic API is:

  VM          - class for launching and interacting with a VM
  QMPTestCase - abstract base class for tests that use QMP
  qemu_img()  - wrapper function for invoking qemu-img
  qemu_io()   - wrapper function for invoking qemu-io
  imgfmt      - the image format under test (e.g. qcow2, qed)
  test_dir    - scratch directory path for temporary files
  main()      - entry point for running tests

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions