summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
Commit message (Collapse)AuthorAgeFilesLines
...
* COLO: Don't process failover request while loading VM's statezhanghailiang2017-02-131-1/+3
| | | | | | | | | | | | | | | | | | We should not do failover work while the main thread is loading VM's state. Otherwise the consistent of VM's memory and device state will be broken. We will restart the loading process after jump over the stage, The new failover status 'RELAUNCH' will help to record if we need to restart the process. Cc: Eric Blake <eblake@redhat.com> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <1484657864-21708-4-git-send-email-zhang.zhanghailiang@huawei.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Added a missing '(Since 2.9)'
* add 'release-ram' migrate capabilityPavel Butsykin2017-02-131-1/+4
| | | | | | | | | | | | | | This feature frees the migrated memory on the source during postcopy-ram migration. In the second step of postcopy-ram migration when the source vm is put on pause we can free unnecessary memory. It will allow, in particular, to start relaxing the memory stress on the source host in a load-balancing scenario. Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com> Message-Id: <20170203152321.19739-3-pbutsykin@virtuozzo.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Manually merged in Pavel's 'migration: madvise error_report fixup!'
* ui: fix reporting of VNC auth in query-vnc-serversDaniel P. Berrange2017-02-081-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the VNC authentication info is emitted at the top level of the query-vnc-servers data. This is wrong because the authentication scheme differs between plain and websockets when TLS is enabled. We should instead report auth against the individual servers. e.g. (QEMU) query-vnc-servers { "return": [ { "clients": [], "id": "default", "auth": "vencrypt", "vencrypt": "x509-vnc", "server": [ { "host": "127.0.0.1" "service": "5901", "websocket": false, "family": "ipv4", "auth": "vencrypt", "vencrypt": "x509-vnc" }, { "host": "127.0.0.1", "service": "5902", "websocket": true, "family": "ipv4", "auth": "vnc" } ] } ] } This also future proofs the QMP schema so that we can cope with multiple VNC server instances, listening on different interfaces or ports, with different auth setup. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 20170203120649.15637-3-berrange@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* qapi: add support for mice with extra/side buttonsFabian Lesniak2017-01-311-1/+6
| | | | | | | | | Adds "side" and "extra" values to enum InputButton. The naming was borrowed from evdev since it is more descriptive than "button4" and "button5". Signed-off-by: Fabian Lesniak <fabian@lesniak-it.de> Message-id: 20161206190007.7539-2-fabian@lesniak-it.de Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* qapi: Remove unwanted commas after #optional keywordStefan Weil2017-01-271-2/+2
| | | | | | | | | | We don't want that commas to be part of the generated documentation, so remove them. Signed-off-by: Stefan Weil <sw@weilnetz.de> Message-Id: <20170122145407.27476-1-sw@weilnetz.de> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* sockets: add ability to disable DNS resolution for InetSocketAddressDaniel P. Berrange2017-01-231-0/+5
| | | | | | | | | | | Add a 'numeric' flag to the InetSocketAddress struct to allow the caller to indicate that DNS should be skipped for the host/port fields. This is useful if the caller knows the address is already numeric and wants to guarantee no (potentially blocking) DNS lookups are attempted. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* qmp-commands: move documentation bits to schemaMarc-André Lureau2017-01-161-1/+48
| | | | | | | | Moving the remaining bits of documentation to the json file (text improvements is not the objective of this patch) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'x-colo-lost-heartbeat' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'xen-load-devices-state' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'migrate-set-cache-size' doc to schemaMarc-André Lureau2017-01-161-1/+8
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-dump' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-gic-capabilities' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-hotpluggable-cpus' doc to schemaMarc-André Lureau2017-01-161-0/+28
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'rtc-reset-reinjection' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-acpi-ospm-status' doc to schemaMarc-André Lureau2017-01-161-2/+12
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-memory-devices' doc to schemaMarc-André Lureau2017-01-161-0/+16
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-memdev' doc to schemaMarc-André Lureau2017-01-161-0/+25
| | | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> [Straightforward conflict with commit e1ff3c6 resolved] Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'input-send-event' doc to schemaMarc-André Lureau2017-01-161-3/+45
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-rx-filter' doc to schemaMarc-André Lureau2017-01-161-0/+30
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-command-line-options' doc to schemaMarc-André Lureau2017-01-161-0/+22
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-tpm' doc to schemaMarc-André Lureau2017-01-161-0/+19
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-tpm-types' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-tpm-models' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'chardev-remove' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'chardev-add' doc to schemaMarc-André Lureau2017-01-161-0/+19
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'screendump' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'send-key' doc to schemaMarc-André Lureau2017-01-161-0/+8
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-fdsets' doc to schemaMarc-André Lureau2017-01-161-0/+31
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'remove-fd' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'add-fd' doc to schemaMarc-André Lureau2017-01-161-0/+8
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'closefd' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'getfd' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'object-del' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'object-add' doc to schemaMarc-André Lureau2017-01-161-0/+8
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'netdev_del' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'netdev_add' doc to schemaMarc-André Lureau2017-01-161-0/+8
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'dump-skeys' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-dump-guest-memory-capability' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'dump-guest-memory' doc to schemaMarc-André Lureau2017-01-161-0/+9
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'device_del' doc to schemaMarc-André Lureau2017-01-161-1/+12
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'xen-set-global-dirty-log' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'xen-save-devices-state' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'migrate-incoming' doc to schemaMarc-André Lureau2017-01-161-3/+18
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'migrate' doc to schemaMarc-André Lureau2017-01-161-0/+16
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'change' doc to schemaMarc-André Lureau2017-01-161-0/+17
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'expire_password' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'set_password' doc to schemaMarc-André Lureau2017-01-161-0/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'query-migrate-cache-size' doc to schemaMarc-André Lureau2017-01-161-1/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'migrate_set_speed' doc to schemaMarc-André Lureau2017-01-161-1/+7
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* qmp-commands: move 'migrate_set_downtime' doc to schemaMarc-André Lureau2017-01-161-0/+6
| | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>