summaryrefslogtreecommitdiff
path: root/hw/i386/intel_iommu.c
diff options
context:
space:
mode:
authorLin Ma <lma@suse.com>2015-03-30 16:36:29 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-04-01 10:06:38 +0200
commit36bce5ca5da7a7dbdc5001dc65b40b7439472106 (patch)
treec3e9d14330ebf092e3278460e4a51fb5442d75e2 /hw/i386/intel_iommu.c
parentd6edb15576643ab348a9f73e115c2e037edf7460 (diff)
downloadqemu-36bce5ca5da7a7dbdc5001dc65b40b7439472106.zip
hostmem: Prevent removing an in-use memory backend
showing a memory device whose memdev is removed leads an assert: (qemu) object_add memory-backend-ram,id=ram0,size=128M (qemu) device_add pc-dimm,id=d0,memdev=ram0 (qemu) object_del ram0 (qemu) info memory-devices ** ERROR:qom/object.c:1274:object_get_canonical_path_component:\ assertion failed: (obj->parent != NULL) Aborted The patch prevents removing an in-use mem backend and error out. Signed-off-by: Lin Ma <lma@suse.com> Message-Id: <1427704589-7688-3-git-send-email-lma@suse.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/intel_iommu.c')
0 files changed, 0 insertions, 0 deletions