]> git.proxmox.com Git - mirror_qemu.git/blobdiff - numa.c
memory, exec: switch file ram allocation functions to 'flags' parameters
[mirror_qemu.git] / numa.c
diff --git a/numa.c b/numa.c
index 5f6367b989f2b78a93e1717158fd6b8a2f157e1d..81542d4ebb1957fbd6c8fac0876b07d6158a7e28 100644 (file)
--- a/numa.c
+++ b/numa.c
@@ -479,7 +479,7 @@ static void allocate_system_memory_nonnuma(MemoryRegion *mr, Object *owner,
     if (mem_path) {
 #ifdef __linux__
         Error *err = NULL;
-        memory_region_init_ram_from_file(mr, owner, name, ram_size, 0, false,
+        memory_region_init_ram_from_file(mr, owner, name, ram_size, 0, 0,
                                          mem_path, &err);
         if (err) {
             error_report_err(err);