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

[Xen-devel] [PATCH][VT]Make 32-bit VMX guest work on 64-bit host

To: <ian.pratt@xxxxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][VT]Make 32-bit VMX guest work on 64-bit host
From: "Li, Chengyuan" <chengyuan.li@xxxxxxxxx>
Date: Thu, 1 Sep 2005 20:42:34 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Sep 2005 12:40:53 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcWu8qB9mFh5lpOSRoW8N84IEkUU+g==
Thread-topic: [PATCH][VT]Make 32-bit VMX guest work on 64-bit host
Ian, Keir,

This patch is to boot 32-bit VMX guest on the 64-bit host. 
Double-compile is used to make both 64-bit guest and 32-bit guest can
work, the shadow page-table uses current 64-bit shadow code's structure
to simulate 32-bit guest's 2-level page-table.

Signed-off-by: Chengyuan Li <chengyuan.li@xxxxxxxxx>
Signed-off-by: Xiaohui Xin  <xiaohui.xin@xxxxxxxxx>
Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx>


 b/xen/arch/x86/shadow_guest32.c     |   18 +
 b/xen/include/asm-x86/shadow_ops.h  |  130 +++++++++
 xen/arch/x86/Makefile               |    2
 xen/arch/x86/shadow.c               |  516
++++++++++++++++++++++++++++--------
 xen/arch/x86/shadow_public.c        |   93 +++++-
 xen/arch/x86/vmx.c                  |   22 +
 xen/include/asm-x86/page-guest32.h  |    5
 xen/include/asm-x86/shadow.h        |   39 +-
 xen/include/asm-x86/shadow_64.h     |  143 ++-------
 xen/include/asm-x86/shadow_public.h |    1
 10 files changed, 720 insertions(+), 249 deletions(-) 


Thanks,
Chengyuan

Attachment: guest32_shadow.patch
Description: guest32_shadow.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][VT]Make 32-bit VMX guest work on 64-bit host, Li, Chengyuan <=