Statistics
| Branch: | Revision:

root / qapi-schema.json @ c09015dd

History | View | Annotate | Download (35.3 kB)

# Date Author Comment
b4b12c62 12/15/2011 05:20 pm Anthony Liguori

qmp: add qom-list command

This can be used to list properties in the device model.

Signed-off-by: Anthony Liguori <>

eb6e8ea5 12/15/2011 05:20 pm Anthony Liguori

qom: qom_{get, set} monitor commands (v2)

This allows clients to read and write device model properties through QMP. QAPI
doesn't support Visitor types yet and these commands are special in that they
don't work with fixed types.

I've added a documentation stub to qapi-schema.json so we can keep consistency...

6d3962bf 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert pmemsave

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

e42e818b 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert cont

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

ab49ab5c 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert inject-nmi

Signed-off-by: Luiz Capitulino <>

4b37156c 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert set_link

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

a4dea8a9 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert block_passwd

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

d72f3264 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert balloon

Note that the command being dropped uses the deprecated MONITOR_CMD_ASYNC
API, but the new command is a regular synchronous command. There shouldn't
be visible differences though, as MONITOR_CMD_ASYNC is internal only.

Signed-off-by: Anthony Liguori <>...

5e7caacb 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert block_resize

Signed-off-by: Luiz Capitulino <>

6106e249 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert blockdev_snapshot_sync

Unfortunately, this conversion required an additional change.

In the old QMP command, the 'snapshot-file' argument is specified as
optional. The idea is to take the snapshot internally if 'snapshot-file'
is not passed. However, internal snapshots are not supported yet so...

d51a67b4 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert human-monitor-command

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

6cdedb07 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert migrate_cancel

Signed-off-by: Luiz Capitulino <>

4f0a993b 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert migrate_set_downtime

Signed-off-by: Luiz Capitulino <>

3dc85383 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert migrate_set_speed

Signed-off-by: Luiz Capitulino <>

0cfd6a9a 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert memsave

Please, note that the QMP command has a new 'cpu-index' parameter.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

727f005e 12/05/2011 03:51 pm Zhi Yong Wu

hmp/qmp: add block_set_io_throttle

Signed-off-by: Zhi Yong Wu <>
Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

de0b36b6 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-cpus

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

b2023818 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-block

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

f11f57e4 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-blockstats

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

2b54aa87 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-vnc

There are three important remarks in relation to the non-qapi command:

1. This commit also fixes the behavior of the 'query-vnc' and 'info vnc'
commands to return an error when qemu is built without VNC support
(ie. --disable-vnc). The non-qapi command would return the OK...
d1f29646 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-spice

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

96637bcd 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-balloon

Please, note that some of the code supporting memory statistics is
still around (eg. virtio_balloon_receive_stats() and reset_stats()).

Also, the qmp_query_balloon() function is synchronous and thus doesn't
make any use of the (not fully working) monitor's asynchronous command...

79627472 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-pci

This also fixes a bug with the old version: QMP would invert device id
and vendor id. This would look ok on HMP because it was printing
"device:vendor" instead of "vendor:device".

Signed-off-by: Anthony Liguori <>...

e235cec3 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-mice

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

791e7c82 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-migrate

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

755f1968 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert the cpu command

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

292a2602 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-kvm

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

1fa9a5e4 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-status

Please, note that the RunState type as defined in sysemu.h and its
runstate_as_string() function are being dropped in favor of the
RunState type generated by the QAPI.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

efab767e 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-uuid

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

c5a415a0 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-chardev

Reviewed-by: Michael Roth <>
Tested-by: Michael Roth <>
Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

aa9b79bc 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-commands

Signed-off-by: Luiz Capitulino <>

7a7f325e 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert quit

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

5f158f21 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert stop

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

38d22653 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert system_reset

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

5bc465e4 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert system_powerdown

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

48a32bed 10/04/2011 05:01 pm Anthony Liguori

qapi: convert query-name

A simple example conversion 'info name'. This also adds the new files for
QMP and HMP.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

b9c15f16 10/04/2011 05:01 pm Luiz Capitulino

qapi: Convert query-version

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

e3193601 10/04/2011 05:00 pm Anthony Liguori

qapi: use middle mode in QMP server

Use the new middle mode within the existing QMP server.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>