- Add ram object and dimm device at the source

(qemu) object_add memory-backend-ram,id=ram0,size=128M
(qemu) device_add pc-dimm,id=dimm0,memdev=ram0

- Migrate the VM and remove the dimm device and ram object at the target

(qemu) device_del dimm0
(qemu) object_del ram0

- Adding the ram object with same id now at the target fails like this:

(qemu) info memdev

(qemu) object_add memory-backend-ram,id=ram0,size=128M
Duplicate ID 'ram0' for object

Same behaviour is seen on x86 and Power. The problem isn't seen if
migration isn't involved (add, remove, add at the source itself).


Reply via email to