On 18/08/2026 12:10, Marc-André Lureau wrote:

The value and the getter are int32.

Fixes: d33382da9ab ("memory: MemoryRegion: Add may-overlap and priority props")
Signed-off-by: Marc-AndrĂ© Lureau <[email protected]>
---
  system/memory.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system/memory.c b/system/memory.c
index da710bbade1b..164c18757f8f 100644
--- a/system/memory.c
+++ b/system/memory.c
@@ -1318,7 +1318,7 @@ static void memory_region_initfn(Object *obj)
object_property_add_uint64_ptr(OBJECT(mr), "addr",
                                     &mr->addr, OBJ_PROP_FLAG_READ);
-    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);

Reviewed-by: Mark Cave-Ayland <[email protected]>


ATB,

Mark.


Reply via email to