diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-12-06 16:56:21 +0000 |
---|---|---|
committer | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-12-06 16:56:21 +0000 |
commit | 441fb37db42d856c2ea7a0f9022534133ff7870a (patch) | |
tree | 4c2ed99070c4ae7f94343d3d35d8c880e4317e47 /xen/include/asm-x86/hvm/vmx | |
parent | 3d605ee7378409ed1d52a0591df963313bb8b4c5 (diff) | |
download | xen-441fb37db42d856c2ea7a0f9022534133ff7870a.tar.gz xen-441fb37db42d856c2ea7a0f9022534133ff7870a.tar.bz2 xen-441fb37db42d856c2ea7a0f9022534133ff7870a.zip |
nested vmx: fix handling of RDTSC
If L0 is to handle the TSC access, then we need to update guest EIP by
calling update_guest_eip().
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/hvm/vmx')
-rw-r--r-- | xen/include/asm-x86/hvm/vmx/vmx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/vmx/vmx.h b/xen/include/asm-x86/hvm/vmx/vmx.h index c4c2fe8b0c..aa5b0809d1 100644 --- a/xen/include/asm-x86/hvm/vmx/vmx.h +++ b/xen/include/asm-x86/hvm/vmx/vmx.h @@ -399,6 +399,8 @@ void ept_p2m_init(struct p2m_domain *p2m); void ept_walk_table(struct domain *d, unsigned long gfn); void setup_ept_dump(void); +void update_guest_eip(void); + /* EPT violation qualifications definitions */ #define _EPT_READ_VIOLATION 0 #define EPT_READ_VIOLATION (1UL<<_EPT_READ_VIOLATION) |