Eric Blake 6889f33e8b qemu: simplify use of HAVE_YAJL
Rather than making all clients of monitor commands that are JSON-only
check whether yajl support was compiled in, it is simpler to just
avoid setting the capability bit up front if we can't use the capability.

* src/qemu/qemu_capabilities.c (qemuCapsComputeCmdFlags): Only set
capability bit if we also have yajl library to use it.
* src/qemu/qemu_driver.c (qemuDomainReboot): Drop #ifdefs.
* src/qemu/qemu_process.c (qemuProcessStart): Likewise.
* tests/qemuhelptest.c (testHelpStrParsing): Pass test even
without yajl.
* tests/qemuxml2argvtest.c (mymain): Simplify use of json flag.
* tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-*.args:
Update expected results to match.
2011-10-26 11:55:39 -06:00
..
2010-05-12 08:41:10 +02:00
2011-07-11 19:38:51 +02:00
2011-04-29 10:21:20 -06:00
2011-04-29 14:26:40 -06:00
2011-06-30 18:04:02 +01:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2011-06-24 08:01:10 -06:00
2011-10-26 11:55:39 -06:00
2011-04-29 10:21:20 -06:00
2010-05-12 08:41:10 +02:00
2011-04-29 10:21:20 -06:00
2010-05-12 08:41:10 +02:00
2011-07-11 09:21:37 -06:00
2011-10-24 15:42:52 -06:00
2009-07-16 15:06:42 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2011-07-11 19:38:51 +02:00
2011-07-11 19:38:51 +02:00