Skip to content

Commit

Permalink
qga: Add "guest-get-memory-block-info" to blacklist
Browse files Browse the repository at this point in the history
Memory block commands are only supported for linux with sysfs,
"guest-get-memory-block-info" was not in blacklist for other
cases.

Reported on:
https://bugzilla.redhat.com/show_bug.cgi?id=1751431

Signed-off-by: Basil Salman <bsalman@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
  • Loading branch information
Basil Salman authored and mdroth committed Nov 4, 2019
1 parent a18025f commit 28d8dd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion qga/commands-posix.c
Expand Up @@ -2730,7 +2730,8 @@ GList *ga_command_blacklist_init(GList *blacklist)
"guest-suspend-hybrid", "guest-network-get-interfaces",
"guest-get-vcpus", "guest-set-vcpus",
"guest-get-memory-blocks", "guest-set-memory-blocks",
"guest-get-memory-block-size", NULL};
"guest-get-memory-block-size", "guest-get-memory-block-info",
NULL};
char **p = (char **)list;

while (*p) {
Expand Down
2 changes: 1 addition & 1 deletion qga/commands-win32.c
Expand Up @@ -1894,7 +1894,7 @@ GList *ga_command_blacklist_init(GList *blacklist)
"guest-suspend-hybrid",
"guest-set-vcpus",
"guest-get-memory-blocks", "guest-set-memory-blocks",
"guest-get-memory-block-size",
"guest-get-memory-block-size", "guest-get-memory-block-info",
NULL};
char **p = (char **)list_unsupported;

Expand Down

0 comments on commit 28d8dd3

Please sign in to comment.