]> git.proxmox.com Git - mirror_qemu.git/commit - qga/commands-win32.c
qga: Disable unsupported commands by default
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>
Mon, 30 Jun 2014 21:51:40 +0000 (17:51 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 7 Aug 2014 22:15:53 +0000 (17:15 -0500)
commit1281c08a46df94a66acca140bafc1785c0fcd47f
tree666a303743ddc930d1c2996ced364c8d00556406
parent46d4c5723e438be0fa564b8adeefed8f40f4a6ca
qga: Disable unsupported commands by default

Currently management softwares cannot know whether a qemu-ga command is
supported or not on the running platform until they actually execute it.
This patch disables unsupported commands at launch time of qemu-ga, so that
management softwares can check whether they are supported from 'enabled'
property of the result from 'guest-info' command.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c
qga/commands-win32.c
qga/guest-agent-core.h
qga/main.c