diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2013-01-15 11:11:37 +0100 |
---|---|---|
committer | Zhang Xiantao <xiantao.zhang@intel.com> | 2013-01-15 11:11:37 +0100 |
commit | 31c1595f59a3099739f60338623900f5f0130f69 (patch) | |
tree | 9bd7d5fe8760b05b6fcfeb4e104014c139a78852 /xen/include/asm-x86/hvm/vmx | |
parent | 199707892b20ba62578338ddf5b33e21aea89a3c (diff) | |
download | xen-31c1595f59a3099739f60338623900f5f0130f69.tar.gz xen-31c1595f59a3099739f60338623900f5f0130f69.tar.bz2 xen-31c1595f59a3099739f60338623900f5f0130f69.zip |
nestedhap: Change nested p2m's walker to vendor-specific
EPT and NPT adopts differnt formats for each-level entry,
so change the walker functions to vendor-specific.
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Jun Nakajima <jun.nakajima@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/vmx')
-rw-r--r-- | xen/include/asm-x86/hvm/vmx/vvmx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/vmx/vvmx.h b/xen/include/asm-x86/hvm/vmx/vvmx.h index d97011dfe5..689e684f06 100644 --- a/xen/include/asm-x86/hvm/vmx/vvmx.h +++ b/xen/include/asm-x86/hvm/vmx/vvmx.h @@ -108,6 +108,11 @@ void nvmx_domain_relinquish_resources(struct domain *d); int nvmx_handle_vmxon(struct cpu_user_regs *regs); int nvmx_handle_vmxoff(struct cpu_user_regs *regs); + +int +nvmx_hap_walk_L1_p2m(struct vcpu *v, paddr_t L2_gpa, paddr_t *L1_gpa, + unsigned int *page_order, + bool_t access_r, bool_t access_w, bool_t access_x); /* * Virtual VMCS layout * |