Red Hat Bugzilla – Bug 1078775
During query cpuinfo during guest boot from ipxe repeatedly in AMD hosts, vm repeatedly reboot.
Last modified: 2015-03-05 06:43:03 EST
Description of problem: Start qemu and in meantime query cpuinfo repeatedly, when qemu try to boot from ipxe, vm then reboot repeatedly Version-Release number of selected component (if applicable): # uname -r 3.10.0-111.el7.x86_64 # rpm -q qemu-kvm-rhev qemu-kvm-rhev-1.5.3-53.el7.x86_64 # rpm -q seabios seabios-1.7.2.2-12.el7.x86_64 # rpm -qa |grep pxe ipxe-roms-qemu-20130517-5.gitc4bce43.el7.noarch How reproducible: 100% Steps to Reproduce: 1.Launch qemu and before vm boots, query cpuinfo repeatedly # while true; do echo "info cpus" |nc -U /tmp/m1 ; done # /usr/libexec/qemu-kvm -cpu Opteron_G3 -m 4G -smp 4 -M pc -enable-kvm -name testovs -nodefaults -nodefconfig -monitor stdio -spice port=5900,disable-ticketing -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=67108864 -vga qxl -boot menu=on -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor stdio -qmp unix:/tmp/q1,server,nowait -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:11:23:a1 -monitor unix:/tmp/m1,server,nowait 2. 3. Actual results: vm try to boot from ipxe, but then reboot immediately and repeatedly. Expected results: Vm can successfully access the ipxe installation. Additional info:
Patch(es) available on kernel-3.10.0-143.el7
Reproduced this bug with kernel-3.10.0-142.el7.x86_64 steps: 1.Boot guest in amd host: # /usr/libexec/qemu-kvm -cpu Opteron_G3 -m 4G -smp 4 -M pc -enable-kvm -name pxe -nodefaults -nodefconfig -monitor stdio -spice port=5900,disable-ticketing -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=67108864 -vga qxl -boot menu=on -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -monitor stdio -qmp unix:/tmp/q1,server,nowait -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:11:23:a1 -monitor unix:/tmp/m1,server,nowait -S 2.query vcpus repeatedly # while true; do echo "info cpus" |nc -U /tmp/m1 ; done 3.Start qemu. Result: vm try to boot from ipxe, but then reboot immediately and repeatedly. So this bug is reproduced. Verify this bug with kernel-3.10.0-197.el7.x86_64 combined with qemu-kvm-1.5.3-77.el7.x86_64 and also with qemu-kvm-rhev-2.1.2-6.el7.x86_64 Steps as above, result: guest can continue to boot but not repeatedly reboot from ipxe. So this bug is verified.
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-2015-0290.html