Statistics
| Branch: | Revision:

root / tests @ 82b11662

Latest revisions

# Date Author Comment
0e8a8c8f 07/17/2012 05:48 pm Markus Armbruster

qtest: Add hard disk geometry test

So far covers only IDE and tests only CMOS contents.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

23797df3 07/09/2012 08:35 pm Anthony Liguori

Merge remote-tracking branch 'mjt/mjt-iov2' into staging

  • mjt/mjt-iov2:
    rewrite iov_send_recv() and move it to iov.c
    cleanup qemu_co_sendv(), qemu_co_recvv() and friends
    export iov_send_recv() and use it in iov_send() and iov_recv()
    rename qemu_sendv to iov_send, change proto and move declarations to iov.h...
bb494a50 07/09/2012 06:21 pm Markus Armbruster

qtest: Tidy up temporary files properly

Each test litters /tmp with several files: a pid file and two
sockets. Tidy up.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

59240c34 07/09/2012 04:53 pm Pavel Hrdina

fdc_test: update media_change test

After rewrite DSKCHG bit handling the test has to be updated. Now
is needed to seek to different track to clear DSKCHG bit.

Signed-off-by: Pavel Hrdina <>
Signed-off-by: Kevin Wolf <>

b3ce604e 07/09/2012 04:53 pm Pavel Hrdina

fdc_test: introduce test_sense_interrupt

Calling sense interrupt status while there is no interrupt should
return invalid command (0x80).

Read command should always returns in st0 seek_end bit set to 1.

Signed-off-by: Pavel Hrdina <>
Signed-off-by: Kevin Wolf <>

039380a8 06/28/2012 12:26 am Anthony Liguori

qtest: fix infinite loop when QEMU aborts abruptly

From Markus:

Makes "make check" hang:

QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 gtester -k --verbose -m=quick tests/crash-test tests/rtc-test
TEST: tests/crash-test... (pid=972)
qemu-system-x86_64: Device needs media, but drive is empty...
b34d2595 06/22/2012 11:41 am Andreas Färber

libqtest: Fix socket_accept() to pass address_len

accept() expects address_len to point to the length of the sockaddr on
input. Initialize it accordingly.

Resolves an assertion due to EFAULT on illumos.

Signed-off-by: Andreas Färber <>...

3359847e 06/21/2012 09:45 pm Blue Swirl

qtest: add a fuzz test to fdc-test

Add a simple register fuzzing test to floppy controller tests.

Signed-off-by: Blue Swirl <>

1b2eff62 06/15/2012 03:03 pm Stefan Hajnoczi

qemu-iotests: add qcow2.py set-feature-bit command

This new command sets feature bits in the image file header:

qcow2.py set-feature-bit incompatible|compatible|autoclear &lt;bit&gt;

The bit number must be in the range [0, 64).

Signed-off-by: Stefan Hajnoczi <>...

d551cd50 06/15/2012 03:03 pm Stefan Hajnoczi

qemu-iotests: add 036 autoclear feature bit test

This new test validates the autoclear feature bit behavior. When QEMU
opens a qcow2v3 image file with an unknown autoclear feature bit the bit
should be cleared in the image file header.

Signed-off-by: Stefan Hajnoczi <>...

View revisions

Also available in: Atom