[libvirt] [PATCH 0/5] fix qemumonitorjsontest

Eric Blake eblake at redhat.com
Fri Feb 22 23:09:04 UTC 2013


I hit a segv in qemumonitorjsontest on a new machine, and
traced it to through several layers of issues, including not
having yajl-devel installed on my end.  This series fixes
the test failure, and several incidental things that I found
along the way.

Eric Blake (5):
  qemu: don't override earlier json error
  qemu: minor monitor lock cleanups
  tests: avoid segfault if json monitor not present
  tests: don't test json when not compiled in
  tests: uniformly report test failures

 cfg.mk                           |  7 +++++++
 src/qemu/qemu_agent.c            | 13 ++++++-------
 src/qemu/qemu_monitor.c          | 12 ++++--------
 src/qemu/qemu_monitor_json.c     |  8 +++-----
 tests/commandhelper.c            |  7 +++----
 tests/qemumonitorjsontest.c      | 14 ++++++++------
 tests/qemumonitortestutils.c     |  4 ++++
 tests/seclabeltest.c             |  8 ++++----
 tests/securityselinuxlabeltest.c |  6 +++---
 tests/securityselinuxtest.c      |  6 +++---
 tests/testutils.c                |  8 ++++----
 tests/testutils.h                |  4 ++--
 12 files changed, 51 insertions(+), 46 deletions(-)

-- 
1.8.1.2




More information about the libvir-list mailing list