]> git.proxmox.com Git - mirror_qemu.git/commit - qga/qapi-schema.json
guest agent: add supported command list to guest-info RPC
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 7 Dec 2011 04:03:43 +0000 (22:03 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Dec 2011 23:06:21 +0000 (17:06 -0600)
commitbf95c0d55c24e8ce1c03e1ba491437297f8f96f4
treeb389cce1a05698fcb908d44723ce5fe96a6773e1
parentabd6cf6d8e6be55a6535bf27b692bdf520462c15
guest agent: add supported command list to guest-info RPC

Not that there is blacklisting functionality we can no longer infer
the agent's capabilities via version. This patch extends the current
guest-info RPC to also return a list of dictionaries containing the name
of each supported RPC, along with a boolean indicating whether or not
the command has been disabled by a guest administrator/distro.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qapi-schema-guest.json
qapi/qmp-core.h
qapi/qmp-registry.c
qga/guest-agent-commands.c