Red Hat Bugzilla – Bug 1288096
qemu quit when rebooting guest which hotplug memory >=13 times
Last modified: 2016-01-28 11:01:51 EST
This bug has been copied from bug #1245864 and has been proposed to be backported to 7.2 z-stream (EUS).
Fix included in qemu-kvm-rhev-2.3.0-31.el7_2.5
Summary: After testing with the latest versions, the results below can prove that this bug has been fixed well. Versions: Host: Kernel:3.10.0-334.el7.x86_64 qemu-kvm-rhev:qemu-kvm-rhev-2.3.0-31.el7_2.5.x86_64 Guest: Kernel:3.10.0-334.el7.x86_64 Steps: 1. Boot guest. </usr/libexec/qemu-kvm command> \ -m 1G,slots=256,maxmem=40G -numa node \ -monitor unix:/tmp/socket,server,nowait 2. Hotplug 10M memory 13 times using below script. #!/bin/bash i=0 num=13 #num=256 while [ $i -lt $num ] do echo $i sleep 3 echo "object_add memory-backend-ram,id=mem$i,size=10M"|nc -U /tmp/socket sleep 2 echo "device_add pc-dimm,id=dimm$i,memdev=mem$i,slot=$i"|nc -U /tmp/socket i=$(($i+1)) done 3. Reboot guest several times. # reboot 4. Check status of qemu. Qemu keeps working. # echo "info version" |nc -U /tmp/socket QEMU 2.3.0 monitor - type 'help' for more information (qemu) info version 2.3.0 (qemu-kvm-rhev-2.3.0-31.el7_2.5) 5. Also tested 'hotplug 256 times' with same steps 1~4. Qemu also keeps working. So this bug has been fixed well.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-0084.html