[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Xm-test fails to pass sanity checks in hvm mode


  • To: "Daniel Stekloff" <dsteklof@xxxxxxxxxx>
  • From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
  • Date: Wed, 12 Apr 2006 08:32:25 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Lynn Bendixsen <lbendixs@xxxxxxxxxx>
  • Delivery-date: Tue, 11 Apr 2006 17:32:52 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcZdu7skAglXUT4bRZ+bVMF+T/xFgAADKHQg
  • Thread-topic: [Xen-devel] Xm-test fails to pass sanity checks in hvm mode

>
>On Wed, 2006-04-12 at 06:38 +0800, Li, Xin B wrote:
>> >
>> >I do have pae=1.
>> 
>> Are you using 32 bit xen? We can not run a PAE SMP kernel on it.
>
>
>D'oh!... my bad. <grin> 
>
>I still can't get it to work - 32bit system with a 32bit 2.6.15 SMP
>kernel. This is with the xm-test disk.img.
>
>I'll need to make a new disk image (not xm-test disk.img) tomorrow with
>an SMP kernel and try again. 

You'll get blocked by a SMP bug on 32bit xen, use this patch should get
you pass.

diff -r edefe24d78bd xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Tue Apr 11 12:51:48 2006 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Wed Apr 12 06:35:11 2006 +0800
@@ -1472,7 +1472,7 @@ static int vmx_set_cr0(unsigned long val
             }
         }

-        clear_all_shadow_status(v->domain);
+        //clear_all_shadow_status(v->domain);
         if ( vmx_assist(v, VMX_ASSIST_INVOKE) ) {
             set_bit(VMX_CPU_STATE_ASSIST_ENABLED,
&v->arch.hvm_vmx.cpu_state);
             __vmread(GUEST_RIP, &eip);

Hope a better fix will be sent out soon.

-Xin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.