[Libvirt-cim] [PATCH 09 of 11] SDS: fix stale issue with threads

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Feb 5 10:14:08 UTC 2008


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1202208798 -3600
# Node ID ca631d19373b61f60e83eddc4be4ca4176653647
# Parent  1208c17a1a11df7fd3fa118c6f222c95f4efd083
SDS: fix stale issue with threads
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r 1208c17a1a11 -r ca631d19373b src/Virt_SettingsDefineState.c
--- a/src/Virt_SettingsDefineState.c	Tue Feb 05 11:53:18 2008 +0100
+++ b/src/Virt_SettingsDefineState.c	Tue Feb 05 11:53:18 2008 +0100
@@ -290,7 +290,7 @@ static CMPIStatus vssd_to_vs(const CMPIO
 
 LIBVIRT_CIM_DEFAULT_MAKEREF()
 
-char* logical_device[] = {
+static char* logical_device[] = {
         "Xen_Processor",
         "Xen_Memory",
         "Xen_NetworkPort",
@@ -302,7 +302,7 @@ char* logical_device[] = {
         NULL
 };
 
-char* resource_allocation_setting_data[] = {
+static char* resource_allocation_setting_data[] = {
         "Xen_DiskResourceAllocationSettingData",
         "Xen_MemResourceAllocationSettingData",
         "Xen_NetResourceAllocationSettingData",
@@ -314,19 +314,19 @@ char* resource_allocation_setting_data[]
         NULL
 };
 
-char* computer_system[] = {
+static char* computer_system[] = {
         "Xen_ComputerSystem",
         "KVM_ComputerSystem",
         NULL
 };
 
-char* virtual_system_setting_data[] = {
+static char* virtual_system_setting_data[] = {
         "Xen_VirtualSystemSettingData",
         "KVM_VirtualSystemSettingData",        
         NULL
 };
 
-char* assoc_classname[] = {
+static char* assoc_classname[] = {
         "Xen_SettingsDefineState",
         "KVM_SettingsDefineState",        
         NULL




More information about the Libvirt-cim mailing list