diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2015-01-22 10:40:06 +0800 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2015-02-17 16:21:50 -0600 |
commit | 0dd38a03f5e1498aabf7d053a9fab792a5eeec5c (patch) | |
tree | e4049a9325d64684570d8fc2ee15bcf3ddabae33 | |
parent | ef82b60be13b18198b84a2157f59c50fd53f5408 (diff) | |
download | hqemu-0dd38a03f5e1498aabf7d053a9fab792a5eeec5c.zip hqemu-0dd38a03f5e1498aabf7d053a9fab792a5eeec5c.tar.gz |
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>
-rw-r--r-- | qga/commands-posix.c | 4 | ||||
-rw-r--r-- | qga/commands-win32.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/qga/commands-posix.c b/qga/commands-posix.c index 6575c49..d5bb5cb 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) { diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 990a8dd..0238fbb 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -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; |