From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: -smp >=2 + -no-kvm-irqchip broken Date: Wed, 3 Feb 2010 14:56:59 +0200 Message-ID: <20100203125659.GM739@redhat.com> References: <4B685301.8070302@siemens.com> <20100202163919.GF18094@redhat.com> <4B68559F.4010501@siemens.com> <20100202164755.GG18094@redhat.com> <4B68747E.2090808@siemens.com> <4B68756A.10300@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:47672 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757235Ab0BCM5D (ORCPT ); Wed, 3 Feb 2010 07:57:03 -0500 Content-Disposition: inline In-Reply-To: <4B68756A.10300@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Feb 02, 2010 at 07:56:42PM +0100, Jan Kiszka wrote: > Jan Kiszka wrote: > > Gleb Natapov wrote: > >> On Tue, Feb 02, 2010 at 05:41:03PM +0100, Jan Kiszka wrote: > >>> Gleb Natapov wrote: > >>>> On Tue, Feb 02, 2010 at 05:29:53PM +0100, Jan Kiszka wrote: > >>>>> Hi, > >>>>> > >>>>> notice while testing v2 of my vcpu state series: Starting SMP guests > >>>>> like Linux or Vista without in-kernel irqchip and with more than one CPU > >>>>> make them lock up during boot (Vista) or spit out messages like > >>>>> > >>>>> udevd[112] trap invalid opcode ip:7fc434630950 sp:7fff3cd3fcb8 error:0 > >>>>> in libc-2.9.so[7fc4345b2000+14f000] > >>>>> > >>>> Looks like interrupt is injected as exception. Can you try to bisect? > >>> Already started (as low prio background task), first looking for a good > >>> version. If you know a recent one, I'm a taker. > >>> > >> Nope, didn't try no kernel irqchip for a long time. > > > > Kernel plays the key role here, either kvm-kmod or actually the kvm > > module: kvm-kmod-2.6.31.6 works, the 2.6.32 series and later do not. > > Digging deeper... > > I take this back: It works for Linux guests, but Vista crashes also with > old kvm-kmod. So there is no way around real debugging. > Upstream qemu-kvm/kvm works for me. Boot linux with -smp 2 and windows2008-32 with -smp 4. -- Gleb.