Statistics
| Branch: | Revision:

root / tests @ 45724d6d

Latest revisions

# Date Author Comment
774a8850 08/29/2012 04:23 pm Stefan Hajnoczi

qemu-iotests: add backing file smaller than image test case

This new test case checks that streaming completes successfully when the
backing file is smaller than the image file.

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Paolo Bonzini <>...

7109edfe 08/16/2012 09:41 pm Michael Roth

check-qjson: add test for large JSON objects

Signed-off-by: Michael Roth <>
Signed-off-by: Anthony Liguori <>

58c8cce2 08/15/2012 04:14 pm Kevin Wolf

qemu-iotests: Fix 030 after switch to GenericError

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

adb696f3 08/15/2012 02:16 pm Corey Bryant

block: Enable qemu_open/close to work with fd sets

When qemu_open is passed a filename of the "/dev/fdset/nnn"
format (where nnn is the fdset ID), an fd with matching access
mode flags will be searched for within the specified monitor
fd set. If the fd is found, a dup of the fd will be returned...

353a41be 08/10/2012 11:25 am Kevin Wolf

qemu-iotests: Save some sed processes

Instead of building a huge pipeline, just pass all expressions to a
single sed process.

Suggested-by: Eric Blake <>
Signed-off-by: Kevin Wolf <>
Reviewed-by: Eric Blake <>

058f8f16 08/10/2012 11:25 am Stefan Hajnoczi

block: add BLOCK_O_CHECK for qemu-img check

Image formats with a dirty bit, like qed and qcow2, repair dirty image
files upon open with BDRV_O_RDWR. Performing automatic repair when
qemu-img check runs is not ideal because the bdrv_open() call repairs
the image before the actual bdrv_check() call from qemu-img.c....

166f3c7b 08/10/2012 11:25 am Stefan Hajnoczi

qemu-iotests: skip 039 with ./check -nocache

When the qemu-io --nocache option is used the 039 test case cannot abort
QEMU at a point where the image is dirty. Skip the test case.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

bfe8043e 08/06/2012 11:39 pm Stefan Hajnoczi

qcow2: implement lazy refcounts

Lazy refcounts is a performance optimization for qcow2 that postpones
refcount metadata updates and instead marks the image dirty. In the
case of crash or power failure the image will be left in a dirty state
and repaired next time it is opened....

dc68afe0 08/06/2012 11:39 pm Stefan Hajnoczi

qemu-iotests: add 039 qcow2 lazy refcounts test

This tests establishes the basic post-conditions of the qcow2 lazy
refcounts features:

1. If the image was closed normally, it is marked clean.
2. If an allocating write was performed and the image was not closed...
b0869a46 08/06/2012 11:39 pm Kevin Wolf

qemu-iotests: Be more flexible with image creation options

qemu-iotests already filters out image creation options that may be
present or not in order to get the same output in both cases. However,
often it only considers the default value of the option. Cover all valid...

View revisions

Also available in: Atom