diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-19 14:25:44 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-19 14:25:44 +0100 |
commit | 9e2bd8634f79d34f60ce37025344511c0e7e5f21 (patch) | |
tree | cef41eab77e49ed9833a5f8fd99e361961ff11a2 /xen/include/asm-x86/hvm/vcpu.h | |
parent | 71f7e668f042654a6c304552e780bb194ce144f2 (diff) | |
download | xen-9e2bd8634f79d34f60ce37025344511c0e7e5f21.tar.gz xen-9e2bd8634f79d34f60ce37025344511c0e7e5f21.tar.bz2 xen-9e2bd8634f79d34f60ce37025344511c0e7e5f21.zip |
hvm: Always keep canonical copy of RIP/RSP/RFLAGS in
guest_cpu_user_regs(). Reduces complexity at little or no performance
cost (except on really old Intel P4 hardware where VMREAD/VMWRITE are
silly expensive).
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/vcpu.h')
-rw-r--r-- | xen/include/asm-x86/hvm/vcpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/hvm/vcpu.h b/xen/include/asm-x86/hvm/vcpu.h index d790eb2037..e2738557e4 100644 --- a/xen/include/asm-x86/hvm/vcpu.h +++ b/xen/include/asm-x86/hvm/vcpu.h @@ -66,7 +66,7 @@ struct hvm_vcpu { #define ARCH_HVM_IO_WAIT 1 /* Waiting for I/O completion */ -#define HVM_CONTEXT_STACK_BYTES (offsetof(struct cpu_user_regs, error_code)) +#define HVM_CONTEXT_STACK_BYTES (offsetof(struct cpu_user_regs, ss)) #endif /* __ASM_X86_HVM_VCPU_H__ */ |