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] [PATCH][SVM] fix pae for guests on 32bit HV

To: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] [PATCH][SVM] fix pae for guests on 32bit HV
From: "Woller, Thomas" <thomas.woller@xxxxxxx>
Date: Thu, 20 Apr 2006 17:22:58 -0500
Delivery-date: Thu, 20 Apr 2006 15:23:32 -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: AcZkkzsYgEcC4MlST6+Afk5oQfG/3AAKiugwAAI48xA=
Thread-topic: [Xen-devel] [PATCH][SVM] fix pae for guests on 32bit HV
> The current shadow code does not support PAE guests on the 
> PAE Xen. It's much harder given (compared with x64-64) the 
> limited bits in page_info.
> Should work on the 64-bit Xen. Anyway, we need to cleanly 
> kill such guests on the PAE Xen.
Now this does mean no NX support on PAE xen.

Attached patch simply turns off PAE if paging level < 4 in vt and svm. 

Tested win2003 EE on svm and vt, allows 32bit windows guests to boot
without shadow.c bug() crash.  

Only issue seen is if setting guest config memory >~4096 then the guest
does not boot, but does not crash the hv - stays in blocked state.  So,
I think that this solution is fine for now.  Svm shadows PAE and NX so
the code is slightly different.  
I'll post with signed-off if ok for vmx also.
thanks
Tom

Attachment: svm_vmx_pae32_off.patch
Description: svm_vmx_pae32_off.patch

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