Closed nasastry closed 6 years ago
Link to the fix by Daniel: https://lists.gnu.org/archive/html/qemu-ppc/2017-10/msg00221.html
------- Comment From danielhb@br.ibm.com 2017-10-10 09:18:31 EDT------- FYI: this bug was reported by Nageswara here:
https://bugs.launchpad.net/qemu/+bug/1718118
He sent me the link in private in Slack asking to have a look at it. I've fixed it with
The patch was accepted and is now waiting to be pushed upstream.
Thanks,
Daniel
------- Comment From jamesspo@us.ibm.com 2017-11-15 11:15:55 EDT------- This is queued up for qemu 2.11, so moving to sprint5 where that is expected to be merged in.
------- Comment From bssrikanth@in.ibm.com 2017-12-20 04:38:41 EDT------- I did some tests around this one.. findings below:
In guest:
[root@localhost ~]# [ 76.251188] pseries-hotplug-mem: Attempting to hot-remove 32 LMB(s) at 80000020 [ 76.252805] pseries-hotplug-mem: Memory indexed-count-remove failed, adding any removed LMBs
[root@ltczzj3 srikanth]# virsh detach-device srikanth-vm1 mem_hp.xml --live error: Failed to detach device from mem_hp.xml error: internal error: unable to execute QEMU command 'device_del': Memory unplug already in progress for device dimm0
Is this bug fixed in QEMU 2.11? or should we postpone verification of this bug to sprint where we actually claim support for memory hotunplug?
Qemu crashes with error "hw/ppc/spapr_drc.c:417:spapr_drc_detach: assertion failed: (drc->dev)" when memory hotplug and hotunplug was done continuously.
Steps to re-produce:
Bring up ppc64le guest with memory hotplug capabilities ( I used libvirt xml to do this).
And do continuous memory hotplug and unplug using the following memory xml (mem_hp_8g.xml)
Run the following for i in mem_hp_8g.xml --live; virsh detach-device mem_hp_8g.xml --live; done
seq 1 100
; do virsh attach-deviceGuest will crash
Following is from qemu log