diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-08-27 11:25:34 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-08-27 11:25:34 +0100 |
commit | d4fc7ea04de2d81f78a03ff7ae0fb5ee27dd6d49 (patch) | |
tree | d0d6b1d69d3a41e094639016f55b9bb03b6b6f42 /xen/include/asm-x86/hvm/support.h | |
parent | fbed278604f69ea801dcea2d05df9ace1156a55d (diff) | |
download | xen-d4fc7ea04de2d81f78a03ff7ae0fb5ee27dd6d49.tar.gz xen-d4fc7ea04de2d81f78a03ff7ae0fb5ee27dd6d49.tar.bz2 xen-d4fc7ea04de2d81f78a03ff7ae0fb5ee27dd6d49.zip |
x86: softtsc for PV domains
Implement softtsc (TSC emulation) for userland code in PV domains. It
currently is tied to the existing "softtsc" Xen boot option (which
does the same thing but for HVM domains). Later it should be tied to
a vm.cfg option, but this is sufficient for now to obtain performance
degradation data for PV environments that heavily utilize rdtsc. To
record emulation frequency, use debug-key "s".
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xen/include/asm-x86/hvm/support.h b/xen/include/asm-x86/hvm/support.h index e533f1bee8..cfacb04e4e 100644 --- a/xen/include/asm-x86/hvm/support.h +++ b/xen/include/asm-x86/hvm/support.h @@ -126,7 +126,6 @@ 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. */ |