From 1281c08a46df94a66acca140bafc1785c0fcd47f Mon Sep 17 00:00:00 2001 From: Tomoki Sekiyama Date: Mon, 30 Jun 2014 17:51:40 -0400 Subject: 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 Signed-off-by: Michael Roth --- qga/guest-agent-core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qga/guest-agent-core.h') diff --git a/qga/guest-agent-core.h b/qga/guest-agent-core.h index e422208b4e..e92c6abafb 100644 --- a/qga/guest-agent-core.h +++ b/qga/guest-agent-core.h @@ -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), -- cgit v1.2.3