mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
46d4c5723e
commit
1281c08a46
4 changed files with 71 additions and 1 deletions
|
@ -19,6 +19,7 @@ typedef struct GAState GAState;
|
|||
typedef struct GACommandState GACommandState;
|
||||
extern GAState *ga_state;
|
||||
|
||||
GList *ga_command_blacklist_init(GList *blacklist);
|
||||
void ga_command_state_init(GAState *s, GACommandState *cs);
|
||||
void ga_command_state_add(GACommandState *cs,
|
||||
void (*init)(void),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue