Received: from eggs.gnu.org ([2001:4830:134:3::10]:33934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avJrG-0007Xg-5c for qemu-devel@nongnu.org; Wed, 27 Apr 2016 03:26:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avJrC-0003e5-Uk for qemu-devel@nongnu.org; Wed, 27 Apr 2016 03:26:02 -0400 Received: from indium.canonical.com ([91.189.90.7]:43976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avJrC-0003e0-Ou for qemu-devel@nongnu.org; Wed, 27 Apr 2016 03:25:58 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1avJrB-00080a-C5 for ; Wed, 27 Apr 2016 07:25:57 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 599482E80BB for ; Wed, 27 Apr 2016 07:25:57 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 27 Apr 2016 07:20:03 -0000 From: Michael liu Reply-To: Bug 1569053 <1569053@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160411213335.1727.82105.malonedeb@wampee.canonical.com> Message-Id: <20160427072003.23935.72179.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1569053] Re: Qemu crashes when I start a second VM from command line List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org when the second VM crashed,how about first VM? It seems like that you use vhost-user as your backend type.Does the backend of the 1st VM and 2nd VM connect the same switch ? -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1569053 Title: Qemu crashes when I start a second VM from command line Status in QEMU: New Bug description: I am using Qemu on 64 bit x86 platform, operating system ubuntu 14.04. I cloned the latest version of qemu from github and installed on my system. I booted the 1st VM with the instruction: sudo qemu-system-x86_64 -m 1024 -smp 4 -cpu host -hda /var/lib/libvirt/images/vm1p4.img -boot c -enable-kvm -no-reboot -net none -chardev socket,id=3Dchar1,path=3D/usr/local/var/run/openvswitch /vhost-user1 -netdev type=3Dvhost- user,id=3Dmynet1,chardev=3Dchar1,vhostforce -device virtio-net- pci,mac=3D00:00:00:00:00:01,netdev=3Dmynet1 -object memory-backend- file,id=3Dmem,size=3D1024M,mem-path=3D/dev/hugepages,share=3Don -numa node,memdev=3Dmem -mem-prealloc It is was launched successfully. Then I lanched the second VM with the instruction: sudo qemu-system-x86_64 -m 1024 -smp 4 -cpu host -hda /var/lib/libvirt/images/vm1p4-2.img -boot c -enable-kvm -no-reboot -net none -chardev socket,id=3Dchar2,path=3D/usr/local/var/run/openvswitch /vhost-user2 -netdev type=3Dvhost- user,id=3Dmynet2,chardev=3Dchar2,vhostforce -device virtio-net- pci,mac=3D00:00:00:00:00:02,netdev=3Dmynet2 -object memory-backend- file,id=3Dmem,size=3D1024M,mem-path=3D/dev/hugepages,share=3Don -numa node,memdev=3Dmem -mem-prealloc Qemu crashed right away. Plea see the log below. sudo qemu-system-x86_64 -m 1024 -smp 4 -cpu host -hda /var/lib/libvirt/im= ages/vm1p4-2.img -boot c -enable-kvm -no-reboot -net none -chardev socket,i= d=3Dchar2,path=3D/usr/local/var/run/openvswitch/vhost-user2 -netdev type=3D= vhost-user,id=3Dmynet2,chardev=3Dchar2,vhostforce -device virtio-net-pci,ma= c=3D00:00:00:00:00:02,netdev=3Dmynet2 -object memory-backend-file,id=3Dmem,= size=3D1024M,mem-path=3D/dev/hugepages,share=3Don -numa node,memdev=3Dmem -= mem-prealloc KVM internal error. Suberror: 1 emulation failure EAX=3D000cc765 EBX=3D00000007 ECX=3D000cc6ac EDX=3D0000df00 ESI=3D1ff00000 EDI=3D0000d5d7 EBP=3Dffffffff ESP=3D0000f9ce EIP=3Dd5d70000 EFL=3D00010012 [----A--] CPL=3D0 II=3D0 A20=3D1 SMM=3D0 HL= T=3D0 ES =3Ddf00 000df000 ffffffff 00809300 CS =3Df000 000f0000 ffffffff 00809b00 SS =3Ddf00 000df000 ffffffff 00809300 DS =3Ddf00 000df000 ffffffff 00809300 FS =3D0000 00000000 ffffffff 00809300 GS =3D0000 00000000 ffffffff 00809300 LDT=3D0000 00000000 0000ffff 00008200 TR =3D0000 00000000 0000ffff 00008b00 GDT=3D 00000000 00000000 IDT=3D 00000000 000003ff CR0=3D00000010 CR2=3D00000000 CR3=3D00000000 CR4=3D00000000 DR0=3D0000000000000000 DR1=3D0000000000000000 DR2=3D0000000000000000 DR3= =3D0000000000000000 = DR6=3D00000000ffff0ff0 DR7=3D0000000000000400 EFER=3D0000000000000000 Code=3D00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 0= 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0= 0 00 00 00 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1569053/+subscriptions