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[] = {
|
const char *list[] = {
|
||||||
"guest-suspend-disk", "guest-suspend-ram",
|
"guest-suspend-disk", "guest-suspend-ram",
|
||||||
"guest-suspend-hybrid", "guest-network-get-interfaces",
|
"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;
|
char **p = (char **)list;
|
||||||
|
|
||||||
while (*p) {
|
while (*p) {
|
||||||
|
@ -710,6 +710,8 @@ GList *ga_command_blacklist_init(GList *blacklist)
|
|||||||
"guest-suspend-hybrid", "guest-network-get-interfaces",
|
"guest-suspend-hybrid", "guest-network-get-interfaces",
|
||||||
"guest-get-vcpus", "guest-set-vcpus",
|
"guest-get-vcpus", "guest-set-vcpus",
|
||||||
"guest-set-user-password",
|
"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-fsfreeze-freeze-list", "guest-get-fsinfo",
|
||||||
"guest-fstrim", NULL};
|
"guest-fstrim", NULL};
|
||||||
char **p = (char **)list_unsupported;
|
char **p = (char **)list_unsupported;
|
||||||
|
Loading…
Reference in New Issue
Block a user