Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
libvirt.10106
bd874d9f-cpu_x86-Rename-virCPUx86MapInitialize....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bd874d9f-cpu_x86-Rename-virCPUx86MapInitialize.patch of Package libvirt.10106
From bd874d9ff176880aa7d1d9becdf60666aaa14513 Mon Sep 17 00:00:00 2001 From: Jiri Denemark <jdenemar@redhat.com> Date: Wed, 13 Dec 2017 22:30:31 +0100 Subject: [PATCH 3/5] cpu_x86: Rename virCPUx86MapInitialize The function will be used to initialize internal data of the x86 CPU driver (including the CPU map). Signed-off-by: Jiri Denemark <jdenemar@redhat.com> --- src/cpu/cpu_x86.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: libvirt-3.3.0/src/cpu/cpu_x86.c =================================================================== --- libvirt-3.3.0.orig/src/cpu/cpu_x86.c +++ libvirt-3.3.0/src/cpu/cpu_x86.c @@ -153,8 +153,8 @@ struct _virCPUx86Map { }; static virCPUx86MapPtr cpuMap; -int virCPUx86MapOnceInit(void); -VIR_ONCE_GLOBAL_INIT(virCPUx86Map); +int virCPUx86DriverOnceInit(void); +VIR_ONCE_GLOBAL_INIT(virCPUx86Driver); typedef enum { @@ -1386,7 +1386,7 @@ virCPUx86LoadMap(void) int -virCPUx86MapOnceInit(void) +virCPUx86DriverOnceInit(void) { if (!(cpuMap = virCPUx86LoadMap())) return -1; @@ -1398,7 +1398,7 @@ virCPUx86MapOnceInit(void) static virCPUx86MapPtr virCPUx86GetMap(void) { - if (virCPUx86MapInitialize() < 0) + if (virCPUx86DriverInitialize() < 0) return NULL; return cpuMap;
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