|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH] Establishing 1:1 direct mapping for HVM at	runtime
 
The patch builds the phys_to_machine_mapping array in Xen rather than
reusing the 1:1 page table built by the builder, and it also establishes
the 1:1 direct mapping at runtime a la shadow page tables. Since the
builder constructs the full 1:1 direct mapping (but <4GB), the current
implementation wastes memory but cannot support guests with >=4GB memory
(even for x64-64).
This patch is also required for HVM support on the PAE host. That patch
should be sent soon. Please apply.
For SVM
=======
I think the svm code needs changes. Please look at the changes to vmx.c
and vmcs.c; should be straightforward. 
Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx>
Signed-off-by: Xiaohui Xin <xiaohui.xin@xxxxxxxxx>
----
 tools/libxc/xc_hvm_build.c          |  259 -------------------
 xen/arch/x86/hvm/hvm.c              |   20 +
 xen/arch/x86/hvm/vmx/vmcs.c         |    4 
 xen/arch/x86/hvm/vmx/vmx.c          |   10 
 xen/arch/x86/shadow.c               |   76 +++++
 xen/arch/x86/shadow32.c             |  264 ++++++++++++++-----
 xen/arch/x86/shadow_public.c        |  489
+++++++++++++++++++++---------------
 xen/include/asm-x86/mm.h            |   11 
 xen/include/asm-x86/shadow.h        |    7 
 xen/include/asm-x86/shadow_64.h     |    2 
 xen/include/asm-x86/shadow_public.h |    5 
 11 files changed, 620 insertions(+), 527 deletions(-)
Jun
---
Intel Open Source Technology Center 
 
 
shadow_direct_0203.patch 
Description: shadow_direct_0203.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] Establishing 1:1 direct mapping for HVM at	runtime,
Nakajima, Jun <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |