Luiz Capitulino de253f1491 qmp: switch to the new error format on the wire
IMPORTANT: this BREAKS QMP's compatibility for the error response.

This commit changes QMP's wire protocol to make use of the simpler
error format introduced by previous commits.

There are two important (and mostly incompatible) changes:

 1. Almost all error classes have been replaced by GenericError. The
    only classes that are still supported for compatibility with
    libvirt are: CommandNotFound, DeviceNotActive, KVMMissingCap,
    DeviceNotFound and MigrationExpected

 2. The 'data' field of the error dictionary is gone

As an example, an error response like:

  { "error": { "class": "DeviceNotRemovable",
               "data": { "device": "virtio0" },
               "desc": "Device 'virtio0' is not removable" } }

Will now be emitted as:

  { "error": { "class": "GenericError",
               "desc": "Device 'virtio0' is not removable" } }

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
2012-08-13 14:17:53 -03:00
2012-08-13 11:20:41 +02:00
2012-06-21 20:04:24 +00:00
2012-06-18 15:32:45 +02:00
2012-08-09 18:34:57 +00:00
2012-07-23 11:55:17 +01:00
2012-08-13 11:20:41 +02:00
2012-08-06 19:31:55 -05:00
2012-07-10 18:27:33 +02:00
2012-07-07 09:04:42 +00:00
2011-11-07 10:57:36 -06:00
2012-04-19 16:51:47 +02:00
2011-12-02 10:50:57 +00:00
2011-08-27 15:42:35 +00:00
2012-08-04 15:51:23 +00:00
2012-08-13 13:20:50 -03:00
2011-09-16 08:26:31 -05:00
2012-01-13 10:37:00 +00:00
2012-05-14 07:27:24 +02:00
2012-02-09 16:17:51 +01:00
2012-03-12 10:30:23 +00:00
2012-06-29 13:31:07 +02:00
2012-08-02 18:12:17 +02:00
2012-03-30 08:14:11 -05:00
2012-05-12 09:14:38 +00:00
2012-01-10 09:36:43 +01:00
2012-03-07 13:03:51 +00:00
2012-07-26 17:44:08 +02:00
2012-04-01 20:30:23 +02:00
2012-03-14 22:20:27 +01:00
2012-07-28 09:23:11 +00:00
2012-03-14 22:20:27 +01:00
2012-08-13 14:17:46 -03:00
2012-08-13 14:17:46 -03:00
2012-08-13 14:17:46 -03:00
2012-06-25 15:37:15 +02:00
2011-12-02 10:50:57 +00:00
2012-08-11 12:23:46 +00:00
2012-07-27 21:13:04 +00:00
2012-03-14 22:20:27 +01:00
2012-08-13 13:21:37 -03:00
2012-08-13 13:20:54 -03:00
2011-12-02 10:50:57 +00:00
2011-08-27 15:42:35 +00:00
2011-08-27 15:42:35 +00:00
2012-05-08 14:30:09 -03:00
2011-10-16 13:13:05 +02:00
2012-03-19 15:17:21 +02:00
2011-12-09 11:25:22 +00:00
2011-12-02 10:50:57 +00:00
2012-05-10 08:33:34 -05:00
2012-08-11 12:21:20 +00:00
2012-03-15 10:39:52 -03:00
2012-06-29 13:27:28 +02:00
2011-08-27 15:42:35 +00:00
2012-02-15 09:39:21 -06:00
2012-02-17 08:33:32 -06:00
2012-02-17 08:33:32 -06:00
2012-08-03 18:28:37 -05:00
2012-07-10 18:27:33 +02:00
2012-01-13 10:55:56 -06:00
2012-01-10 18:23:58 +01:00
2012-04-07 14:00:45 +00:00
2012-01-10 18:23:58 +01:00
2012-02-03 10:41:08 -06:00
2012-07-14 11:53:03 +00:00
2012-07-14 11:53:03 +00:00
2012-04-15 21:25:16 +02:00
2012-04-07 14:00:45 +00:00
2011-12-15 09:20:50 -06:00
2011-12-06 10:07:04 +00:00
2011-07-21 16:48:13 -03:00
2012-05-08 14:30:09 -03:00
2012-04-24 09:50:31 -05:00
2011-12-11 17:50:43 -06:00
2011-10-01 09:31:08 +00:00
2012-03-14 22:20:27 +01:00
2011-08-27 15:42:35 +00:00
2011-10-31 21:52:17 +01:00
2012-06-22 10:34:21 +01:00
2012-08-09 18:34:57 +00:00
2011-08-27 15:42:35 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%