aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/vcpu.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-06-27 09:51:18 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-06-27 09:51:18 +0100
commitbb8fad6de570747eee00b553111171c04aa05442 (patch)
tree0d6415c74aac26511c6bf9ccb17f5cbfe0d71f57 /xen/include/asm-x86/hvm/vcpu.h
parent18baf39b39fe31302671ec19aac3f482d4d8c9b4 (diff)
downloadxen-bb8fad6de570747eee00b553111171c04aa05442.tar.gz
xen-bb8fad6de570747eee00b553111171c04aa05442.tar.bz2
xen-bb8fad6de570747eee00b553111171c04aa05442.zip
[HVM][VMX] Added flag_dr_dirty to hvm vcpu struct. If this flag is set,
save the debug registers, clear the flag, and remove guest access to debug registers. Signed-off-by: George Dunlap <dunlapg@umich.edu> Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.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 3503c57ffe..80dd267fc9 100644
--- a/xen/include/asm-x86/hvm/vcpu.h
+++ b/xen/include/asm-x86/hvm/vcpu.h
@@ -38,6 +38,9 @@ struct hvm_vcpu {
/* For AP startup */
unsigned long init_sipi_sipi_state;
+ /* Flags */
+ int flag_dr_dirty;
+
union {
struct arch_vmx_struct vmx;
struct arch_svm_struct svm;