Statistics
| Branch: | Revision:

root / tests @ 5d12aa63

Latest revisions

# Date Author Comment
a71835a0 02/21/2014 10:02 pm Kevin Wolf

qcow2: Set zero flag for discarded clusters

Instead of making the backing file contents visible again after a discard
request, set the zero flag if possible (i.e. on version >= 3).

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

3e890c77 02/21/2014 04:54 pm Peter Maydell

Merge remote-tracking branch 'remotes/stefanha/tags/qtest-monitor-process-pull-request' into staging

qtest resource cleanup pull request

  1. gpg: Signature made Wed 19 Feb 2014 14:46:34 GMT using RSA key ID 81AB73C8
  2. gpg: Good signature from "Stefan Hajnoczi <>"...
61e8a923 02/20/2014 03:05 pm Peter Maydell

Merge remote-tracking branch 'remotes/afaerber/tags/qom-devices-for-peter' into staging

QOM infrastructure fixes and device conversions

  • QTest cleanups and test cases for PCI NICs
  • NAND fix for "info qtree"
  • Cleanup and extension of QOM machine tests...
4c0c9bbe 02/20/2014 02:10 pm Peter Maydell

Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging

  • remotes/qmp-unstable/queue/qmp:
    monitor: Add object_add class argument completion.
    monitor: Add object_del id argument completion.
    monitor: Add device_add device argument completion....
b15d422a 02/19/2014 04:45 pm Stefan Hajnoczi

qtest: kill QEMU process on g_assert() failure

The QEMU process stays running if the test case fails. This patch fixes
the leak by installing a SIGABRT signal handler which invokes
qtest_end().

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Markus Armbruster <>...

cef60c92 02/19/2014 04:44 pm Stefan Hajnoczi

qtest: make QEMU our direct child process

qtest_init() cannot use exec*p() to launch QEMU since the exec*p()
functions take an argument array while qtest_init() takes char
*extra_args. Therefore we execute /bin/sh -c <command-line> and let the
shell parse the argument string....

98f9e35b 02/19/2014 04:43 pm Stefan Hajnoczi

qtest: drop unused child_pid field

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Markus Armbruster <>

91f32b0c 02/18/2014 12:10 am Stefan Hajnoczi

qtest: Include system headers before user headers

It is dangerous to include user headers before system headers since user
macros can affect system headers.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Andreas Färber <>

84d18f06 02/17/2014 06:57 pm Markus Armbruster

Use error_is_set() only when necessary

error_is_set(&var) is the same as var != NULL, but it takes
whole-program analysis to figure that out. Unnecessarily hard for
optimizers, static checkers, and human readers. Dumb it down to
obvious.

Gets rid of several dozen Coverity false positives....

078a1c37 02/15/2014 06:36 pm Peter Maydell

Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-02-15' into staging

trivial patches for 2014-02-15

  1. gpg: Signature made Sat 15 Feb 2014 12:10:46 GMT using RSA key ID 74F0C838
  2. gpg: Good signature from "Michael Tokarev <>"...

View revisions

Also available in: Atom