open-power-host-os / qemu

OpenPOWER Host OS qemu repository
Other
2 stars 3 forks source link

Memory hot unplug feature is not available in 'hostos-devel' branch #1

Closed nasastry closed 7 years ago

nasastry commented 8 years ago

Memory hot unplug feature not available in 'hostos-devel' branch.

How to re-produce:

  1. Hot plug the memory using the following command and xml

    cat mem_hp.xml

262144

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

  1. Try to detach memory using the following command and xml

    cat /tmp/t1 # Detach memory xml, taken from virsh dumpxml

    262144

    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.

nasastry commented 8 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

rmatinata-ibm commented 8 years ago

@aik can you, or somebody else appropriate, take a look into this ?

aik commented 8 years ago

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).

nasastry commented 7 years ago

Closing the issue here and this is handled at bugzilla.