OSDN Git Service

qmiga/qemu.git
7 years agoqmp-commands: move 'query-acpi-ospm-status' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:56:06 +0000 (13:56 +0200)]
qmp-commands: move 'query-acpi-ospm-status' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-memory-devices' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:55:05 +0000 (13:55 +0200)]
qmp-commands: move 'query-memory-devices' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-memdev' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:54:38 +0000 (13:54 +0200)]
qmp-commands: move 'query-memdev' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[Straightforward conflict with commit e1ff3c6 resolved]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'input-send-event' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:54:00 +0000 (13:54 +0200)]
qmp-commands: move 'input-send-event' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-rx-filter' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:47:48 +0000 (13:47 +0200)]
qmp-commands: move 'query-rx-filter' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-command-line-options' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:46:31 +0000 (13:46 +0200)]
qmp-commands: move 'query-command-line-options' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-tpm' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:45:12 +0000 (13:45 +0200)]
qmp-commands: move 'query-tpm' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-tpm-types' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:44:16 +0000 (13:44 +0200)]
qmp-commands: move 'query-tpm-types' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-tpm-models' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:43:58 +0000 (13:43 +0200)]
qmp-commands: move 'query-tpm-models' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'chardev-remove' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:42:58 +0000 (13:42 +0200)]
qmp-commands: move 'chardev-remove' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'chardev-add' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:42:29 +0000 (13:42 +0200)]
qmp-commands: move 'chardev-add' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'screendump' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:41:46 +0000 (13:41 +0200)]
qmp-commands: move 'screendump' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'send-key' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:41:20 +0000 (13:41 +0200)]
qmp-commands: move 'send-key' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-fdsets' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:40:29 +0000 (13:40 +0200)]
qmp-commands: move 'query-fdsets' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'remove-fd' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:39:42 +0000 (13:39 +0200)]
qmp-commands: move 'remove-fd' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'add-fd' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:39:05 +0000 (13:39 +0200)]
qmp-commands: move 'add-fd' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'closefd' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:37:08 +0000 (13:37 +0200)]
qmp-commands: move 'closefd' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'getfd' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:35:51 +0000 (13:35 +0200)]
qmp-commands: move 'getfd' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'object-del' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:35:05 +0000 (13:35 +0200)]
qmp-commands: move 'object-del' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'object-add' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:34:37 +0000 (13:34 +0200)]
qmp-commands: move 'object-add' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'netdev_del' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:33:57 +0000 (13:33 +0200)]
qmp-commands: move 'netdev_del' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'netdev_add' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:33:15 +0000 (13:33 +0200)]
qmp-commands: move 'netdev_add' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'dump-skeys' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:31:48 +0000 (13:31 +0200)]
qmp-commands: move 'dump-skeys' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-dump-guest-memory-capability' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:31:04 +0000 (13:31 +0200)]
qmp-commands: move 'query-dump-guest-memory-capability' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'dump-guest-memory' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:29:50 +0000 (13:29 +0200)]
qmp-commands: move 'dump-guest-memory' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'device_del' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:27:06 +0000 (13:27 +0200)]
qmp-commands: move 'device_del' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'xen-set-global-dirty-log' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:26:12 +0000 (13:26 +0200)]
qmp-commands: move 'xen-set-global-dirty-log' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'xen-save-devices-state' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:25:28 +0000 (13:25 +0200)]
qmp-commands: move 'xen-save-devices-state' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'migrate-incoming' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:24:40 +0000 (13:24 +0200)]
qmp-commands: move 'migrate-incoming' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'migrate' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:23:44 +0000 (13:23 +0200)]
qmp-commands: move 'migrate' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'change' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:22:37 +0000 (13:22 +0200)]
qmp-commands: move 'change' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'expire_password' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:21:41 +0000 (13:21 +0200)]
qmp-commands: move 'expire_password' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'set_password' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:20:39 +0000 (13:20 +0200)]
qmp-commands: move 'set_password' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-migrate-cache-size' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:19:25 +0000 (13:19 +0200)]
qmp-commands: move 'query-migrate-cache-size' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'migrate_set_speed' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:18:01 +0000 (13:18 +0200)]
qmp-commands: move 'migrate_set_speed' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'migrate_set_downtime' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:16:59 +0000 (13:16 +0200)]
qmp-commands: move 'migrate_set_downtime' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'migrate_cancel' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:16:09 +0000 (13:16 +0200)]
qmp-commands: move 'migrate_cancel' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'human-monitor-command' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:15:03 +0000 (13:15 +0200)]
qmp-commands: move 'human-monitor-command' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'transaction' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:13:09 +0000 (13:13 +0200)]
qmp-commands: move 'transaction' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'balloon' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:10:30 +0000 (13:10 +0200)]
qmp-commands: move 'balloon' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'set_link' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:09:45 +0000 (13:09 +0200)]
qmp-commands: move 'set_link' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'inject-nmi' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:08:44 +0000 (13:08 +0200)]
qmp-commands: move 'inject-nmi' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'system_wakeup' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:07:39 +0000 (13:07 +0200)]
qmp-commands: move 'system_wakeup' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'cont' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:07:08 +0000 (13:07 +0200)]
qmp-commands: move 'cont' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'pmemsave' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:06:17 +0000 (13:06 +0200)]
qmp-commands: move 'pmemsave' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'memsave' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:05:26 +0000 (13:05 +0200)]
qmp-commands: move 'memsave' doc to schema

Notice that "cpu" argument is actually "cpu-index" in the json.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'cpu-add' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:04:10 +0000 (13:04 +0200)]
qmp-commands: move 'cpu-add' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'system_powerdown' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:03:30 +0000 (13:03 +0200)]
qmp-commands: move 'system_powerdown' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'system_reset' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:03:06 +0000 (13:03 +0200)]
qmp-commands: move 'system_reset' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'stop' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:02:39 +0000 (13:02 +0200)]
qmp-commands: move 'stop' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'quit' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 11:01:27 +0000 (13:01 +0200)]
qmp-commands: move 'quit' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-pci' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 09:44:21 +0000 (11:44 +0200)]
qmp-commands: move 'query-pci' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-balloon' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 09:40:02 +0000 (11:40 +0200)]
qmp-commands: move 'query-balloon' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-spice' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 09:37:09 +0000 (11:37 +0200)]
qmp-commands: move 'query-spice' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-vnc' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 09:36:11 +0000 (11:36 +0200)]
qmp-commands: move 'query-vnc' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-iothreads' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:57:59 +0000 (10:57 +0200)]
qmp-commands: move 'query-iothreads' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-cpus' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:56:56 +0000 (10:56 +0200)]
qmp-commands: move 'query-cpus' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-mice' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:34:48 +0000 (10:34 +0200)]
qmp-commands: move 'query-mice' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'migrate-start-postcopy' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:34:00 +0000 (10:34 +0200)]
qmp-commands: move 'migrate-start-postcopy' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'client_migrate_info' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:32:33 +0000 (10:32 +0200)]
qmp-commands: move 'client_migrate_info' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-migrate-parameters' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:30:37 +0000 (10:30 +0200)]
qmp-commands: move 'query-migrate-parameters' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'migrate-set-parameters' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:28:47 +0000 (10:28 +0200)]
qmp-commands: move 'migrate-set-parameters' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-migrate-capabilities' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:27:13 +0000 (10:27 +0200)]
qmp-commands: move 'query-migrate-capabilities' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'migrate-set-capabilities' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:25:56 +0000 (10:25 +0200)]
qmp-commands: move 'migrate-set-capabilities' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-migrate' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:24:07 +0000 (10:24 +0200)]
qmp-commands: move 'query-migrate' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-events' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:18:23 +0000 (10:18 +0200)]
qmp-commands: move 'query-events' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'ringbuf-read' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:15:59 +0000 (10:15 +0200)]
qmp-commands: move 'ringbuf-read' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'ringbuf-write' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:15:20 +0000 (10:15 +0200)]
qmp-commands: move 'ringbuf-write' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-chardev-backends' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:13:09 +0000 (10:13 +0200)]
qmp-commands: move 'query-chardev-backends' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-chardev' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:12:15 +0000 (10:12 +0200)]
qmp-commands: move 'query-chardev' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-uuid' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:10:54 +0000 (10:10 +0200)]
qmp-commands: move 'query-uuid' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-status' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:10:12 +0000 (10:10 +0200)]
qmp-commands: move 'query-status' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-kvm' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:07:57 +0000 (10:07 +0200)]
qmp-commands: move 'query-kvm' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'query-name' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:07:26 +0000 (10:07 +0200)]
qmp-commands: move 'query-name' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqmp-commands: move 'add_client' doc to schema
Marc-André Lureau [Thu, 23 Jun 2016 08:06:34 +0000 (10:06 +0200)]
qmp-commands: move 'add_client' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agotexi2pod: learn quotation, deftp and deftypefn
Marc-André Lureau [Fri, 13 Jan 2017 14:41:27 +0000 (15:41 +0100)]
texi2pod: learn quotation, deftp and deftypefn

Learn a few more markups used for API documentation.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170113144135.5150-14-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqapi: rework qapi Exception
Marc-André Lureau [Fri, 13 Jan 2017 14:41:25 +0000 (15:41 +0100)]
qapi: rework qapi Exception

Use a base class QAPIError, and QAPIParseError for parser errors and
QAPISemError for semantic errors, suggested by Markus Armbruster.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170113144135.5150-12-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agodocs: add master qapi texi files
Marc-André Lureau [Fri, 13 Jan 2017 14:41:24 +0000 (15:41 +0100)]
docs: add master qapi texi files

The qapi2texi script generates a file to be included in a texi file. Add
"QEMU QMP Reference Manual" and "QEMU Guest Agent Protocol Reference"
master texi files.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170113144135.5150-11-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqapi: add some sections in docs
Marc-André Lureau [Fri, 13 Jan 2017 14:41:23 +0000 (15:41 +0100)]
qapi: add some sections in docs

Add some more section titles to organize the documentation we're going
to generate.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170113144135.5150-10-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqapi: Move "command is experimental" notes down
Marc-André Lureau [Fri, 13 Jan 2017 14:41:22 +0000 (15:41 +0100)]
qapi: Move "command is experimental" notes down

Move these notes down and prefix with "Note:", to please the doc
generator we're going to add.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170113144135.5150-9-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqapi: Reorder doc comments for future doc generator
Marc-André Lureau [Fri, 13 Jan 2017 14:41:21 +0000 (15:41 +0100)]
qapi: Reorder doc comments for future doc generator

The doc generator we're going to add expects a fairly rigid doc
comment structure.  Reorder / rephrase some doc comments to please it.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170113144135.5150-8-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message rewritten]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqga/schema: improve guest-set-vcpus Returns: section
Marc-André Lureau [Fri, 13 Jan 2017 14:41:20 +0000 (15:41 +0100)]
qga/schema: improve guest-set-vcpus Returns: section

Itemize the possible return values of guest-set-vcpus.

Drop the blank lines for consistency with itemized
lists elsewhere.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170113144135.5150-7-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqapi: improve TransactionAction doc
Marc-André Lureau [Fri, 13 Jan 2017 14:41:19 +0000 (15:41 +0100)]
qapi: improve TransactionAction doc

TransactionAction is a flat union, document 'type' versions
exhaustively, and sort the members.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170113144135.5150-6-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqapi: improve device_add schema
Marc-André Lureau [Fri, 13 Jan 2017 14:41:18 +0000 (15:41 +0100)]
qapi: improve device_add schema

'device_add' is still incomplete for now, but we can fix a few
arguments:
- 'bus' is a common argument, regardless of the device
- 'id' is an optional argument

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170113144135.5150-5-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqapi: Format TODO comments more consistently
Marc-André Lureau [Fri, 13 Jan 2017 14:41:17 +0000 (15:41 +0100)]
qapi: Format TODO comments more consistently

Consistently put a colon after TODO.  This will make the TODOs stand
out in the documentation we're going to generate.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170113144135.5150-4-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Commit message rewritten]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqapi: move QKeyCode doc body at the top
Marc-André Lureau [Fri, 13 Jan 2017 14:41:16 +0000 (15:41 +0100)]
qapi: move QKeyCode doc body at the top

Following documentation guidelines.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170113144135.5150-3-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoqapi: replace 'o' for list items
Marc-André Lureau [Fri, 13 Jan 2017 14:41:15 +0000 (15:41 +0100)]
qapi: replace 'o' for list items

Replace with '*', the common form for list items.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170113144135.5150-2-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years agoMerge remote-tracking branch 'remotes/ehabkost/tags/x86-and-machine-pull-request...
Peter Maydell [Fri, 13 Jan 2017 14:38:21 +0000 (14:38 +0000)]
Merge remote-tracking branch 'remotes/ehabkost/tags/x86-and-machine-pull-request' into staging

x86 and machine queue, 2017-01-17

Includes i386, CPU, NUMA, and memory backends changes.

i386:
 target/i386: Fix bad patch application to translate.c

CPU:
 qmp: Report QOM type name on query-cpu-definitions

NUMA:
 numa: make -numa parser dynamically allocate CPUs masks

Memory backends:
 qom: remove unused header
 monitor: reuse user_creatable_add_opts() instead of user_creatable_add()
 monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends

# gpg: Signature made Thu 12 Jan 2017 17:53:11 GMT
# gpg:                using RSA key 0x2807936F984DC5A6
# gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>"
# Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6

* remotes/ehabkost/tags/x86-and-machine-pull-request:
  qmp: Report QOM type name on query-cpu-definitions
  numa: make -numa parser dynamically allocate CPUs masks
  target/i386: Fix bad patch application to translate.c
  monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends
  monitor: reuse user_creatable_add_opts() instead of user_creatable_add()
  qom: remove unused header

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
7 years agoMerge remote-tracking branch 'remotes/stsquad/tags/pull-travis-20170112-1' into staging
Peter Maydell [Fri, 13 Jan 2017 14:02:30 +0000 (14:02 +0000)]
Merge remote-tracking branch 'remotes/stsquad/tags/pull-travis-20170112-1' into staging

A couple of fixes to reduce the matrix some more that just missed the
last iteration.

# gpg: Signature made Thu 12 Jan 2017 13:01:49 GMT
# gpg:                using RSA key 0xFBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>"
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* remotes/stsquad/tags/pull-travis-20170112-1:
  travis: add Trusty with clang stable build
  travis: trim out most clang builds

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
7 years agosdl2: fix build failure on windows
Gerd Hoffmann [Fri, 13 Jan 2017 08:14:45 +0000 (09:14 +0100)]
sdl2: fix build failure on windows

Cc: Stefan Weil <sw@weilnetz.de>
Cc: Samuel Thibault <samuel.thibault@gnu.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1484295285-8809-1-git-send-email-kraxel@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
7 years agoMerge remote-tracking branch 'remotes/bkoppelmann/tags/pull-tricore-2017-01-11-2...
Peter Maydell [Thu, 12 Jan 2017 18:29:49 +0000 (18:29 +0000)]
Merge remote-tracking branch 'remotes/bkoppelmann/tags/pull-tricore-2017-01-11-2' into staging

TriCore FPU patches

# gpg: Signature made Wed 11 Jan 2017 13:40:11 GMT
# gpg:                using RSA key 0x0AD2C6396B69CA14
# gpg: Good signature from "Bastian Koppelmann <kbastian@mail.uni-paderborn.de>"
# Primary key fingerprint: 6E63 6A7E 83F2 DD0C FA6E  6E37 0AD2 C639 6B69 CA14

* remotes/bkoppelmann/tags/pull-tricore-2017-01-11-2:
  target-tricore: Add updfl instruction
  target-tricore: Added new JNE instruction variant
  target-tricore: Added new MOV instruction variant
  target-tricore: Added MADD.F and MSUB.F instructions
  target-tricore: Added FTOUZ instruction

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
7 years agoMerge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20170111-1' into staging
Peter Maydell [Thu, 12 Jan 2017 17:51:41 +0000 (17:51 +0000)]
Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20170111-1' into staging

vga: fixes for virtio-gpu and cirrus.

# gpg: Signature made Wed 11 Jan 2017 10:24:24 GMT
# gpg:                using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/pull-vga-20170111-1:
  virtio-gpu: tag as not hotpluggable
  virtio-gpu: Fix memory leak in virtio_gpu_load()
  virtio-gpu: Recalculate VirtIOGPU::hostmem on VM load
  display: cirrus: ignore source pitch value as needed in blit_is_unsafe
  virtio-gpu: fix information leak in capset get dispatch

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
7 years agoqmp: Report QOM type name on query-cpu-definitions
Eduardo Habkost [Wed, 16 Nov 2016 18:21:39 +0000 (16:21 -0200)]
qmp: Report QOM type name on query-cpu-definitions

The new typename attribute on query-cpu-definitions will be used
to help management software use device-list-properties to check
which properties can be set using -cpu or -global for the CPU
model.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <1479320499-29818-1-git-send-email-ehabkost@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 years agonuma: make -numa parser dynamically allocate CPUs masks
Igor Mammedov [Fri, 18 Nov 2016 11:02:54 +0000 (12:02 +0100)]
numa: make -numa parser dynamically allocate CPUs masks

so it won't impose an additional limits on max_cpus limits
supported by different targets.

It removes global MAX_CPUMASK_BITS constant and need to
bump it up whenever max_cpus is being increased for
a target above MAX_CPUMASK_BITS value.

Use runtime max_cpus value instead to allocate sufficiently
sized node_cpu bitmasks in numa parser.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1479466974-249781-1-git-send-email-imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
[ehabkost: Added asserts to ensure cpu_index < max_cpus]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 years agotarget/i386: Fix bad patch application to translate.c
Doug Evans [Sat, 24 Dec 2016 20:29:33 +0000 (20:29 +0000)]
target/i386: Fix bad patch application to translate.c

In commit c52ab08aee6f7d4717fc6b517174043126bd302f,
the patch snippet for the "syscall" insn got applied to "iret".

Signed-off-by: Doug Evans <dje@google.com>
Message-Id: <f403045cde4049058c05446d5c04@google.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 years agomonitor: fix qmp/hmp query-memdev not reporting IDs of memory backends
Igor Mammedov [Tue, 10 Jan 2017 12:53:15 +0000 (13:53 +0100)]
monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends

Considering 'id' is mandatory for user_creatable objects/backends
and user_creatable_add_type() always has it as an argument
regardless of where from it is called CLI/monitor or QMP,
Fix issue by adding 'id' property to hostmem backends and
set it in user_creatable_add_type() for every object that
implements 'id' property. Then later at query-memdev time
get 'id' from object directly.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <1484052795-158195-4-git-send-email-imammedo@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 years agomonitor: reuse user_creatable_add_opts() instead of user_creatable_add()
Igor Mammedov [Tue, 10 Jan 2017 12:53:14 +0000 (13:53 +0100)]
monitor: reuse user_creatable_add_opts() instead of user_creatable_add()

Simplify code by dropping ~57LOC by merging user_creatable_add()
into user_creatable_add_opts() and using the later from monitor.
Along with it allocate opts_visitor_new() once in user_creatable_add_opts().

As result we have one less API func and a more readable/simple
user_creatable_add_opts() vs user_creatable_add().

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1484052795-158195-3-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 years agoMerge remote-tracking branch 'remotes/kraxel/tags/pull-audio-20170111-1' into staging
Peter Maydell [Thu, 12 Jan 2017 15:57:18 +0000 (15:57 +0000)]
Merge remote-tracking branch 'remotes/kraxel/tags/pull-audio-20170111-1' into staging

audio: qomify drivers, hotplug fixes.

# gpg: Signature made Wed 11 Jan 2017 09:32:09 GMT
# gpg:                using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/pull-audio-20170111-1:
  es1370: wire up reset via DeviceClass
  audio: ac97: add exit function
  audio: es1370: add exit function
  hw/audio: QOM'ify pl041.c
  hw/audio: QOM'ify marvell_88w8618.c

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
7 years agoqom: remove unused header
Igor Mammedov [Tue, 10 Jan 2017 12:53:13 +0000 (13:53 +0100)]
qom: remove unused header

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1484052795-158195-2-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 years agoMerge remote-tracking branch 'remotes/rth/tags/pull-tcg-20170110' into staging
Peter Maydell [Thu, 12 Jan 2017 13:21:32 +0000 (13:21 +0000)]
Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20170110' into staging

TCG opcodes for extract, clz, ctz, ctpop

# gpg: Signature made Wed 11 Jan 2017 02:12:41 GMT
# gpg:                using RSA key 0xAD1270CC4DD0279B
# gpg: Good signature from "Richard Henderson <rth7680@gmail.com>"
# gpg:                 aka "Richard Henderson <rth@redhat.com>"
# gpg:                 aka "Richard Henderson <rth@twiddle.net>"
# Primary key fingerprint: 9CB1 8DDA F8E8 49AD 2AFC  16A4 AD12 70CC 4DD0 279B

* remotes/rth/tags/pull-tcg-20170110: (65 commits)
  tcg/i386: Handle ctpop opcode
  tcg/ppc: Handle ctpop opcode
  tcg: Use ctpop to generate ctz if needed
  tests: New test-bitcnt
  qemu/host-utils.h: Reduce the operation count in the fallback ctpop
  target-i386: Use ctpop helper
  target-tilegx: Use ctpop helper
  target-sparc: Use ctpop helper
  target-s390x: Avoid a loop for popcnt
  target-ppc: Use ctpop helper
  target-alpha: Use ctpop helper
  tcg: Add opcode for ctpop
  target-xtensa: Use clrsb helper
  target-tricore: Use clrsb helper
  target-arm: Use clrsb helper
  tcg: Add helpers for clrsb
  tcg/i386: Rely on undefined/undocumented behaviour of BSF/BSR
  tcg/i386: Handle ctz and clz opcodes
  tcg/i386: Allow bmi2 shiftx to have non-matching operands
  tcg/i386: Hoist common arguments in tcg_out_op
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>