From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmdSm-00038K-QA for qemu-devel@nongnu.org; Thu, 05 Jul 2012 00:14:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmdSk-00005T-S7 for qemu-devel@nongnu.org; Thu, 05 Jul 2012 00:14:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmdSk-00004q-KS for qemu-devel@nongnu.org; Thu, 05 Jul 2012 00:14:42 -0400 Date: Wed, 4 Jul 2012 23:02:51 -0300 From: Marcelo Tosatti Message-ID: <20120705020251.GA3652@amt.cnet> References: <4FEAE1EA.3070107@dlh.net> <20120703155430.GA21571@amt.cnet> <4FF4150E.2030201@dlhnet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FF4150E.2030201@dlhnet.de> Subject: Re: [Qemu-devel] race condition in qemu-kvm-1.0.1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: Peter Lieven , qemu-devel@nongnu.org, kvm@vger.kernel.org On Wed, Jul 04, 2012 at 12:03:58PM +0200, Peter Lieven wrote: > On 07/03/12 17:54, Marcelo Tosatti wrote: > >On Wed, Jun 27, 2012 at 12:35:22PM +0200, Peter Lieven wrote: > >>Hi, > >> > >>we recently came across multiple VMs racing and stopping working. It > >>seems to happen when the system is at 100% cpu. > >>One way to reproduce this is: > >>qemu-kvm-1.0.1 with vnc-thread enabled > >> > >>cmdline (or similar): > >>/usr/bin/qemu-kvm-1.0.1 -net > >>tap,vlan=141,script=no,downscript=no,ifname=tap15,vnet_hdr -net > >>nic,vlan=141,model=virtio,macaddr=52:54:00:ff:00:f7 -drive format=host_device,file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-efdf4e007-16700198c7f4fead-02-debug-race-hd01,if=virtio,cache=none,aio=native > >>-m 2048 -smp 2,sockets=1,cores=2,threads=1 -monitor > >>tcp:0:4026,server,nowait -vnc :26 -qmp tcp:0:3026,server,nowait > >>-name 02-debug-race -boot order=dc,menu=off -cdrom > >>/home/kvm/cdrom//root/ubuntu-12.04-server-amd64.iso -k de -pidfile > >>/var/run/qemu/vm-221.pid -mem-prealloc -cpu > >>host,+x2apic,model_id=Intel(R) Xeon(R) CPU L5640 @ > >>2.27GHz,-tsc -rtc base=utc -usb -usbdevice tablet -no-hpet -vga > >>cirrus > >Is it reproducible without vnc thread enabled? > Yes, it is. I tried it with and without. It is also even happnig > with 0.12.5 where > no vnc thread (and i think also iothread) is available. Do you have traces without vnc-thread enabled?