aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/vcpu.h
diff options
context:
space:
mode:
authorPaul Durrant <paul.durrant@citrix.com>2011-09-17 16:22:13 +0100
committerPaul Durrant <paul.durrant@citrix.com>2011-09-17 16:22:13 +0100
commit251d889009995640af7c2d53eb018639d77ae98a (patch)
tree87f8c965469dd26ea241459bf6811c7c440ec604 /xen/include/asm-x86/hvm/vcpu.h
parentd285a773d6f5d7fb4e654291b5fce90bb8ec8852 (diff)
downloadxen-251d889009995640af7c2d53eb018639d77ae98a.tar.gz
xen-251d889009995640af7c2d53eb018639d77ae98a.tar.bz2
xen-251d889009995640af7c2d53eb018639d77ae98a.zip
x86/hvm: Tidy up the viridian code a little and flesh out the APIC
assist MSR handling code. We don't say we that handle that MSR but Windows assumes it. In Windows 7 it just wrote to the MSR and we used to handle that ok. Windows 8 also reads from the MSR so we need to keep a record of the contents. Signed-off-by: Paul Durrant <paul.durrant@citrix.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 8c225a51eb..d899c9a713 100644
--- a/xen/include/asm-x86/hvm/vcpu.h
+++ b/xen/include/asm-x86/hvm/vcpu.h
@@ -23,6 +23,7 @@
#include <xen/tasklet.h>
#include <asm/hvm/io.h>
#include <asm/hvm/vlapic.h>
+#include <asm/hvm/viridian.h>
#include <asm/hvm/vmx/vmcs.h>
#include <asm/hvm/vmx/vvmx.h>
#include <asm/hvm/svm/vmcb.h>
@@ -163,6 +164,8 @@ struct hvm_vcpu {
int inject_trap; /* -1 for nothing to inject */
int inject_error_code;
unsigned long inject_cr2;
+
+ struct viridian_vcpu viridian;
};
#endif /* __ASM_X86_HVM_VCPU_H__ */