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 15:30:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

On 3/27/21 2:57 PM, Philippe Mathieu-Daudé wrote:
> ping?

Bah this doesn't apply anymore (memory.c moved to softmmu/).

I'll respin.

> 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]