From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sheng Yang Subject: Re: KVM bug Date: Fri, 24 Jul 2009 10:39:14 +0800 Message-ID: <200907241039.15368.sheng@linux.intel.com> References: <4158487B9DEE0647BA23911D1C2279576823D8E1@orsmsx501.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: "Saksena, Abhishek" To: kvm@vger.kernel.org Return-path: Received: from mga10.intel.com ([192.55.52.92]:17458 "EHLO fmsmga102.fm.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751821AbZGXCjp (ORCPT ); Thu, 23 Jul 2009 22:39:45 -0400 In-Reply-To: <4158487B9DEE0647BA23911D1C2279576823D8E1@orsmsx501.amr.corp.intel.com> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Friday 24 July 2009 04:59:51 Saksena, Abhishek wrote: > Hi > I am trying to boot a patched version of Boch's BIOS on KVM. It works fine > with Qemu with -no-kvm option. However I get following with KVM The first thing come to my mind is your bios lacks some reserved page for VMX. See qemu-kvm/kvm/bios/rombios.c for E820 layout in KVM. And is your bios bigger than 256KB? -- regards Yang, Sheng > > > unhandled vm exit: 0x80000021 vcpu_id 0 > rax 0000000000000000 rbx 000000000000133a rcx 0000000000000000 rdx > 0000000000000008 rsi 0000000000000008 rdi 0000000000000008 rsp > 00000000000011a4 rbp 00000000000011bc r8 0000000000000000 r9 > 0000000000000000 r10 0000000000000000 r11 0000000000000000 r12 > 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 > 0000000000000000 rip 00000000000007ca rflags 00023046 > cs f000 (000f0000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > ds 88f9 (00088f9b/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > ss c181 (000c1810/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) > tr 0000 (fffbd000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) > ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) > gdt 88f6b/30 > idt 0/3ff > cr0 0 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 > Abort > > > > > > I am not sure what's going on but expecting some bug in KVM and will > appreciate some help. > > > As forum don't accept posting with attachments. I can forward the BIOS > image to anybody who wants to help. > > > Thanks > Abhishek > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html