From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: Re: qemu-kvm upstream segfaults when using -smp 1 Date: Tue, 09 Mar 2010 12:39:40 -0300 Message-ID: <1268149180.3375.54.camel@localhost.localdomain> References: <1267726488.5322.36.camel@localhost.localdomain> <4B8FFC58.3010104@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: KVM mailing list , Avi Kivity , Marcelo Tosatti To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:9464 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751719Ab0CIPjp (ORCPT ); Tue, 9 Mar 2010 10:39:45 -0500 In-Reply-To: <4B8FFC58.3010104@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2010-03-04 at 19:30 +0100, Jan Kiszka wrote: > Lucas Meneghel Rodrigues wrote: > > 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. > > > > 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