Home
last modified time | relevance | path

Searched refs:tsc_mode (Results 1 – 17 of 17) sorted by relevance

/xen/docs/man/
A Dxen-tscmode.7.pod7 As of Xen 4.0, a new config option called tsc_mode may be specified
8 for each domain. The default for tsc_mode handles the vast majority
11 tsc_mode.
13 Proper selection of tsc_mode depends on an understanding not only of
15 ever run on this guest OS. This is because tsc_mode applies
62 The non-default choices for tsc_mode are:
66 =item * B<tsc_mode=1> (always emulate).
72 =item * B<tsc_mode=2> (never emulate).
78 =item * B<tsc_mode=3> (PVRDTSCP).
84 If tsc_mode is left unspecified (or set to B<tsc_mode=0>), a hybrid
[all …]
A Dxl.cfg.5.pod.in2119 =item B<tsc_mode="MODE">
/xen/xen/include/asm-x86/
A Dtime.h59 int tsc_set_info(struct domain *d, uint32_t tsc_mode, uint64_t elapsed_nsec,
62 void tsc_get_info(struct domain *d, uint32_t *tsc_mode, uint64_t *elapsed_nsec,
A Ddomain.h376 int tsc_mode; /* see include/asm-x86/time.h */ member
/xen/tools/libxl/
A Dlibxl_x86.c457 int tsc_mode; in libxl__arch_domain_create() local
474 switch (d_config->b_info.tsc_mode) { in libxl__arch_domain_create()
476 tsc_mode = 0; in libxl__arch_domain_create()
479 tsc_mode = 1; in libxl__arch_domain_create()
482 tsc_mode = 2; in libxl__arch_domain_create()
492 if (xc_domain_set_tsc_info(ctx->xch, domid, tsc_mode, 0, 0, 0)) { in libxl__arch_domain_create()
A Dlibxl_types.idl165 libxl_tsc_mode = Enumeration("tsc_mode", [
500 ("tsc_mode", libxl_tsc_mode),
/xen/xen/arch/x86/
A Dtime.c2337 void tsc_get_info(struct domain *d, uint32_t *tsc_mode, in tsc_get_info() argument
2345 *tsc_mode = d->arch.tsc_mode; in tsc_get_info()
2347 switch ( *tsc_mode ) in tsc_get_info()
2381 uint32_t tsc_mode, uint64_t elapsed_nsec, in tsc_set_info() argument
2392 switch ( tsc_mode ) in tsc_set_info()
2407 if ( tsc_mode == TSC_MODE_DEFAULT && host_tsc_is_safe() && in tsc_set_info()
2424 d->arch.tsc_mode = tsc_mode; in tsc_set_info()
2482 if ( is_hardware_domain(d) && d->arch.tsc_mode == TSC_MODE_DEFAULT ) in dump_softtsc()
2485 is_hvm_domain(d) ? "(hvm)" : "", d->arch.tsc_mode); in dump_softtsc()
A Ddomctl.c902 tsc_get_info(d, &domctl->u.tsc_info.tsc_mode, in arch_do_domctl()
917 ret = tsc_set_info(d, domctl->u.tsc_info.tsc_mode, in arch_do_domctl()
A Dtraps.c1004 res->b = d->arch.tsc_mode; in cpuid_hypervisor_leaves()
/xen/tools/libxc/
A Dxc_domain.c830 uint32_t tsc_mode, in xc_domain_set_tsc_info() argument
838 domctl.u.tsc_info.tsc_mode = tsc_mode; in xc_domain_set_tsc_info()
847 uint32_t *tsc_mode, in xc_domain_get_tsc_info() argument
860 *tsc_mode = domctl.u.tsc_info.tsc_mode; in xc_domain_get_tsc_info()
/xen/tools/xl/
A Dxl_sxp.c69 fprintf(fh, "\t(tsc_mode %s)\n", libxl_tsc_mode_to_string(b_info->tsc_mode)); in printf_info_sexp()
A Dxl_parse.c1545 b_info->tsc_mode = l; in parse_config_data()
1548 if (libxl_tsc_mode_from_string(buf, &b_info->tsc_mode)) { in parse_config_data()
/xen/xen/arch/x86/mm/
A Dmem_sharing.c1646 uint32_t tsc_mode; in copy_tsc() local
1651 tsc_get_info(d, &tsc_mode, &elapsed_nsec, &gtsc_khz, &incarnation); in copy_tsc()
1653 tsc_set_info(cd, tsc_mode, elapsed_nsec, gtsc_khz, incarnation - 1); in copy_tsc()
/xen/xen/include/public/
A Ddomctl.h743 uint32_t tsc_mode; member
/xen/tools/python/xen/lowlevel/xc/
A Dxc.c1460 uint32_t dom, tsc_mode; in pyxc_domain_set_tsc_info() local
1462 if (!PyArg_ParseTuple(args, "ii", &dom, &tsc_mode)) in pyxc_domain_set_tsc_info()
1465 if (xc_domain_set_tsc_info(self->xc_handle, dom, tsc_mode, 0, 0, 0) != 0) in pyxc_domain_set_tsc_info()
/xen/tools/libxc/include/
A Dxenctrl.h1342 uint32_t tsc_mode,
1349 uint32_t *tsc_mode,
/xen/tools/golang/xenlight/
A Dhelpers.gen.go988 x.TscMode = TscMode(xc.tsc_mode)
1306 xc.tsc_mode = C.libxl_tsc_mode(x.TscMode)

Completed in 631 milliseconds