Skip to content

Commit

Permalink
qga: add memory block command that unsupported
Browse files Browse the repository at this point in the history
For memory block command, we only support for linux with sysfs.

Signed-off-by: zhanghailiang <[email protected]>
Reviewed-by: Michael Roth <[email protected]>
Signed-off-by: Michael Roth <[email protected]>
  • Loading branch information
colo-ft authored and mdroth committed Feb 17, 2015
1 parent ef82b60 commit 0dd38a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qga/commands-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -2415,7 +2415,9 @@ GList *ga_command_blacklist_init(GList *blacklist)
const char *list[] = {
"guest-suspend-disk", "guest-suspend-ram",
"guest-suspend-hybrid", "guest-network-get-interfaces",
"guest-get-vcpus", "guest-set-vcpus", NULL};
"guest-get-vcpus", "guest-set-vcpus",
"guest-get-memory-blocks", "guest-set-memory-blocks",
"guest-get-memory-block-size", NULL};
char **p = (char **)list;

while (*p) {
Expand Down
2 changes: 2 additions & 0 deletions qga/commands-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,8 @@ GList *ga_command_blacklist_init(GList *blacklist)
"guest-suspend-hybrid", "guest-network-get-interfaces",
"guest-get-vcpus", "guest-set-vcpus",
"guest-set-user-password",
"guest-get-memory-blocks", "guest-set-memory-blocks",
"guest-get-memory-block-size",
"guest-fsfreeze-freeze-list", "guest-get-fsinfo",
"guest-fstrim", NULL};
char **p = (char **)list_unsupported;
Expand Down

0 comments on commit 0dd38a0

Please sign in to comment.