qemu-kvm upstream segfaults when using -smp 1
Hi folks:
Today's upstream qemu-kvm.git is crashing when attempting to use -smp 1:
03/04 12:56:12 DEBUG| kvm_vm:0461| Running qemu command:/usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20100304-125508-G6lf,server,nowait -drive file=/tmp/kvm_autotest_root/images/rhel5-64.qcow2,if=ide -net nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:36:60 -net user,vlan=0 -m 1024 -smp 1 -drive file=/tmp/kvm_autotest_root/isos/linux/RHEL-5.4-x86_64-DVD.iso,index=2,media=cdrom -fda /usr/local/autotest/tests/kvm/images/floppy.img -tftp /usr/local/autotest/tests/kvm/images/tftpboot -boot d -bootp /pxelinux.0 -boot n -mem-path /mnt/kvm_hugepage -redir tcp:5000::22 -vnc :0
03/04 12:56:13 DEBUG|kvm_subpro:0686| (qemu) kvm_create_vcpu: Bad file descriptor 03/04 12:56:13 DEBUG|kvm_subpro:0686| (qemu) /bin/sh: line 1: 17273 Segmentation fault (core dumped) /usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20100304-125508-G6lf,server,nowait -drive file=/tmp/kvm_autotest_root/images/rhel5-64.qcow2,if=ide -net nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:36:60 -net user,vlan=0 -m 1024 -smp 1 -drive file=/tmp/kvm_autotest_root/isos/linux/RHEL-5.4-x86_64-DVD.iso,index=2,media=cdrom -fda /usr/local/autotest/tests/kvm/images/floppy.img -tftp /usr/local/autotest/tests/kvm/images/tftpboot -boot d -bootp /pxelinux.0 -boot n -mem-path /mnt/kvm_hugepage -redir tcp:5000::22 -vnc :0 03/04 12:56:13 DEBUG|kvm_subpro:0686| (qemu) (Process terminated with status 139)
I have opened a bug about it on KVM's bug tracking system on sourceforge. Relevant software versions involved:
Commit hash for git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git is 7811d4e8ec057d25db68f900be1f09a142faca49 (tag kvm-88-3686-g7811d4e)
Kernel: 2.6.31.12-174.2.22.fc12.x86_64
Please let me know if you need more information about it.
Lucas
Quoted 10 lines · Lucas Meneghel Rodrigues
Hi folks:
Today's upstream qemu-kvm.git is crashing when attempting to use -smp 1:
03/04 12:56:12 DEBUG| kvm_vm:0461| Running qemu command:
/usr/local/autotest/tests/kvm/qemu-name 'vm1' -monitor unix:/tmp/monitor-20100304-125508-G6lf,server,nowait -drive file=/tmp/kvm_autotest_root/images/rhel5-64.qcow2,if=ide -net nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:36:60 -net user,vlan=0 -m 1024 -smp 1 -drive file=/tmp/kvm_autotest_root/isos/linux/RHEL-5.4-x86_64-DVD.iso,index=2,media=cdrom -fda/usr/local/autotest/tests/kvm/images/floppy.img-tftp/usr/local/autotest/tests/kvm/images/tftpboot-boot d -bootp /pxelinux.0 -boot n -mem-path/mnt/kvm_hugepage-redir tcp:5000::22 -vnc :003/04 12:56:13 DEBUG|kvm_subpro:0686| (qemu) kvm_create_vcpu: Bad file descriptor 03/04 12:56:13 DEBUG|kvm_subpro:0686| (qemu) /bin/sh: line 1: 17273 Segmentation fault (core dumped) /usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20100304-125508-G6lf,server,nowait -drive file=/tmp/kvm_autotest_root/images/rhel5-64.qcow2,if=ide -net nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:36:60 -net user,vlan=0 -m 1024 -smp 1 -drive file=/tmp/kvm_autotest_root/isos/linux/RHEL-5.4-x86_64-DVD.iso,index=2,media=cdrom -fda /usr/local/autotest/tests/kvm/images/floppy.img -tftp /usr/local/autotest/tests/kvm/images/tftpboot -boot d -bootp /pxelinux.0 -boot n -mem-path /mnt/kvm_hugepage -redir tcp:5000::22 -vnc :0 03/04 12:56:13 DEBUG|kvm_subpro:0686| (qemu) (Process terminated with status 139)
Quoted 7 lines
I have opened a bug about it on KVM's bug tracking system on sourceforge. Relevant software versions involved:
Commit hash for
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitis7811d4e8ec057d25db68f900be1f09a142faca49(tag kvm-88-3686-g7811d4e)
Kernel: 2.6.31.12-174.2.22.fc12.x86_64Please let me know if you need more information about it.
Should be fixed by this:
http://thread.gmane.org/gmane.comp.emulators.kvm.devel/47883
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Quoted 16 lines · Jan Kiszka
Quoted 15 lines · Lucas Meneghel Rodrigues
Hi folks:
Today's upstream qemu-kvm.git is crashing when attempting to use -smp 1:
03/04 12:56:12 DEBUG| kvm_vm:0461| Running qemu command:
/usr/local/autotest/tests/kvm/qemu-name 'vm1' -monitor unix:/tmp/monitor-20100304-125508-G6lf,server,nowait -drive file=/tmp/kvm_autotest_root/images/rhel5-64.qcow2,if=ide -net nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:36:60 -net user,vlan=0 -m 1024 -smp 1 -drive file=/tmp/kvm_autotest_root/isos/linux/RHEL-5.4-x86_64-DVD.iso,index=2,media=cdrom -fda/usr/local/autotest/tests/kvm/images/floppy.img-tftp/usr/local/autotest/tests/kvm/images/tftpboot-boot d -bootp /pxelinux.0 -boot n -mem-path/mnt/kvm_hugepage-redir tcp:5000::22 -vnc :003/04 12:56:13 DEBUG|kvm_subpro:0686| (qemu) kvm_create_vcpu: Bad file descriptor 03/04 12:56:13 DEBUG|kvm_subpro:0686| (qemu) /bin/sh: line 1: 17273 Segmentation fault (core dumped) /usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor unix:/tmp/monitor-20100304-125508-G6lf,server,nowait -drive file=/tmp/kvm_autotest_root/images/rhel5-64.qcow2,if=ide -net nic,vlan=0,model=rtl8139,macaddr=52:54:00:12:36:60 -net user,vlan=0 -m 1024 -smp 1 -drive file=/tmp/kvm_autotest_root/isos/linux/RHEL-5.4-x86_64-DVD.iso,index=2,media=cdrom -fda /usr/local/autotest/tests/kvm/images/floppy.img -tftp /usr/local/autotest/tests/kvm/images/tftpboot -boot d -bootp /pxelinux.0 -boot n -mem-path /mnt/kvm_hugepage -redir tcp:5000::22 -vnc :0 03/04 12:56:13 DEBUG|kvm_subpro:0686| (qemu) (Process terminated with status 139)I have opened a bug about it on KVM's bug tracking system on sourceforge. Relevant software versions involved:
Commit hash for
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitis7811d4e8ec057d25db68f900be1f09a142faca49(tag kvm-88-3686-g7811d4e)
Kernel: 2.6.31.12-174.2.22.fc12.x86_64
Quoted 6 lines
Quoted 2 lines
Please let me know if you need more information about it.
Should be fixed by this:
http://thread.gmane.org/gmane.comp.emulators.kvm.devel/47883
Ok, seems like the fix was already applied and today's upstream job didn't present any problems (100% PASS across the board for qemu-kvm and qemu :))
Thanks,
Lucas