x86, hvm: Fix softtsc for AMD-V
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 15 Aug 2008 13:59:41 +0000 (14:59 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 15 Aug 2008 13:59:41 +0000 (14:59 +0100)
commita532271d470630d7d05635ca0333826b0bf90bcf
tree19610fdf465057698949d0588a7ef6a16209d984
parent202b0e0dc09615fc3dcc619a89a3ca3fc2279812
x86, hvm: Fix softtsc for AMD-V

The softtsc code for AMD does not update the ip; enabling it on AMD-V
results in the domain spinning on the RDTSC instruction. The patch is
against xen-unstable 18331.

Signed-off-by: John Byrne <john.l.byrne@hp.com>
xen/arch/x86/hvm/svm/emulate.c
xen/arch/x86/hvm/svm/svm.c
xen/include/asm-x86/hvm/svm/emulate.h