Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
libvirt.10484
87df87e0-libxl-timer-tsc-emulate.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 87df87e0-libxl-timer-tsc-emulate.patch of Package libvirt.10484
commit 87df87e06b57dedd39906cd46166842179732668 Author: Jim Fehlig <jfehlig@suse.com> Date: Thu Jan 19 16:21:34 2017 -0700 libxl: support emulate mode of tsc timer While at it, use members of libxl_tsc_mode enum instead of literal int values. Index: libvirt-1.2.18.4/src/libxl/libxl_conf.c =================================================================== --- libvirt-1.2.18.4.orig/src/libxl/libxl_conf.c +++ libvirt-1.2.18.4/src/libxl/libxl_conf.c @@ -649,13 +649,16 @@ libxlMakeDomBuildInfo(virDomainDefPtr de case VIR_DOMAIN_TIMER_NAME_TSC: switch (def->clock.timers[i]->mode) { case VIR_DOMAIN_TIMER_MODE_NATIVE: - b_info->tsc_mode = 2; + b_info->tsc_mode = LIBXL_TSC_MODE_NATIVE; break; case VIR_DOMAIN_TIMER_MODE_PARAVIRT: - b_info->tsc_mode = 3; + b_info->tsc_mode = LIBXL_TSC_MODE_NATIVE_PARAVIRT; + break; + case VIR_DOMAIN_TIMER_MODE_EMULATE: + b_info->tsc_mode = LIBXL_TSC_MODE_ALWAYS_EMULATE; break; default: - b_info->tsc_mode = 1; + b_info->tsc_mode = LIBXL_TSC_MODE_DEFAULT; } break;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor