diff --git a/numa.c b/numa.c index 1116c90af9ebd3ae77202c587beebeeae1fa54cf..78a869e598e5b4fe2fc3d1576f0af70c126e82ab 100644 --- a/numa.c +++ b/numa.c @@ -469,6 +469,7 @@ static void allocate_system_memory_nonnuma(MemoryRegion *mr, Object *owner, /* Legacy behavior: if allocation failed, fall back to * regular RAM allocation. */ + mem_path = NULL; memory_region_init_ram_nomigrate(mr, owner, name, ram_size, &error_fatal); } #else