/xen/docs/man/ |
A D | xen-tscmode.7.pod | 7 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 D | xl.cfg.5.pod.in | 2119 =item B<tsc_mode="MODE">
|
/xen/xen/include/asm-x86/ |
A D | time.h | 59 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 D | domain.h | 376 int tsc_mode; /* see include/asm-x86/time.h */ member
|
/xen/tools/libxl/ |
A D | libxl_x86.c | 457 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 D | libxl_types.idl | 165 libxl_tsc_mode = Enumeration("tsc_mode", [ 500 ("tsc_mode", libxl_tsc_mode),
|
/xen/xen/arch/x86/ |
A D | time.c | 2337 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 D | domctl.c | 902 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 D | traps.c | 1004 res->b = d->arch.tsc_mode; in cpuid_hypervisor_leaves()
|
/xen/tools/libxc/ |
A D | xc_domain.c | 830 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 D | xl_sxp.c | 69 fprintf(fh, "\t(tsc_mode %s)\n", libxl_tsc_mode_to_string(b_info->tsc_mode)); in printf_info_sexp()
|
A D | xl_parse.c | 1545 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 D | mem_sharing.c | 1646 uint32_t tsc_mode; in copy_tsc() local 1651 tsc_get_info(d, &tsc_mode, &elapsed_nsec, >sc_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 D | domctl.h | 743 uint32_t tsc_mode; member
|
/xen/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 1460 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 D | xenctrl.h | 1342 uint32_t tsc_mode, 1349 uint32_t *tsc_mode,
|
/xen/tools/golang/xenlight/ |
A D | helpers.gen.go | 988 x.TscMode = TscMode(xc.tsc_mode) 1306 xc.tsc_mode = C.libxl_tsc_mode(x.TscMode)
|