]> git.proxmox.com Git - mirror_qemu.git/blobdiff - memory.c
configure: disable Archipelago by default and warn about libxseg GPLv3 license
[mirror_qemu.git] / memory.c
index 20f6d9eeac737609c3d47da7f01cde7d237c390c..ee3f2a8a954ef3cc3c15871e8e9d17608c46c0ab 100644 (file)
--- a/memory.c
+++ b/memory.c
@@ -868,7 +868,7 @@ void memory_region_init(MemoryRegion *mr,
                         uint64_t size)
 {
     if (!owner) {
-        owner = qdev_get_machine();
+        owner = container_get(qdev_get_machine(), "/unattached");
     }
 
     object_initialize(mr, sizeof(*mr), TYPE_MEMORY_REGION);