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
..
2011-07-07 17:49:21 -06:00
2011-07-29 12:12:58 +02:00
2010-12-17 11:57:11 -07:00
2010-12-01 14:12:54 +01:00
2010-11-09 15:35:43 +01:00
2011-09-05 07:03:04 -06:00
2011-10-20 16:02:16 -06:00
2010-01-19 21:13:03 +01:00
2011-07-29 17:23:55 -04:00
2011-07-25 13:50:06 +08:00
2011-07-25 13:50:06 +08:00
2009-12-14 14:58:23 +01:00
2010-03-08 09:26:04 -05:00
2011-05-23 19:41:18 -04:00
2011-05-23 19:41:18 -04:00
2011-10-06 10:41:21 -06:00
2011-10-26 11:55:39 -06:00
2011-10-25 09:22:42 +02:00
2011-10-19 07:59:59 -06:00
2011-10-10 22:58:04 +02:00
2010-08-19 15:58:43 -06:00
2010-08-19 15:58:43 -06:00
2009-10-16 10:52:27 -04:00
2009-10-16 10:52:27 -04:00
2011-05-26 23:32:44 +02:00
2010-12-17 11:57:11 -07:00
2011-07-28 13:46:39 -04:00
2011-07-11 09:11:15 -06:00
2011-05-26 23:32:44 +02:00
2011-07-22 15:18:32 +01:00
2011-05-03 08:03:39 -06:00
2010-01-15 16:28:05 +00:00
2011-07-21 10:34:51 -06:00
2011-08-25 12:05:54 +01:00
2011-04-30 19:59:52 +02:00
2010-05-12 08:41:10 +02:00
2011-10-20 16:56:28 -06:00
2010-11-03 11:43:11 +01:00
2011-07-11 19:38:51 +02:00
2010-07-28 16:47:56 -04:00
2010-05-20 13:50:03 -04:00
2011-10-20 16:02:16 -06:00
2011-07-09 10:14:38 +02:00
2011-04-29 10:21:20 -06:00
2011-04-27 15:32:30 +02:00
2011-04-29 14:26:40 -06:00
2011-07-29 17:17:21 +02:00
2010-01-15 16:28:05 +00:00
2011-04-30 19:59:52 +02: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-10-20 16:02:16 -06:00
2010-01-15 16:28:05 +00:00
2011-06-29 01:59:34 +02:00
2011-07-25 13:50:06 +08:00
2010-01-15 16:28:05 +00:00
2011-04-30 19:59:52 +02:00
2011-07-29 12:12:58 +02:00
2010-04-06 11:09:46 -04:00
2011-04-30 19:59:52 +02:00
2011-06-24 08:01:10 -06:00
2011-05-16 10:12:21 -06:00
2011-06-01 11:58:15 +02:00
2011-06-01 11:58:15 +02:00
2011-07-22 15:18:32 +01:00
2011-10-06 14:49:23 -04:00
2011-10-26 11:55:39 -06:00
2011-10-26 11:55:39 -06:00
2011-09-02 23:39:03 +08:00
2011-10-25 09:27:10 +02:00
2011-04-29 10:21:20 -06:00
2010-09-14 08:42:10 -06:00
2010-05-12 08:41:10 +02:00
2011-07-09 15:47:57 +02:00
2010-04-14 17:34:12 +02:00
2011-01-10 18:10:52 +00:00
2011-10-10 22:58:04 +02:00
2011-09-16 15:51:31 -06:00
2011-09-16 15:51:31 -06:00
2011-04-29 10:21:20 -06:00
2011-06-24 11:48:18 +01:00
2010-05-12 08:41:10 +02:00
2011-07-07 17:23:09 -06:00
2010-01-15 16:28:05 +00:00
2011-04-30 19:59:52 +02:00
2010-01-15 16:28:05 +00:00
2011-04-30 19:59:52 +02:00
2010-01-15 16:28:05 +00:00
2011-07-11 09:21:37 -06:00
2011-10-24 15:42:52 -06:00
2011-06-24 11:48:14 +01:00
2011-02-15 22:51:37 +01:00
2009-07-16 15:06:42 +02:00
2009-07-27 16:45:01 +01:00
2009-07-16 15:06:42 +02:00
2011-08-19 09:22:22 -06:00
2011-07-01 16:46:20 -06:00
2010-05-12 08:41:10 +02:00
2011-10-20 16:02:16 -06:00
2011-06-29 10:47:54 +08:00
2011-10-13 23:41:32 +02:00
2011-09-08 11:03:34 +01:00
2010-05-12 08:41:10 +02:00
2011-09-22 13:28:18 +08:00
2010-05-12 08:41:10 +02:00
2010-05-12 08:41:10 +02:00
2011-07-29 12:12:58 +02:00
2011-09-28 15:43:39 +08:00
2011-07-09 10:14:38 +02:00
2011-10-14 09:42:38 -06:00
2011-07-11 19:38:51 +02:00
2011-07-11 19:38:51 +02:00
2011-09-02 23:22:56 +08:00