From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM on Via Nano (Isaiah) CPUs? Date: Sun, 22 Mar 2009 11:03:33 +0200 Message-ID: <49C5FEE5.8020203@redhat.com> References: <200903180902.29139.andreas.tanz@kvt.de> <200903191634.47628.andreas.tanz@kvt.de> <49C26961.6080002@redhat.com> <200903191805.05622.andreas.tanz@kvt.de> <49C27EC0.1090108@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: andreas.tanz@kvt.de Return-path: Received: from mx2.redhat.com ([66.187.237.31]:46631 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754370AbZCVJDi (ORCPT ); Sun, 22 Mar 2009 05:03:38 -0400 In-Reply-To: <49C27EC0.1090108@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > > The code in question is: > > 3152: fb sti 3153: > 55 push %bp > > *** fault here *** > > 3154: 89 e5 mov %sp,%bp > 3156: 8b 7e 2a mov 0x2a(%bp),%di > 3159: 8b 46 28 mov 0x28(%bp),%ax > 315c: 8b 4e 08 mov 0x8(%bp),%cx > 315f: 81 ff 00 f8 cmp $0xf800,%di > > So it looks like we tried to inject the IDE interrupt (that's the > first point where it is possible to inject interrupts), but via fails > to inject the interrupt for some reason. > > I'll need to think how to debug this further. > Please printk (as hex) vmcs_read32(VM_ENTRY_INTR_INFO_FIELD) in vmx_vcpu_run(), just before the big asm statement. -- error compiling committee.c: too many arguments to function