diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2013-01-25 10:19:15 +0100 |
---|---|---|
committer | Dongxiao Xu <dongxiao.xu@intel.com> | 2013-01-25 10:19:15 +0100 |
commit | ddddba4388aa342da48045da253155db73f2daac (patch) | |
tree | c6e617dcea124ea7f677be5b9b536d8a7c457ade /xen/include/asm-x86/hvm | |
parent | 8916ad7199bf671bacd1a6574b294831ec09c8cf (diff) | |
download | xen-ddddba4388aa342da48045da253155db73f2daac.tar.gz xen-ddddba4388aa342da48045da253155db73f2daac.tar.bz2 xen-ddddba4388aa342da48045da253155db73f2daac.zip |
nested vmx: optimize for bulk access of virtual VMCS
After we use the VMREAD/VMWRITE to build up the virtual VMCS, each
access to the virtual VMCS needs two VMPTRLD and one VMCLEAR to
switch the environment, which might be an overhead to performance.
This commit tries to handle multiple virtual VMCS access together
to improve the performance.
Signed-off-by: Dongxiao Xu <dongxiao.xu@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')
-rw-r--r-- | xen/include/asm-x86/hvm/vmx/vvmx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/vmx/vvmx.h b/xen/include/asm-x86/hvm/vmx/vvmx.h index 73a67cc2c8..3874525c1a 100644 --- a/xen/include/asm-x86/hvm/vmx/vvmx.h +++ b/xen/include/asm-x86/hvm/vmx/vvmx.h @@ -229,5 +229,7 @@ int nept_translate_l2ga(struct vcpu *v, paddr_t l2ga, unsigned int *page_order, uint32_t rwx_acc, unsigned long *l1gfn, uint8_t *p2m_acc, uint64_t *exit_qual, uint32_t *exit_reason); +int nvmx_cpu_up_prepare(unsigned int cpu); +void nvmx_cpu_dead(unsigned int cpu); #endif /* __ASM_X86_HVM_VVMX_H__ */ |