aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/vcpu.h
diff options
context:
space:
mode:
authorcegger <none@none>2011-03-09 12:36:05 +0100
committercegger <none@none>2011-03-09 12:36:05 +0100
commit9a779e4fc1619a61c407d4db8934c8732a6c2d02 (patch)
tree7f5f51e5b821fa90d1c2c01f4aa0eaad5f27c3f5 /xen/include/asm-x86/hvm/vcpu.h
parent5120a76fad77858d2ac2cbcce8a3dd3500d25e87 (diff)
downloadxen-9a779e4fc1619a61c407d4db8934c8732a6c2d02.tar.gz
xen-9a779e4fc1619a61c407d4db8934c8732a6c2d02.tar.bz2
xen-9a779e4fc1619a61c407d4db8934c8732a6c2d02.zip
Implement SVM specific part for Nested Virtualization
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Acked-by: Tim Deegan <Tim.Deegan@citrix.com> Committed-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/vcpu.h')
-rw-r--r--xen/include/asm-x86/hvm/vcpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h
index e5d26c9f22..a5e3401fe0 100644
--- a/xen/include/asm-x86/hvm/vcpu.h
+++ b/xen/include/asm-x86/hvm/vcpu.h
@@ -25,6 +25,7 @@
#include <asm/hvm/vlapic.h>
#include <asm/hvm/vmx/vmcs.h>
#include <asm/hvm/svm/vmcb.h>
+#include <asm/hvm/svm/nestedsvm.h>
#include <asm/mtrr.h>
enum hvm_io_state {
@@ -50,6 +51,7 @@ struct nestedvcpu {
/* SVM/VMX arch specific */
union {
+ struct nestedsvm nsvm;
} u;
bool_t nv_flushp2m; /* True, when p2m table must be flushed */