qga: add memory block command that unsupported
For memory block command, we only support for linux with sysfs. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
This commit is contained in:
parent
ef82b60be1
commit
0dd38a03f5
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user