mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43: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
|
@ -1144,6 +1144,7 @@ int main(int argc, char **argv)
|
|||
goto out_bad;
|
||||
}
|
||||
|
||||
blacklist = ga_command_blacklist_init(blacklist);
|
||||
if (blacklist) {
|
||||
s->blacklist = blacklist;
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue