From: Dmitry Eremin-Solenikov Subject: Re: [PATCH 05/15] Coalesce userspace/kernel irqchip interrupt injection logic. Date: Wed, 15 Apr 2009 13:30:29 +0400 Message-ID: References: <1239616545-25199-1-git-send-email-gleb@redhat.com> <1239616545-25199-6-git-send-email-gleb@redhat.com> <20090414142403.GC20739@redhat.com> <20090414145536.GD20739@redhat.com> <20090414194103.GK20739@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from fg-out-1718.google.com ([72.14.220.153]:44412 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753759AbZDOJab convert rfc822-to-8bit (ORCPT ); Wed, 15 Apr 2009 05:30:31 -0400 Received: by fg-out-1718.google.com with SMTP id e12so896300fga.17 for ; Wed, 15 Apr 2009 02:30:29 -0700 (PDT) In-Reply-To: <20090414194103.GK20739@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 2009/4/14 Gleb Natapov : > On Tue, Apr 14, 2009 at 11:29:49PM +0400, Dmitry Eremin-Solenikov wro= te: >> 2009/4/14 Gleb Natapov : >> > On Tue, Apr 14, 2009 at 06:32:29PM +0400, Dmitry Eremin-Solenikov = wrote: >> >> 2009/4/14 Gleb Natapov : >> >> > On Tue, Apr 14, 2009 at 02:14:04PM +0000, Dmitry Eremin-Solenik= ov wrote: >> >> >> Gleb Natapov wrote: >> >> >> >> >> >> > Start to use interrupt/exception queues like VMX does. This = also fix the >> >> >> > bug that if exit was caused by a guest internal exception ac= cess to IDT >> >> >> > the exception was not reinjected. >> >> >> >> >> >> This patch broke KVM for me: after it is applied (to the tip o= f avi's git tree), >> >> >> linux inside KVM (version 84 from Debian) stops booting, moani= ng about lost >> >> >> interrupts from ide. The KVM is executed inside qemu-system-x8= 6_64, >> >> >> version 0.10.2. >> >> >> >> >> > Please apply next patch in the series too. This one will not wo= rk >> >> > without it. But better yet can you please test entire series. >> >> >> >> After applying the next patch (or the whole serie), I get the fol= lowing messages >> >> during initramfs drivers probe: >> >> >> >> Clocksource tsc unstable (delta...) >> >> no cont in shutdown! >> >> floppy0: FDC access conflict! >> >> >> >> Then kernel boot stalls. I'll try gdbing into kernel but this may >> >> require lots of efforts. >> >> I don't quite understand how do these two patches influence FDC e= mulation, but >> >> they do. Tell me if you need any additional info. >> >> >> > What guest is this? What kernel? Does the whole series works? >> >> Guest: Debian lenny. Linux 2.6.26, Debian version (I can provide >> config or bzImage + initrd). > Yes please provide. Debian lenny (x86_64) is my default guest :) And = I > just booted it fine on AMD barcelona CPU. =A0What is you host cpu? > "cat /proc/cpuinfo" qemu-x86_64 version 0.10.2 running on i386 Due to problems with qemu-x86_64 I have to boot the 'host' kernel with = 'noapic'. qemu-64:~# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 2 model name : QEMU Virtual CPU version 0.10.2 stepping : 3 cpu MHz : 1828.754 cache size : 512 KB fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm 3dnowext 3dnow up pni svm bogomips : 3700.32 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: > > I just noticed that my kernel is different. Will install 2.6.26 and r= etest, > but provide me yours anyway. > >> The whole serie doesn't work too (that's why I started bisecting). >> >> And BTW, I got the same results with -no-kvm-irqchip >> > > -- > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Gleb. > --=20 With best wishes Dmitry