qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 3/4] memory: Fix memory_region 'priority' property sign


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 3/4] memory: Fix memory_region 'priority' property sign
Date: Sat, 27 Mar 2021 14:57:12 +0100

ping?

On Thu, Apr 5, 2018 at 3:23 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> Priorities can be negative, fix this limitation.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  memory.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/memory.c b/memory.c
> index e77f9e4036..eaa5fa7f23 100644
> --- a/memory.c
> +++ b/memory.c
> @@ -1258,7 +1258,7 @@ static void memory_region_initfn(Object *obj)
>                          memory_region_get_addr,
>                          NULL, /* memory_region_set_addr */
>                          NULL, NULL, &error_abort);
> -    object_property_add(OBJECT(mr), "priority", "uint32",
> +    object_property_add(OBJECT(mr), "priority", "int32",
>                          memory_region_get_priority,
>                          NULL, /* memory_region_set_priority */
>                          NULL, NULL, &error_abort);
> --
> 2.16.3
>



reply via email to

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