aboutsummaryrefslogtreecommitdiff
path: root/qga/commands-posix.c
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2015-01-22 10:40:06 +0800
committerMichael Roth <mdroth@linux.vnet.ibm.com>2015-02-17 16:21:50 -0600
commit0dd38a03f5e1498aabf7d053a9fab792a5eeec5c (patch)
treee4049a9325d64684570d8fc2ee15bcf3ddabae33 /qga/commands-posix.c
parentef82b60be13b18198b84a2157f59c50fd53f5408 (diff)
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>
Diffstat (limited to 'qga/commands-posix.c')
-rw-r--r--qga/commands-posix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index 6575c49191..d5bb5cb5da 100644
--- a/qga/commands-posix.c
+++ b/qga/commands-posix.c
@@ -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) {