Message ID | 1417849159-6568-7-git-send-email-zhang.zhanghailiang@huawei.com |
---|---|
State | New |
Headers | show |
Quoting zhanghailiang (2014-12-06 00:59:19) > 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> > --- > qga/commands-posix.c | 4 +++- > qga/commands-win32.c | 2 ++ > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/qga/commands-posix.c b/qga/commands-posix.c > index 02c6b44..b701108 100644 > --- a/qga/commands-posix.c > +++ b/qga/commands-posix.c > @@ -2228,7 +2228,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 b53b679..dd7031a 100644 > --- a/qga/commands-win32.c > +++ b/qga/commands-win32.c > @@ -473,6 +473,8 @@ GList *ga_command_blacklist_init(GList *blacklist) > "guest-file-write", "guest-file-seek", "guest-file-flush", > "guest-suspend-hybrid", "guest-network-get-interfaces", > "guest-get-vcpus", "guest-set-vcpus", > + "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; > -- > 1.7.12.4
diff --git a/qga/commands-posix.c b/qga/commands-posix.c index 02c6b44..b701108 100644 --- a/qga/commands-posix.c +++ b/qga/commands-posix.c @@ -2228,7 +2228,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 b53b679..dd7031a 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -473,6 +473,8 @@ GList *ga_command_blacklist_init(GList *blacklist) "guest-file-write", "guest-file-seek", "guest-file-flush", "guest-suspend-hybrid", "guest-network-get-interfaces", "guest-get-vcpus", "guest-set-vcpus", + "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;
For memory block command, we only support for linux with sysfs. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> --- qga/commands-posix.c | 4 +++- qga/commands-win32.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-)