Statistics
| Branch: | Revision:

root / include / qapi @ 9c06a1f7

Name Size
  qmp
dealloc-visitor.h 585 Bytes
error.h 2.8 kB
opts-visitor.h 1.1 kB
qmp-input-visitor.h 650 Bytes
qmp-output-visitor.h 645 Bytes
string-input-visitor.h 594 Bytes
string-output-visitor.h 656 Bytes
visitor-impl.h 3 kB
visitor.h 2.7 kB

Latest revisions

# Date Author Comment
ac458e12 03/04/2014 08:12 pm Peter Maydell

Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-03-04' into staging

trivial patches for 2014-03-04

  1. gpg: Signature made Tue 04 Mar 2014 06:13:56 GMT using RSA key ID 74F0C838
  2. gpg: Good signature from "Michael Tokarev <>"...
aa830cdc 03/03/2014 07:45 am Peter Maydell

qjson.h: Remove spurious GCC_FMT_ATTR markup from qobject_from_json() declaration

The function qobject_from_json() doesn't actually allow its
argument to be a format string -- it passes a NULL va_list*
to qobject_from_jsonv(), and the parser code will then never...

ffe9fe3a 02/28/2014 08:39 pm Hani Benhabiles

qerror: Improve QERR_DEVICE_NOT_ACTIVE message

The error message as currently used is confusing as there are no "balloon" or
"spice" devices.

(qemu) balloon 1024
balloon: Device 'balloon' has not been activated

With this patch:

(qemu) balloon 1024
balloon: No balloon device has been activated...

0b7593e0 02/14/2014 10:12 pm Paolo Bonzini

qapi: Add human mode to StringOutputVisitor

This will be used by "info qtree". For numbers it prints both the
decimal and hex values. For sizes it rounds to the nearest power
of 2^10. For strings, it puts quotes around the string and separates
NULL and empty string....

05a8c222 01/22/2014 01:07 pm Max Reitz

qdict: Add qdict_array_split()

This function splits a QDict consisting of entries prefixed by
incrementally enumerated indices into a QList of QDicts.

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

59427871 01/06/2014 10:02 pm Peter Crosthwaite

qerror: Remove assert_no_error()

This is no longer needed, and is obsoleted by error_abort. Remove.

Signed-off-by: Peter Crosthwaite <>
Reviewed-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

5d24ee70 01/06/2014 09:01 pm Peter Crosthwaite

error: Add error_abort

Add a special Error * that can be passed to error handling APIs to
signal that any errors are fatal and should abort QEMU. There are two
advantages to this:

- allows for brevity when wishing to assert success of Error **
accepting APIs. No need for this pattern:...

cff8b2c6 01/06/2014 08:45 pm Paolo Bonzini

monitor: add object-add (QMP) and object_add (HMP) command

Add two commands that are the monitor counterparts of -object. The commands
have the same Visitor-based implementation, but use different kinds of
visitors so that the HMP command has a DWIM string-based syntax, while...

8dc4d915 10/10/2013 10:52 pm Mark Wu

qemu-ga: Add interface to traverse the qmp command list by QmpCommand

In the original code, qmp_get_command_list is used to construct
a list of all commands' name. To get the information of all qga
commands, it traverses the name list and search the command info...

0106dc4f 10/10/2013 10:52 pm Mark Wu

qemu-ga: Extend 'guest-info' command to expose flag 'success-response'

Now we have several qemu-ga commands not returning response on success.
It has been documented in qga/qapi-schema.json already. This patch exposes
the 'success-response' flag by extending 'guest-info' command. With this...

View revisions

Also available in: Atom