qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/1] qga: Add "guest-get-memory-block-info" to blacklist


From: Marc-André Lureau
Subject: Re: [PATCH 1/1] qga: Add "guest-get-memory-block-info" to blacklist
Date: Thu, 31 Oct 2019 19:28:46 +0100

On Thu, Oct 17, 2019 at 2:35 PM Basil Salman <address@hidden> wrote:
>
> From: Basil Salman <address@hidden>
>
> Memory block commands are only supported for linux with sysfs,
> "guest-get-memory-block-info" was not in blacklist for other
> cases.
>
> Reported on:
> https://bugzilla.redhat.com/show_bug.cgi?id=1751431
>
> Signed-off-by: Basil Salman <address@hidden>

Reviewed-by: Marc-André Lureau <address@hidden>

> ---
>  qga/commands-posix.c | 3 ++-
>  qga/commands-win32.c | 2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/qga/commands-posix.c b/qga/commands-posix.c
> index dfc05f5b8a..1c1a165dae 100644
> --- a/qga/commands-posix.c
> +++ b/qga/commands-posix.c
> @@ -2730,7 +2730,8 @@ GList *ga_command_blacklist_init(GList *blacklist)
>              "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", NULL};
> +            "guest-get-memory-block-size", "guest-get-memory-block-info",
> +            NULL};
>          char **p = (char **)list;
>
>          while (*p) {
> diff --git a/qga/commands-win32.c b/qga/commands-win32.c
> index 6b67f16faf..1c9ec9c094 100644
> --- a/qga/commands-win32.c
> +++ b/qga/commands-win32.c
> @@ -1894,7 +1894,7 @@ GList *ga_command_blacklist_init(GList *blacklist)
>          "guest-suspend-hybrid",
>          "guest-set-vcpus",
>          "guest-get-memory-blocks", "guest-set-memory-blocks",
> -        "guest-get-memory-block-size",
> +        "guest-get-memory-block-size", "guest-get-memory-block-info",
>          NULL};
>      char **p = (char **)list_unsupported;
>
> --
> 2.17.2
>
>


-- 
Marc-André Lureau



reply via email to

[Prev in Thread] Current Thread [Next in Thread]