Closed nasastry closed 7 years ago
xml files for memory hot plug and memory hot unplug got mangled so created as attachments. mem_hp.xml.txt mem_unplug.xml.txt
@aik can you, or somebody else appropriate, take a look into this ?
The appropriate persons are Mike Roth @mdroth and Bharata B Rao bharata@linux.vnet.ibm.com (who does not seem to be on github and we need to invite him here).
Closing the issue here and this is handled at bugzilla.
Memory hot unplug feature not available in 'hostos-devel' branch.
How to re-produce:
cat mem_hp.xml
Before attaching memory at Guest: [root@localhost ~]# cat /proc/meminfo | grep -i memtotal MemTotal: 7838848 kB
Attach memory, here
virsh attach-device centos72 mem_hp.xml --live
Device attached successfully
After attach guest memory: [root@localhost ~]# cat /proc/meminfo | grep -i memtotal MemTotal: 8100992 kB
cat /tmp/t1 # Detach memory xml, taken from virsh dumpxml
virsh detach-device centos72 /tmp/t1 --live
error: Failed to detach device from /tmp/t1 error: internal error: unable to execute QEMU command 'device_del': Memory hot unplug not supported by sPAPR
Additional information: Guest is having powerpc-utils at 1.3.0 level.