aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/vcpu.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-13 08:55:41 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-13 08:55:41 +0100
commit2936184088f761697b7b899e1550fc75e6a9b4fe (patch)
tree501bbf5d5fe06458dfee635d3ac09363b58b966d /xen/include/asm-x86/hvm/vcpu.h
parentced736bf180ffb22d42bdd0c82ce60eb8816ef4c (diff)
downloadxen-2936184088f761697b7b899e1550fc75e6a9b4fe.tar.gz
xen-2936184088f761697b7b899e1550fc75e6a9b4fe.tar.bz2
xen-2936184088f761697b7b899e1550fc75e6a9b4fe.zip
VPMU: Make vpmu stucture visiable for both vmx and svm
Signed-off-by: Wei Wang <wei.wang2@amd.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/vcpu.h')
-rw-r--r--xen/include/asm-x86/hvm/vcpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h
index ed6b250ff9..150b30d32d 100644
--- a/xen/include/asm-x86/hvm/vcpu.h
+++ b/xen/include/asm-x86/hvm/vcpu.h
@@ -76,6 +76,9 @@ struct hvm_vcpu {
u32 msr_tsc_aux;
+ /* VPMU */
+ struct vpmu_struct vpmu;
+
union {
struct arch_vmx_struct vmx;
struct arch_svm_struct svm;