ia64/xen-unstable

changeset 15595:0aa2a954a6d1

Do not clobber AMD TSC offset on real-mode switch.
Signed-off-by: David Lively <dlively@virtualiron.com>
Signed-off-by: Ben Guthro <bguthro@virtualiron.com>
author kfraser@localhost.localdomain
date Fri Jul 13 13:46:49 2007 +0100 (2007-07-13)
parents 00fabe66d79e
children 8b4518a6f815
files xen/arch/x86/hvm/svm/svm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Fri Jul 13 13:43:29 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Fri Jul 13 13:46:49 2007 +0100
     1.3 @@ -2328,9 +2328,6 @@ static int svm_reset_to_realmode(struct 
     1.4      /* clear the vmcb and user regs */
     1.5      memset(regs, 0, sizeof(struct cpu_user_regs));
     1.6     
     1.7 -    /* VMCB Control */
     1.8 -    vmcb->tsc_offset = 0;
     1.9 -
    1.10      /* VMCB State */
    1.11      vmcb->cr0 = X86_CR0_ET | X86_CR0_PG | X86_CR0_WP;
    1.12      v->arch.hvm_svm.cpu_shadow_cr0 = X86_CR0_ET;