WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Daniel Stekloff" <dsteklof@xxxxxxxxxx>
Subject: RE: [Xen-devel] Xm-test fails to pass sanity checks in hvm mode
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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