From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH 05/15] Coalesce userspace/kernel irqchip interrupt injection logic. Date: Wed, 15 Apr 2009 12:39:55 +0300 Message-ID: <20090415093955.GA27675@redhat.com> 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=koi8-r Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Dmitry Eremin-Solenikov Return-path: Received: from mx2.redhat.com ([66.187.237.31]:45218 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751014AbZDOJkA convert rfc822-to-8bit (ORCPT ); Wed, 15 Apr 2009 05:40:00 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Apr 15, 2009 at 01:30:29PM +0400, Dmitry Eremin-Solenikov wrote= : > 2009/4/14 Gleb Natapov : > > On Tue, Apr 14, 2009 at 11:29:49PM +0400, Dmitry Eremin-Solenikov w= rote: > >> 2009/4/14 Gleb Natapov : > >> > On Tue, Apr 14, 2009 at 06:32:29PM +0400, Dmitry Eremin-Soleniko= v wrote: > >> >> 2009/4/14 Gleb Natapov : > >> >> > On Tue, Apr 14, 2009 at 02:14:04PM +0000, Dmitry Eremin-Solen= ikov wrote: > >> >> >> Gleb Natapov wrote: > >> >> >> > >> >> >> > Start to use interrupt/exception queues like VMX does. Thi= s also fix the > >> >> >> > bug that if exit was caused by a guest internal exception = access to IDT > >> >> >> > the exception was not reinjected. > >> >> >> > >> >> >> This patch broke KVM for me: after it is applied (to the tip= of avi's git tree), > >> >> >> linux inside KVM (version 84 from Debian) stops booting, moa= ning about lost > >> >> >> interrupts from ide. The KVM is executed inside qemu-system-= x86_64, > >> >> >> version 0.10.2. > >> >> >> > >> >> > Please apply next patch in the series too. This one will not = work > >> >> > without it. But better yet can you please test entire series. > >> >> > >> >> After applying the next patch (or the whole serie), I get the f= ollowing 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 m= ay > >> >> require lots of efforts. > >> >> I don't quite understand how do these two patches influence FDC= emulation, 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 :) An= d I > > just booted it fine on AMD barcelona CPU. =9AWhat is you host cpu? > > "cat /proc/cpuinfo" >=20 > qemu-x86_64 version 0.10.2 running on i386 > Due to problems with qemu-x86_64 I have to boot the 'host' kernel wit= h '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 mc= a > 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: >=20 >=20 I need _host_ cpu info. Do the same on the host please. -- Gleb.