diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-07-10 15:45:18 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-07-10 15:45:18 +0100 |
commit | 5fd92b77dce4525ca332a94d000d88f22f7e7411 (patch) | |
tree | 32da7457c1072f6ed56da7b782990ff2a2b09133 /xen/include/asm-x86/hvm/support.h | |
parent | 49ecbb58e06f4ed07276ad222f20345229c0c1f1 (diff) | |
download | xen-5fd92b77dce4525ca332a94d000d88f22f7e7411.tar.gz xen-5fd92b77dce4525ca332a94d000d88f22f7e7411.tar.bz2 xen-5fd92b77dce4525ca332a94d000d88f22f7e7411.zip |
x86 hvm: New boot option 'softtsc' to cause RDTSC to be trapped-and-emulated.
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/support.h')
-rw-r--r-- | xen/include/asm-x86/hvm/support.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/support.h b/xen/include/asm-x86/hvm/support.h index 38a0025855..9e3ef99e9b 100644 --- a/xen/include/asm-x86/hvm/support.h +++ b/xen/include/asm-x86/hvm/support.h @@ -125,6 +125,9 @@ int hvm_do_hypercall(struct cpu_user_regs *pregs); void hvm_hlt(unsigned long rflags); void hvm_triple_fault(void); +extern int opt_softtsc; +void hvm_rdtsc_intercept(struct cpu_user_regs *regs); + /* These functions all return X86EMUL return codes. */ int hvm_set_efer(uint64_t value); int hvm_set_cr0(unsigned long value); |