From jferlan at redhat.com Mon Jun 17 23:56:29 2013 From: jferlan at redhat.com (John Ferlan) Date: Mon, 17 Jun 2013 19:56:29 -0400 Subject: [Libvirt-cim] [PATCH] Improve support of nested KVM In-Reply-To: <1369380891-11250-1-git-send-email-cngesaint@outlook.com> References: <1369380891-11250-1-git-send-email-cngesaint@outlook.com> Message-ID: <51BFA22D.20000@redhat.com> On 05/24/2013 03:34 AM, cngesaint at outlook.com wrote: > From: Xu Wang > > Under nested KVM environment libvirt-cim could recognize kvm support > correctly now. > > Signed-off-by: Xu Wang > --- > libxkutil/device_parsing.c | 19 +++++++++++++++++++ > libxkutil/device_parsing.h | 2 ++ > src/Virt_VirtualSystemManagementService.c | 22 +++++++++++++++++++--- > 3 files changed, 40 insertions(+), 3 deletions(-) > > diff --git a/libxkutil/device_parsing.c b/libxkutil/device_parsing.c > index 436415a..58d9094 100644 > --- a/libxkutil/device_parsing.c > +++ b/libxkutil/device_parsing.c > @@ -396,6 +396,25 @@ err: > return 0; > } > > +int parse_domain_type(xmlNodePtr node, char **value) > +{ > + xmlNodePtr child = NULL; > + > + child = node->children; > + while (child != NULL) { > + if (XSTREQ(child->name, "domain")) { > + *value = get_attr_value(child, "type"); This returns either a NULL or strdup()'d value. It seems by the makeup of this loop that we will continue down a "child" forward link list potentially overwriting a previous value and leaking memory. Is there something that should cause us to exit the loop? > + } > + if (parse_domain_type(child, value) != 1) > + goto err; So a child could have a child. > + child = child->next; > + } > + > + return 1; We potentially could return a 1, but a NULL 'val' - is that expected. > +err: > + return 0; This function does not return CMPI_RC_OK or whatever else so the caller shouldn't be comparing against that... > +} > + > static int parse_net_device(xmlNode *inode, struct virt_device **vdevs) > { > struct virt_device *vdev = NULL; > diff --git a/libxkutil/device_parsing.h b/libxkutil/device_parsing.h > index 6f6b0b4..733324f 100644 > --- a/libxkutil/device_parsing.h > +++ b/libxkutil/device_parsing.h > @@ -221,6 +221,8 @@ int attach_device(virDomainPtr dom, struct virt_device *dev); > int detach_device(virDomainPtr dom, struct virt_device *dev); > int change_device(virDomainPtr dom, struct virt_device *dev); > > +int parse_domain_type(xmlNodePtr node, char **value); > + > #define XSTREQ(x, y) (STREQ((char *)x, y)) > #define STRPROP(d, p, n) (d->p = get_node_content(n)) > > diff --git a/src/Virt_VirtualSystemManagementService.c b/src/Virt_VirtualSystemManagementService.c > index 7b7261a..5210fdf 100644 > --- a/src/Virt_VirtualSystemManagementService.c > +++ b/src/Virt_VirtualSystemManagementService.c > @@ -393,8 +393,13 @@ static bool system_has_kvm(const char *pfx) > CMPIStatus s; > virConnectPtr conn; > char *caps = NULL; > - bool kvm = false; > bool disable_kvm = get_disable_kvm(); > + char *val = NULL; > + int ret; > + xmlDocPtr doc; > + xmlNodePtr node; I think both of these need to be initialized to NULL because of the free() below. > + int len; > + bool kvm = false; > > /* sometimes disable KVM to avoid problem in nested KVM */ > if (disable_kvm) { > @@ -408,10 +413,21 @@ static bool system_has_kvm(const char *pfx) > } > > caps = virConnectGetCapabilities(conn); > - if (caps != NULL) > - kvm = (strstr(caps, "kvm") != NULL); > + if (caps != NULL) { > + len = strlen(caps) + 1; > + doc = xmlParseMemory(caps, len); if (doc == NULL) { /* Error message ? Do we care */ goto cleanup; } > + node = xmlDocGetRootElement(doc); if (node == NULL) { /* Error message ? Do we care */ goto cleanup; } > + ret = parse_domain_type(node, &val); > + CU_DEBUG("domain type is %s.", val); ^^^^^ Move inside the if statement below, val could be NULL > + if (ret == CMPI_RC_OK) { == 1) { > + if(STREQC(val, "kvm")) ^^ Add a space between "if" and "(" > + kvm = true; > + } > + } } else { /* Do we care what failure means here?? */ } Alternatively, if (parse_domain_type(node, &val) && STREQC(val, "kvm")) { kvm = true; } else { if (val) CU_DEBUG("domain type is %s.", val); } cleanup: > > free(caps); > + free(doc); > + free(val); > > virConnectClose(conn); > > From cngesaint at gmail.com Tue Jun 18 09:03:02 2013 From: cngesaint at gmail.com (Xu Wang) Date: Tue, 18 Jun 2013 17:03:02 +0800 Subject: [Libvirt-cim] [PATCH V2] Improve support of nested KVM Message-ID: <1371546182-4354-1-git-send-email-cngesaint@gmail.com> From: Xu Wang Under nested KVM environment libvirt-cim could recognize kvm support correctly now. Signed-off-by: Xu Wang --- libxkutil/device_parsing.c | 27 ++++++++++++++++++++ libxkutil/device_parsing.h | 2 + src/Virt_VirtualSystemManagementService.c | 38 +++++++++++++++++++++++++---- 3 files changed, 62 insertions(+), 5 deletions(-) diff --git a/libxkutil/device_parsing.c b/libxkutil/device_parsing.c index 436415a..16195da 100644 --- a/libxkutil/device_parsing.c +++ b/libxkutil/device_parsing.c @@ -396,6 +396,33 @@ err: return 0; } +int parse_domain_type(xmlNodePtr node, char **value) +{ + xmlNodePtr child = NULL; + char *type = NULL; + + child = node->children; + while (child != NULL) { + if (XSTREQ(child->name, "domain")) { + type = get_attr_value(child, "type"); + if (type != NULL) { + *value = strdup(type); + goto out; + } + } + + if (parse_domain_type(child, value) == 1) { + goto out; + } + + child = child->next; + } + + return 0; +out: + return 1; +} + static int parse_net_device(xmlNode *inode, struct virt_device **vdevs) { struct virt_device *vdev = NULL; diff --git a/libxkutil/device_parsing.h b/libxkutil/device_parsing.h index 6f6b0b4..733324f 100644 --- a/libxkutil/device_parsing.h +++ b/libxkutil/device_parsing.h @@ -221,6 +221,8 @@ int attach_device(virDomainPtr dom, struct virt_device *dev); int detach_device(virDomainPtr dom, struct virt_device *dev); int change_device(virDomainPtr dom, struct virt_device *dev); +int parse_domain_type(xmlNodePtr node, char **value); + #define XSTREQ(x, y) (STREQ((char *)x, y)) #define STRPROP(d, p, n) (d->p = get_node_content(n)) diff --git a/src/Virt_VirtualSystemManagementService.c b/src/Virt_VirtualSystemManagementService.c index 7b7261a..8e1e6b1 100644 --- a/src/Virt_VirtualSystemManagementService.c +++ b/src/Virt_VirtualSystemManagementService.c @@ -393,25 +393,53 @@ static bool system_has_kvm(const char *pfx) CMPIStatus s; virConnectPtr conn; char *caps = NULL; - bool kvm = false; bool disable_kvm = get_disable_kvm(); + char *val = NULL; + xmlDocPtr doc = NULL; + xmlNodePtr node = NULL; + int len; + bool kvm = false; /* sometimes disable KVM to avoid problem in nested KVM */ if (disable_kvm) { CU_DEBUG("Enter disable kvm mode!"); - return false; + goto out; } conn = connect_by_classname(_BROKER, pfx, &s); if ((conn == NULL) || (s.rc != CMPI_RC_OK)) { - return false; + goto out; } caps = virConnectGetCapabilities(conn); - if (caps != NULL) - kvm = (strstr(caps, "kvm") != NULL); + if (caps != NULL) { + len = strlen(caps) + 1; + + doc = xmlParseMemory(caps, len); + if (doc == NULL) { + CU_DEBUG("xmlParseMemory() call failed!"); + goto out; + } + + node = xmlDocGetRootElement(doc); + if (node == NULL) { + CU_DEBUG("xmlDocGetRootElement() call failed!"); + goto out; + } + + if (parse_domain_type(node, &val) && + STREQC(val, "kvm")) { + CU_DEBUG("The system support kvm!"); + kvm = true; + } else { + CU_DEBUG("Domain type is %s.", val); + } + } +out: free(caps); + free(doc); + free(val); virConnectClose(conn); -- 1.7.1 From jferlan at redhat.com Thu Jun 20 10:15:58 2013 From: jferlan at redhat.com (John Ferlan) Date: Thu, 20 Jun 2013 06:15:58 -0400 Subject: [Libvirt-cim] [PATCH V2] Improve support of nested KVM In-Reply-To: <1371546182-4354-1-git-send-email-cngesaint@gmail.com> References: <1371546182-4354-1-git-send-email-cngesaint@gmail.com> Message-ID: <51C2D65E.1040701@redhat.com> On 06/18/2013 05:03 AM, Xu Wang wrote: > From: Xu Wang > > Under nested KVM environment libvirt-cim could recognize kvm support > correctly now. > > Signed-off-by: Xu Wang > --- > libxkutil/device_parsing.c | 27 ++++++++++++++++++++ > libxkutil/device_parsing.h | 2 + > src/Virt_VirtualSystemManagementService.c | 38 +++++++++++++++++++++++++---- > 3 files changed, 62 insertions(+), 5 deletions(-) > ACK and pushed with the following diff squashed in to initialize conn since you changed the logic to goto out "if (disable_kvm) is true which is before we get a conn pointer. John diff --git a/src/Virt_VirtualSystemManagementService.c b/src/Virt_VirtualSystemM index 4f5e47f..a46cd65 100644 --- a/src/Virt_VirtualSystemManagementService.c +++ b/src/Virt_VirtualSystemManagementService.c @@ -391,7 +391,7 @@ static bool fv_set_emulator(struct domain *domain, static bool system_has_kvm(const char *pfx) { CMPIStatus s; - virConnectPtr conn; + virConnectPtr conn = NULL; char *caps = NULL; bool disable_kvm = get_disable_kvm(); char *val = NULL; > diff --git a/libxkutil/device_parsing.c b/libxkutil/device_parsing.c > index 436415a..16195da 100644 > --- a/libxkutil/device_parsing.c > +++ b/libxkutil/device_parsing.c > @@ -396,6 +396,33 @@ err: > return 0; > } > > +int parse_domain_type(xmlNodePtr node, char **value) > +{ > + xmlNodePtr child = NULL; > + char *type = NULL; > + > + child = node->children; > + while (child != NULL) { > + if (XSTREQ(child->name, "domain")) { > + type = get_attr_value(child, "type"); > + if (type != NULL) { > + *value = strdup(type); > + goto out; > + } > + } > + > + if (parse_domain_type(child, value) == 1) { > + goto out; > + } > + > + child = child->next; > + } > + > + return 0; > +out: > + return 1; > +} > + > static int parse_net_device(xmlNode *inode, struct virt_device **vdevs) > { > struct virt_device *vdev = NULL; > diff --git a/libxkutil/device_parsing.h b/libxkutil/device_parsing.h > index 6f6b0b4..733324f 100644 > --- a/libxkutil/device_parsing.h > +++ b/libxkutil/device_parsing.h > @@ -221,6 +221,8 @@ int attach_device(virDomainPtr dom, struct virt_device *dev); > int detach_device(virDomainPtr dom, struct virt_device *dev); > int change_device(virDomainPtr dom, struct virt_device *dev); > > +int parse_domain_type(xmlNodePtr node, char **value); > + > #define XSTREQ(x, y) (STREQ((char *)x, y)) > #define STRPROP(d, p, n) (d->p = get_node_content(n)) > > diff --git a/src/Virt_VirtualSystemManagementService.c b/src/Virt_VirtualSystemManagementService.c > index 7b7261a..8e1e6b1 100644 > --- a/src/Virt_VirtualSystemManagementService.c > +++ b/src/Virt_VirtualSystemManagementService.c > @@ -393,25 +393,53 @@ static bool system_has_kvm(const char *pfx) > CMPIStatus s; > virConnectPtr conn; > char *caps = NULL; > - bool kvm = false; > bool disable_kvm = get_disable_kvm(); > + char *val = NULL; > + xmlDocPtr doc = NULL; > + xmlNodePtr node = NULL; > + int len; > + bool kvm = false; > > /* sometimes disable KVM to avoid problem in nested KVM */ > if (disable_kvm) { > CU_DEBUG("Enter disable kvm mode!"); > - return false; > + goto out; > } > > conn = connect_by_classname(_BROKER, pfx, &s); > if ((conn == NULL) || (s.rc != CMPI_RC_OK)) { > - return false; > + goto out; > } > > caps = virConnectGetCapabilities(conn); > - if (caps != NULL) > - kvm = (strstr(caps, "kvm") != NULL); > + if (caps != NULL) { > + len = strlen(caps) + 1; > + > + doc = xmlParseMemory(caps, len); > + if (doc == NULL) { > + CU_DEBUG("xmlParseMemory() call failed!"); > + goto out; > + } > + > + node = xmlDocGetRootElement(doc); > + if (node == NULL) { > + CU_DEBUG("xmlDocGetRootElement() call failed!"); > + goto out; > + } > + > + if (parse_domain_type(node, &val) && > + STREQC(val, "kvm")) { > + CU_DEBUG("The system support kvm!"); > + kvm = true; > + } else { > + CU_DEBUG("Domain type is %s.", val); > + } > + } > > +out: > free(caps); > + free(doc); > + free(val); > > virConnectClose(conn); > > From jferlan at redhat.com Thu Jun 20 10:27:06 2013 From: jferlan at redhat.com (John Ferlan) Date: Thu, 20 Jun 2013 06:27:06 -0400 Subject: [Libvirt-cim] [PATCH 00/19] Resolve Coverity warnings In-Reply-To: <1368716274-31619-1-git-send-email-jferlan@redhat.com> References: <1368716274-31619-1-git-send-email-jferlan@redhat.com> Message-ID: <51C2D8FA.1040207@redhat.com> On 05/16/2013 10:57 AM, John Ferlan wrote: > The following set of patches resolve a number of Coverity errors/warnings > that have crept into the code. After these changes there will be zero > warnings > > John Ferlan (19): > Coverity: Resolve BAD_COMPARE - ActivateFilter() > Coverity: Resolve CHECKED_RETURN - _generic_infostore_open() > Coverity: Resolve CHECKED_RETURN - filter_by_pool() > Coverity: Resolve CHECKED_RETURN - get_dev_from_pool > Coverity: Resolve CHECKED_RETURN - get_pools() > Coverity: Resolve CHECKED_RETURN - mem_rasd_to_vdev() > Coverity: Resolve CHECKED_RETURN - return_enum_rasds() > Coverity: Resolve DEADCODE - do_parse() > Coverity: Resolve DEADCODE - get_hypervisor_enabled() > Coverity: Resolve DEADCODE - octets_from_ip() > Coverity: Resolve NO_EFFECT - set_proc_rasd_params() > Coverity: Resolve NO_EFFECT - _set_fv_prop() > Coverity: Resolve RESOURCE_LEAK - parse_os() > Coverity: Resolve REVERSE_INULL - doms_to_xml() > Coverity: Resolve REVERSE_INULL - lifecycle_thread_native() > Coverity: Resolve UNINIT - vsss_delete_snapshot() > Coverity: Resolve UNUSED_VALUE - system_xml() && mem_xml() > Coverity: Resolve USE_AFTER_FREE - lifecycle_thread_native() > Coverity: Resolve ARRAY_VS_SINGLETON - get_dev_paths() and callers > > libxkutil/device_parsing.c | 8 +++++++- > libxkutil/infostore.c | 5 ++++- > libxkutil/misc_util.c | 4 ++-- > libxkutil/xmlgen.c | 16 ++++++++++++++++ > src/Virt_ComputerSystemIndication.c | 19 +++++++++++++------ > src/Virt_ElementAllocatedFromPool.c | 12 +++++++----- > src/Virt_FilterEntry.c | 3 --- > src/Virt_RASD.c | 20 ++++++++++++++------ > src/Virt_ResourceAllocationFromPool.c | 4 +++- > src/Virt_ResourcePoolConfigurationService.c | 20 +++++++------------- > src/Virt_VSSD.c | 2 +- > src/Virt_VirtualSystemManagementService.c | 4 +++- > src/Virt_VirtualSystemSnapshotService.c | 2 +- > 13 files changed, 78 insertions(+), 41 deletions(-) > After resolving a couple of issues with the changes in 6/19 and 11/19, I have pushed these. There are zero Coverity errors using the default aggressiveness for cov-analyze. John From jferlan at redhat.com Thu Jun 20 11:14:25 2013 From: jferlan at redhat.com (John Ferlan) Date: Thu, 20 Jun 2013 07:14:25 -0400 Subject: [Libvirt-cim] [PATCH] Update GPL Message-ID: <1371726866-4350-1-git-send-email-jferlan@redhat.com> Following the lead of changes made to libvirt upstream to update the FSF address based on the following recommended text: http://www.gnu.org/licenses/gpl-howto.html I have pushed this as trival Essentially the difference is as follows: - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . John Ferlan (1): Update GPL libxkutil/acl_parsing.c | 4 ++-- libxkutil/acl_parsing.h | 4 ++-- libxkutil/cs_util.h | 4 ++-- libxkutil/cs_util_instance.c | 4 ++-- libxkutil/device_parsing.c | 4 ++-- libxkutil/device_parsing.h | 4 ++-- libxkutil/infostore.c | 4 ++-- libxkutil/infostore.h | 4 ++-- libxkutil/list_util.c | 4 ++-- libxkutil/list_util.h | 4 ++-- libxkutil/misc_util.c | 4 ++-- libxkutil/misc_util.h | 4 ++-- libxkutil/pool_parsing.c | 4 ++-- libxkutil/pool_parsing.h | 4 ++-- libxkutil/xmlgen.c | 4 ++-- libxkutil/xmlgen.h | 4 ++-- src/Virt_AllocationCapabilities.c | 4 ++-- src/Virt_AllocationCapabilities.h | 4 ++-- src/Virt_AppliedFilterList.c | 4 ++-- src/Virt_ComputerSystem.c | 4 ++-- src/Virt_ComputerSystem.h | 4 ++-- src/Virt_ComputerSystemIndication.c | 4 ++-- src/Virt_ComputerSystemIndication.h | 4 ++-- src/Virt_ComputerSystemMigrationIndication.c | 4 ++-- src/Virt_ConcreteComponent.c | 4 ++-- src/Virt_ConsoleRedirectionService.c | 4 ++-- src/Virt_ConsoleRedirectionService.h | 4 ++-- src/Virt_ConsoleRedirectionServiceCapabilities.c | 4 ++-- src/Virt_ConsoleRedirectionServiceCapabilities.h | 4 ++-- src/Virt_Device.c | 4 ++-- src/Virt_Device.h | 4 ++-- src/Virt_DevicePool.c | 4 ++-- src/Virt_DevicePool.h | 4 ++-- src/Virt_ElementAllocatedFromPool.c | 4 ++-- src/Virt_ElementCapabilities.c | 4 ++-- src/Virt_ElementConformsToProfile.c | 4 ++-- src/Virt_ElementSettingData.c | 4 ++-- src/Virt_EnabledLogicalElementCapabilities.c | 4 ++-- src/Virt_EnabledLogicalElementCapabilities.h | 4 ++-- src/Virt_EntriesInFilterList.c | 4 ++-- src/Virt_FilterEntry.c | 4 ++-- src/Virt_FilterEntry.h | 4 ++-- src/Virt_FilterList.c | 4 ++-- src/Virt_FilterList.h | 4 ++-- src/Virt_HostSystem.c | 4 ++-- src/Virt_HostSystem.h | 4 ++-- src/Virt_HostedAccessPoint.c | 4 ++-- src/Virt_HostedDependency.c | 4 ++-- src/Virt_HostedFilterList.c | 4 ++-- src/Virt_HostedResourcePool.c | 4 ++-- src/Virt_HostedService.c | 4 ++-- src/Virt_KVMRedirectionSAP.c | 4 ++-- src/Virt_KVMRedirectionSAP.h | 4 ++-- src/Virt_NestedFilterList.c | 4 ++-- src/Virt_RASD.c | 4 ++-- src/Virt_RASD.h | 4 ++-- src/Virt_ReferencedProfile.c | 4 ++-- src/Virt_RegisteredProfile.c | 4 ++-- src/Virt_RegisteredProfile.h | 4 ++-- src/Virt_ResourceAllocationFromPool.c | 4 ++-- src/Virt_ResourceAllocationSettingDataIndication.c | 4 ++-- src/Virt_ResourcePoolConfigurationCapabilities.c | 4 ++-- src/Virt_ResourcePoolConfigurationService.c | 4 ++-- src/Virt_ResourcePoolConfigurationService.h | 4 ++-- src/Virt_SAPAvailableForElement.c | 4 ++-- src/Virt_ServiceAccessBySAP.c | 4 ++-- src/Virt_ServiceAffectsElement.c | 4 ++-- src/Virt_SettingsDefineCapabilities.c | 4 ++-- src/Virt_SettingsDefineCapabilities.h | 4 ++-- src/Virt_SettingsDefineState.c | 4 ++-- src/Virt_SwitchService.c | 4 ++-- src/Virt_SystemDevice.c | 4 ++-- src/Virt_VSMigrationCapabilities.c | 4 ++-- src/Virt_VSMigrationCapabilities.h | 4 ++-- src/Virt_VSMigrationService.c | 4 ++-- src/Virt_VSMigrationService.h | 4 ++-- src/Virt_VSMigrationSettingData.c | 4 ++-- src/Virt_VSMigrationSettingData.h | 4 ++-- src/Virt_VSSD.c | 4 ++-- src/Virt_VSSD.h | 4 ++-- src/Virt_VSSDComponent.c | 4 ++-- src/Virt_VirtualSystemManagementCapabilities.c | 4 ++-- src/Virt_VirtualSystemManagementCapabilities.h | 4 ++-- src/Virt_VirtualSystemManagementService.c | 4 ++-- src/Virt_VirtualSystemManagementService.h | 4 ++-- src/Virt_VirtualSystemSnapshotService.c | 4 ++-- src/Virt_VirtualSystemSnapshotService.h | 4 ++-- src/Virt_VirtualSystemSnapshotServiceCapabilities.c | 4 ++-- src/Virt_VirtualSystemSnapshotServiceCapabilities.h | 4 ++-- src/profiles.h | 4 ++-- src/svpc_types.h | 4 ++-- tools/migration_tester.py | 4 ++-- 92 files changed, 184 insertions(+), 184 deletions(-) -- 1.8.1.4 From jferlan at redhat.com Thu Jun 20 11:14:26 2013 From: jferlan at redhat.com (John Ferlan) Date: Thu, 20 Jun 2013 07:14:26 -0400 Subject: [Libvirt-cim] [PATCH] Update GPL In-Reply-To: <1371726866-4350-1-git-send-email-jferlan@redhat.com> References: <1371726866-4350-1-git-send-email-jferlan@redhat.com> Message-ID: <1371726866-4350-2-git-send-email-jferlan@redhat.com> The FSF moved and to avoid future changes such as this, see the following for the recommended text: http://www.gnu.org/licenses/gpl-howto.html --- libxkutil/acl_parsing.c | 4 ++-- libxkutil/acl_parsing.h | 4 ++-- libxkutil/cs_util.h | 4 ++-- libxkutil/cs_util_instance.c | 4 ++-- libxkutil/device_parsing.c | 4 ++-- libxkutil/device_parsing.h | 4 ++-- libxkutil/infostore.c | 4 ++-- libxkutil/infostore.h | 4 ++-- libxkutil/list_util.c | 4 ++-- libxkutil/list_util.h | 4 ++-- libxkutil/misc_util.c | 4 ++-- libxkutil/misc_util.h | 4 ++-- libxkutil/pool_parsing.c | 4 ++-- libxkutil/pool_parsing.h | 4 ++-- libxkutil/xmlgen.c | 4 ++-- libxkutil/xmlgen.h | 4 ++-- src/Virt_AllocationCapabilities.c | 4 ++-- src/Virt_AllocationCapabilities.h | 4 ++-- src/Virt_AppliedFilterList.c | 4 ++-- src/Virt_ComputerSystem.c | 4 ++-- src/Virt_ComputerSystem.h | 4 ++-- src/Virt_ComputerSystemIndication.c | 4 ++-- src/Virt_ComputerSystemIndication.h | 4 ++-- src/Virt_ComputerSystemMigrationIndication.c | 4 ++-- src/Virt_ConcreteComponent.c | 4 ++-- src/Virt_ConsoleRedirectionService.c | 4 ++-- src/Virt_ConsoleRedirectionService.h | 4 ++-- src/Virt_ConsoleRedirectionServiceCapabilities.c | 4 ++-- src/Virt_ConsoleRedirectionServiceCapabilities.h | 4 ++-- src/Virt_Device.c | 4 ++-- src/Virt_Device.h | 4 ++-- src/Virt_DevicePool.c | 4 ++-- src/Virt_DevicePool.h | 4 ++-- src/Virt_ElementAllocatedFromPool.c | 4 ++-- src/Virt_ElementCapabilities.c | 4 ++-- src/Virt_ElementConformsToProfile.c | 4 ++-- src/Virt_ElementSettingData.c | 4 ++-- src/Virt_EnabledLogicalElementCapabilities.c | 4 ++-- src/Virt_EnabledLogicalElementCapabilities.h | 4 ++-- src/Virt_EntriesInFilterList.c | 4 ++-- src/Virt_FilterEntry.c | 4 ++-- src/Virt_FilterEntry.h | 4 ++-- src/Virt_FilterList.c | 4 ++-- src/Virt_FilterList.h | 4 ++-- src/Virt_HostSystem.c | 4 ++-- src/Virt_HostSystem.h | 4 ++-- src/Virt_HostedAccessPoint.c | 4 ++-- src/Virt_HostedDependency.c | 4 ++-- src/Virt_HostedFilterList.c | 4 ++-- src/Virt_HostedResourcePool.c | 4 ++-- src/Virt_HostedService.c | 4 ++-- src/Virt_KVMRedirectionSAP.c | 4 ++-- src/Virt_KVMRedirectionSAP.h | 4 ++-- src/Virt_NestedFilterList.c | 4 ++-- src/Virt_RASD.c | 4 ++-- src/Virt_RASD.h | 4 ++-- src/Virt_ReferencedProfile.c | 4 ++-- src/Virt_RegisteredProfile.c | 4 ++-- src/Virt_RegisteredProfile.h | 4 ++-- src/Virt_ResourceAllocationFromPool.c | 4 ++-- src/Virt_ResourceAllocationSettingDataIndication.c | 4 ++-- src/Virt_ResourcePoolConfigurationCapabilities.c | 4 ++-- src/Virt_ResourcePoolConfigurationService.c | 4 ++-- src/Virt_ResourcePoolConfigurationService.h | 4 ++-- src/Virt_SAPAvailableForElement.c | 4 ++-- src/Virt_ServiceAccessBySAP.c | 4 ++-- src/Virt_ServiceAffectsElement.c | 4 ++-- src/Virt_SettingsDefineCapabilities.c | 4 ++-- src/Virt_SettingsDefineCapabilities.h | 4 ++-- src/Virt_SettingsDefineState.c | 4 ++-- src/Virt_SwitchService.c | 4 ++-- src/Virt_SystemDevice.c | 4 ++-- src/Virt_VSMigrationCapabilities.c | 4 ++-- src/Virt_VSMigrationCapabilities.h | 4 ++-- src/Virt_VSMigrationService.c | 4 ++-- src/Virt_VSMigrationService.h | 4 ++-- src/Virt_VSMigrationSettingData.c | 4 ++-- src/Virt_VSMigrationSettingData.h | 4 ++-- src/Virt_VSSD.c | 4 ++-- src/Virt_VSSD.h | 4 ++-- src/Virt_VSSDComponent.c | 4 ++-- src/Virt_VirtualSystemManagementCapabilities.c | 4 ++-- src/Virt_VirtualSystemManagementCapabilities.h | 4 ++-- src/Virt_VirtualSystemManagementService.c | 4 ++-- src/Virt_VirtualSystemManagementService.h | 4 ++-- src/Virt_VirtualSystemSnapshotService.c | 4 ++-- src/Virt_VirtualSystemSnapshotService.h | 4 ++-- src/Virt_VirtualSystemSnapshotServiceCapabilities.c | 4 ++-- src/Virt_VirtualSystemSnapshotServiceCapabilities.h | 4 ++-- src/profiles.h | 4 ++-- src/svpc_types.h | 4 ++-- tools/migration_tester.py | 4 ++-- 92 files changed, 184 insertions(+), 184 deletions(-) diff --git a/libxkutil/acl_parsing.c b/libxkutil/acl_parsing.c index 41ab319..3de6a65 100644 --- a/libxkutil/acl_parsing.c +++ b/libxkutil/acl_parsing.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/libxkutil/acl_parsing.h b/libxkutil/acl_parsing.h index a0e2f9a..b77d9df 100644 --- a/libxkutil/acl_parsing.h +++ b/libxkutil/acl_parsing.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __ACL_PARSING_H #define __ACL_PARSING_H diff --git a/libxkutil/cs_util.h b/libxkutil/cs_util.h index 6e840d4..ee25894 100644 --- a/libxkutil/cs_util.h +++ b/libxkutil/cs_util.h @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __CS_UTIL_H #define __CS_UTIL_H diff --git a/libxkutil/cs_util_instance.c b/libxkutil/cs_util_instance.c index 490017c..871f9bf 100644 --- a/libxkutil/cs_util_instance.c +++ b/libxkutil/cs_util_instance.c @@ -17,8 +17,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/libxkutil/device_parsing.c b/libxkutil/device_parsing.c index 16195da..4ec74b4 100644 --- a/libxkutil/device_parsing.c +++ b/libxkutil/device_parsing.c @@ -18,8 +18,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/libxkutil/device_parsing.h b/libxkutil/device_parsing.h index 733324f..a218b01 100644 --- a/libxkutil/device_parsing.h +++ b/libxkutil/device_parsing.h @@ -18,8 +18,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __DEVICE_PARSING_H #define __DEVICE_PARSING_H diff --git a/libxkutil/infostore.c b/libxkutil/infostore.c index a88b586..d2b2f71 100644 --- a/libxkutil/infostore.c +++ b/libxkutil/infostore.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include diff --git a/libxkutil/infostore.h b/libxkutil/infostore.h index d333c4f..e15aa09 100644 --- a/libxkutil/infostore.h +++ b/libxkutil/infostore.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __INFOSTORE_H diff --git a/libxkutil/list_util.c b/libxkutil/list_util.c index 84b2ba0..cf9a508 100644 --- a/libxkutil/list_util.c +++ b/libxkutil/list_util.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifdef HAVE_CONFIG_H # include "config.h" diff --git a/libxkutil/list_util.h b/libxkutil/list_util.h index 1809c2e..6510272 100644 --- a/libxkutil/list_util.h +++ b/libxkutil/list_util.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __LIST_UTIL_H diff --git a/libxkutil/misc_util.c b/libxkutil/misc_util.c index 943b46e..9e7e0d5 100644 --- a/libxkutil/misc_util.c +++ b/libxkutil/misc_util.c @@ -17,8 +17,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include "config.h" diff --git a/libxkutil/misc_util.h b/libxkutil/misc_util.h index 3279b09..fd4f191 100644 --- a/libxkutil/misc_util.h +++ b/libxkutil/misc_util.h @@ -17,8 +17,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __MISC_UTIL_H #define __MISC_UTIL_H diff --git a/libxkutil/pool_parsing.c b/libxkutil/pool_parsing.c index e41fc09..922ff32 100644 --- a/libxkutil/pool_parsing.c +++ b/libxkutil/pool_parsing.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * */ #include #include diff --git a/libxkutil/pool_parsing.h b/libxkutil/pool_parsing.h index 9f1a386..e9dda84 100644 --- a/libxkutil/pool_parsing.h +++ b/libxkutil/pool_parsing.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __RES_POOLS_H #define __RES_POOLS_H diff --git a/libxkutil/xmlgen.c b/libxkutil/xmlgen.c index 6302b60..4287d42 100644 --- a/libxkutil/xmlgen.c +++ b/libxkutil/xmlgen.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/libxkutil/xmlgen.h b/libxkutil/xmlgen.h index 743fc82..9a14ce6 100644 --- a/libxkutil/xmlgen.h +++ b/libxkutil/xmlgen.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __XMLGEN_H #define __XMLGEN_H diff --git a/src/Virt_AllocationCapabilities.c b/src/Virt_AllocationCapabilities.c index b358fac..c37fdab 100644 --- a/src/Virt_AllocationCapabilities.c +++ b/src/Virt_AllocationCapabilities.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_AllocationCapabilities.h b/src/Virt_AllocationCapabilities.h index f0f89cc..e13bdb5 100644 --- a/src/Virt_AllocationCapabilities.h +++ b/src/Virt_AllocationCapabilities.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_ALLOCATIONCAPABILITIES_H #define __VIRT_ALLOCATIONCAPABILITIES_H diff --git a/src/Virt_AppliedFilterList.c b/src/Virt_AppliedFilterList.c index c59c11f..1c1bd3f 100644 --- a/src/Virt_AppliedFilterList.c +++ b/src/Virt_AppliedFilterList.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ComputerSystem.c b/src/Virt_ComputerSystem.c index d37159f..da07f93 100644 --- a/src/Virt_ComputerSystem.c +++ b/src/Virt_ComputerSystem.c @@ -17,8 +17,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ComputerSystem.h b/src/Virt_ComputerSystem.h index 666ef0f..cab4c41 100644 --- a/src/Virt_ComputerSystem.h +++ b/src/Virt_ComputerSystem.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_COMPUTERSYSTEM_H #define __VIRT_COMPUTERSYSTEM_H diff --git a/src/Virt_ComputerSystemIndication.c b/src/Virt_ComputerSystemIndication.c index 086d8c4..a4d30ab 100644 --- a/src/Virt_ComputerSystemIndication.c +++ b/src/Virt_ComputerSystemIndication.c @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifdef HAVE_CONFIG_H # include "config.h" diff --git a/src/Virt_ComputerSystemIndication.h b/src/Virt_ComputerSystemIndication.h index 594c3ed..e194fc2 100644 --- a/src/Virt_ComputerSystemIndication.h +++ b/src/Virt_ComputerSystemIndication.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_COMPUTERSYSTEMINDICATION_H #define __VIRT_COMPUTERSYSTEMINDICATION_H diff --git a/src/Virt_ComputerSystemMigrationIndication.c b/src/Virt_ComputerSystemMigrationIndication.c index 08ffbd8..fdd6455 100644 --- a/src/Virt_ComputerSystemMigrationIndication.c +++ b/src/Virt_ComputerSystemMigrationIndication.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ConcreteComponent.c b/src/Virt_ConcreteComponent.c index 7979ac2..238aea1 100644 --- a/src/Virt_ConcreteComponent.c +++ b/src/Virt_ConcreteComponent.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ConsoleRedirectionService.c b/src/Virt_ConsoleRedirectionService.c index 16cade8..205289f 100644 --- a/src/Virt_ConsoleRedirectionService.c +++ b/src/Virt_ConsoleRedirectionService.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ConsoleRedirectionService.h b/src/Virt_ConsoleRedirectionService.h index 97e3de0..f1fd587 100644 --- a/src/Virt_ConsoleRedirectionService.h +++ b/src/Virt_ConsoleRedirectionService.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ CMPIStatus get_console_rs(const CMPIObjectPath *reference, diff --git a/src/Virt_ConsoleRedirectionServiceCapabilities.c b/src/Virt_ConsoleRedirectionServiceCapabilities.c index 88fb3a4..d378597 100644 --- a/src/Virt_ConsoleRedirectionServiceCapabilities.c +++ b/src/Virt_ConsoleRedirectionServiceCapabilities.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ConsoleRedirectionServiceCapabilities.h b/src/Virt_ConsoleRedirectionServiceCapabilities.h index 6097ec9..d529442 100644 --- a/src/Virt_ConsoleRedirectionServiceCapabilities.h +++ b/src/Virt_ConsoleRedirectionServiceCapabilities.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ CMPIStatus get_console_rs_caps(const CMPIBroker *broker, diff --git a/src/Virt_Device.c b/src/Virt_Device.c index c7dcbc3..c3b515c 100644 --- a/src/Virt_Device.c +++ b/src/Virt_Device.c @@ -18,8 +18,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_Device.h b/src/Virt_Device.h index b6f3d93..d2952e1 100644 --- a/src/Virt_Device.h +++ b/src/Virt_Device.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_DEVICE_H #define __VIRT_DEVICE_H diff --git a/src/Virt_DevicePool.c b/src/Virt_DevicePool.c index e375acc..d6e51ba 100644 --- a/src/Virt_DevicePool.c +++ b/src/Virt_DevicePool.c @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #define __USE_FILE_OFFSET64 diff --git a/src/Virt_DevicePool.h b/src/Virt_DevicePool.h index 6b44863..898399d 100644 --- a/src/Virt_DevicePool.h +++ b/src/Virt_DevicePool.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_DEVICE_POOL_H #define __VIRT_DEVICE_POOL_H diff --git a/src/Virt_ElementAllocatedFromPool.c b/src/Virt_ElementAllocatedFromPool.c index 946580c..03d856a 100644 --- a/src/Virt_ElementAllocatedFromPool.c +++ b/src/Virt_ElementAllocatedFromPool.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ElementCapabilities.c b/src/Virt_ElementCapabilities.c index 6bd846a..77aad9a 100644 --- a/src/Virt_ElementCapabilities.c +++ b/src/Virt_ElementCapabilities.c @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ElementConformsToProfile.c b/src/Virt_ElementConformsToProfile.c index 14c7fa5..425d888 100644 --- a/src/Virt_ElementConformsToProfile.c +++ b/src/Virt_ElementConformsToProfile.c @@ -17,8 +17,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ElementSettingData.c b/src/Virt_ElementSettingData.c index b5b7b02..c257710 100644 --- a/src/Virt_ElementSettingData.c +++ b/src/Virt_ElementSettingData.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_EnabledLogicalElementCapabilities.c b/src/Virt_EnabledLogicalElementCapabilities.c index 2fcdef1..92a1969 100644 --- a/src/Virt_EnabledLogicalElementCapabilities.c +++ b/src/Virt_EnabledLogicalElementCapabilities.c @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_EnabledLogicalElementCapabilities.h b/src/Virt_EnabledLogicalElementCapabilities.h index 17bec1f..ea42f7a 100644 --- a/src/Virt_EnabledLogicalElementCapabilities.h +++ b/src/Virt_EnabledLogicalElementCapabilities.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ CMPIStatus get_elec_by_name(const CMPIBroker *broker, const CMPIObjectPath *reference, diff --git a/src/Virt_EntriesInFilterList.c b/src/Virt_EntriesInFilterList.c index 2c8ac47..384519a 100644 --- a/src/Virt_EntriesInFilterList.c +++ b/src/Virt_EntriesInFilterList.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_FilterEntry.c b/src/Virt_FilterEntry.c index 2932be2..b7042da 100644 --- a/src/Virt_FilterEntry.c +++ b/src/Virt_FilterEntry.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_FilterEntry.h b/src/Virt_FilterEntry.h index a30f46d..5057fb0 100644 --- a/src/Virt_FilterEntry.h +++ b/src/Virt_FilterEntry.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_FILTERENTRY_H #define __VIRT_FILTERENTRY_H diff --git a/src/Virt_FilterList.c b/src/Virt_FilterList.c index 79776cd..7026d8b 100644 --- a/src/Virt_FilterList.c +++ b/src/Virt_FilterList.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_FilterList.h b/src/Virt_FilterList.h index 538fe37..cd76371 100644 --- a/src/Virt_FilterList.h +++ b/src/Virt_FilterList.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_FILTERLIST_H #define __VIRT_FILTERLIST_H diff --git a/src/Virt_HostSystem.c b/src/Virt_HostSystem.c index c31d6cf..ebe8184 100644 --- a/src/Virt_HostSystem.c +++ b/src/Virt_HostSystem.c @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_HostSystem.h b/src/Virt_HostSystem.h index 53ebf1c..40589de 100644 --- a/src/Virt_HostSystem.h +++ b/src/Virt_HostSystem.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_HOSTSYSTEM_H #define __VIRT_HOSTSYSTEM_H diff --git a/src/Virt_HostedAccessPoint.c b/src/Virt_HostedAccessPoint.c index 904bfed..74d40a8 100644 --- a/src/Virt_HostedAccessPoint.c +++ b/src/Virt_HostedAccessPoint.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_HostedDependency.c b/src/Virt_HostedDependency.c index 0325f21..6980a43 100644 --- a/src/Virt_HostedDependency.c +++ b/src/Virt_HostedDependency.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_HostedFilterList.c b/src/Virt_HostedFilterList.c index 1965cd2..8bb9396 100644 --- a/src/Virt_HostedFilterList.c +++ b/src/Virt_HostedFilterList.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_HostedResourcePool.c b/src/Virt_HostedResourcePool.c index e503e20..0863853 100644 --- a/src/Virt_HostedResourcePool.c +++ b/src/Virt_HostedResourcePool.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_HostedService.c b/src/Virt_HostedService.c index ab7634e..9609546 100644 --- a/src/Virt_HostedService.c +++ b/src/Virt_HostedService.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_KVMRedirectionSAP.c b/src/Virt_KVMRedirectionSAP.c index 38ad468..708b0d1 100644 --- a/src/Virt_KVMRedirectionSAP.c +++ b/src/Virt_KVMRedirectionSAP.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_KVMRedirectionSAP.h b/src/Virt_KVMRedirectionSAP.h index 15f5679..b048633 100644 --- a/src/Virt_KVMRedirectionSAP.h +++ b/src/Virt_KVMRedirectionSAP.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ CMPIStatus get_console_sap_by_name(const CMPIBroker *broker, diff --git a/src/Virt_NestedFilterList.c b/src/Virt_NestedFilterList.c index a8565d6..e2496da 100644 --- a/src/Virt_NestedFilterList.c +++ b/src/Virt_NestedFilterList.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_RASD.c b/src/Virt_RASD.c index af6a43f..baf4331 100644 --- a/src/Virt_RASD.c +++ b/src/Virt_RASD.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_RASD.h b/src/Virt_RASD.h index cef4224..400143f 100644 --- a/src/Virt_RASD.h +++ b/src/Virt_RASD.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_RASD_H #define __VIRT_RASD_H diff --git a/src/Virt_ReferencedProfile.c b/src/Virt_ReferencedProfile.c index e78a8d3..519b57b 100644 --- a/src/Virt_ReferencedProfile.c +++ b/src/Virt_ReferencedProfile.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_RegisteredProfile.c b/src/Virt_RegisteredProfile.c index e644708..6d4902e 100644 --- a/src/Virt_RegisteredProfile.c +++ b/src/Virt_RegisteredProfile.c @@ -17,8 +17,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_RegisteredProfile.h b/src/Virt_RegisteredProfile.h index 31cfc69..19ff70f 100644 --- a/src/Virt_RegisteredProfile.h +++ b/src/Virt_RegisteredProfile.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_REGISTERED_PROFILE_H #define __VIRT_REGISTERED_PROFILE_H diff --git a/src/Virt_ResourceAllocationFromPool.c b/src/Virt_ResourceAllocationFromPool.c index 398eef5..7088900 100644 --- a/src/Virt_ResourceAllocationFromPool.c +++ b/src/Virt_ResourceAllocationFromPool.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ResourceAllocationSettingDataIndication.c b/src/Virt_ResourceAllocationSettingDataIndication.c index 93fb563..aaa9066 100644 --- a/src/Virt_ResourceAllocationSettingDataIndication.c +++ b/src/Virt_ResourceAllocationSettingDataIndication.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ResourcePoolConfigurationCapabilities.c b/src/Virt_ResourcePoolConfigurationCapabilities.c index 2dcbbcf..63045bf 100644 --- a/src/Virt_ResourcePoolConfigurationCapabilities.c +++ b/src/Virt_ResourcePoolConfigurationCapabilities.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ResourcePoolConfigurationService.c b/src/Virt_ResourcePoolConfigurationService.c index 4775e01..02de834 100644 --- a/src/Virt_ResourcePoolConfigurationService.c +++ b/src/Virt_ResourcePoolConfigurationService.c @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include "cmpidt.h" #include "cmpift.h" diff --git a/src/Virt_ResourcePoolConfigurationService.h b/src/Virt_ResourcePoolConfigurationService.h index c49f2cd..38d86d6 100644 --- a/src/Virt_ResourcePoolConfigurationService.h +++ b/src/Virt_ResourcePoolConfigurationService.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ CMPIStatus get_rpcs(const CMPIObjectPath *reference, diff --git a/src/Virt_SAPAvailableForElement.c b/src/Virt_SAPAvailableForElement.c index 16d07bd..6fd98bc 100644 --- a/src/Virt_SAPAvailableForElement.c +++ b/src/Virt_SAPAvailableForElement.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ServiceAccessBySAP.c b/src/Virt_ServiceAccessBySAP.c index b1293ae..42c5031 100644 --- a/src/Virt_ServiceAccessBySAP.c +++ b/src/Virt_ServiceAccessBySAP.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_ServiceAffectsElement.c b/src/Virt_ServiceAffectsElement.c index 254cec8..9810e02 100644 --- a/src/Virt_ServiceAffectsElement.c +++ b/src/Virt_ServiceAffectsElement.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_SettingsDefineCapabilities.c b/src/Virt_SettingsDefineCapabilities.c index 3b39a80..2c35d84 100644 --- a/src/Virt_SettingsDefineCapabilities.c +++ b/src/Virt_SettingsDefineCapabilities.c @@ -17,8 +17,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_SettingsDefineCapabilities.h b/src/Virt_SettingsDefineCapabilities.h index 8ef0759..56fcf43 100644 --- a/src/Virt_SettingsDefineCapabilities.h +++ b/src/Virt_SettingsDefineCapabilities.h @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #define PROP_END {NULL, NULL, CMPI_chars} diff --git a/src/Virt_SettingsDefineState.c b/src/Virt_SettingsDefineState.c index b4e4b80..f30f45f 100644 --- a/src/Virt_SettingsDefineState.c +++ b/src/Virt_SettingsDefineState.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_SwitchService.c b/src/Virt_SwitchService.c index 983ebc0..e4eedee 100644 --- a/src/Virt_SwitchService.c +++ b/src/Virt_SwitchService.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_SystemDevice.c b/src/Virt_SystemDevice.c index 31d6b61..3a2f7ce 100644 --- a/src/Virt_SystemDevice.c +++ b/src/Virt_SystemDevice.c @@ -17,8 +17,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VSMigrationCapabilities.c b/src/Virt_VSMigrationCapabilities.c index 3e53f68..f0cf261 100644 --- a/src/Virt_VSMigrationCapabilities.c +++ b/src/Virt_VSMigrationCapabilities.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VSMigrationCapabilities.h b/src/Virt_VSMigrationCapabilities.h index aefce02..6c36ebf 100644 --- a/src/Virt_VSMigrationCapabilities.h +++ b/src/Virt_VSMigrationCapabilities.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ CMPIStatus get_migration_caps(const CMPIObjectPath *reference, diff --git a/src/Virt_VSMigrationService.c b/src/Virt_VSMigrationService.c index c701e7d..f48d56b 100644 --- a/src/Virt_VSMigrationService.c +++ b/src/Virt_VSMigrationService.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VSMigrationService.h b/src/Virt_VSMigrationService.h index fc8ec9d..bdc2662 100644 --- a/src/Virt_VSMigrationService.h +++ b/src/Virt_VSMigrationService.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ CMPIStatus get_migration_service(const CMPIObjectPath *reference, diff --git a/src/Virt_VSMigrationSettingData.c b/src/Virt_VSMigrationSettingData.c index eb545f1..f2d731b 100644 --- a/src/Virt_VSMigrationSettingData.c +++ b/src/Virt_VSMigrationSettingData.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VSMigrationSettingData.h b/src/Virt_VSMigrationSettingData.h index 41667c3..f1caa51 100644 --- a/src/Virt_VSMigrationSettingData.h +++ b/src/Virt_VSMigrationSettingData.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ enum {CIM_MIGRATE_OTHER = 1, diff --git a/src/Virt_VSSD.c b/src/Virt_VSSD.c index 7afe2f1..3363b38 100644 --- a/src/Virt_VSSD.c +++ b/src/Virt_VSSD.c @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VSSD.h b/src/Virt_VSSD.h index 6eb72c3..374a039 100644 --- a/src/Virt_VSSD.h +++ b/src/Virt_VSSD.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __VIRT_VSSD_H #define __VIRT_VSSD_H diff --git a/src/Virt_VSSDComponent.c b/src/Virt_VSSDComponent.c index a3b2e0f..378de96 100644 --- a/src/Virt_VSSDComponent.c +++ b/src/Virt_VSSDComponent.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VirtualSystemManagementCapabilities.c b/src/Virt_VirtualSystemManagementCapabilities.c index 51738ee..c5995ef 100644 --- a/src/Virt_VirtualSystemManagementCapabilities.c +++ b/src/Virt_VirtualSystemManagementCapabilities.c @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VirtualSystemManagementCapabilities.h b/src/Virt_VirtualSystemManagementCapabilities.h index db35811..12dd6d9 100644 --- a/src/Virt_VirtualSystemManagementCapabilities.h +++ b/src/Virt_VirtualSystemManagementCapabilities.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ CMPIStatus get_vsm_cap(const CMPIBroker *broker, const CMPIObjectPath *ref, diff --git a/src/Virt_VirtualSystemManagementService.c b/src/Virt_VirtualSystemManagementService.c index 21bb4c9..2c13c83 100644 --- a/src/Virt_VirtualSystemManagementService.c +++ b/src/Virt_VirtualSystemManagementService.c @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VirtualSystemManagementService.h b/src/Virt_VirtualSystemManagementService.h index dbf17cb..51a0fcd 100644 --- a/src/Virt_VirtualSystemManagementService.h +++ b/src/Virt_VirtualSystemManagementService.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #define MIN_XEN_WEIGHT 1 diff --git a/src/Virt_VirtualSystemSnapshotService.c b/src/Virt_VirtualSystemSnapshotService.c index f4f3f86..a4d297d 100644 --- a/src/Virt_VirtualSystemSnapshotService.c +++ b/src/Virt_VirtualSystemSnapshotService.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VirtualSystemSnapshotService.h b/src/Virt_VirtualSystemSnapshotService.h index d54c441..d6af97e 100644 --- a/src/Virt_VirtualSystemSnapshotService.h +++ b/src/Virt_VirtualSystemSnapshotService.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ /* Returns a malloc()'d string; caller must free() */ diff --git a/src/Virt_VirtualSystemSnapshotServiceCapabilities.c b/src/Virt_VirtualSystemSnapshotServiceCapabilities.c index 04a9c7a..6d8ace5 100644 --- a/src/Virt_VirtualSystemSnapshotServiceCapabilities.c +++ b/src/Virt_VirtualSystemSnapshotServiceCapabilities.c @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #include #include diff --git a/src/Virt_VirtualSystemSnapshotServiceCapabilities.h b/src/Virt_VirtualSystemSnapshotServiceCapabilities.h index 0cde436..6c6839e 100644 --- a/src/Virt_VirtualSystemSnapshotServiceCapabilities.h +++ b/src/Virt_VirtualSystemSnapshotServiceCapabilities.h @@ -15,8 +15,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ CMPIStatus get_vss_cap(const CMPIBroker *broker, diff --git a/src/profiles.h b/src/profiles.h index f15d83e..69249c3 100644 --- a/src/profiles.h +++ b/src/profiles.h @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ /* Interop Namespace */ diff --git a/src/svpc_types.h b/src/svpc_types.h index 90bb608..99dd56f 100644 --- a/src/svpc_types.h +++ b/src/svpc_types.h @@ -16,8 +16,8 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library. If not, see + * . */ #ifndef __SVPC_TYPES_H #define __SVPC_TYPES_H diff --git a/tools/migration_tester.py b/tools/migration_tester.py index 5dd99f8..5fb83f1 100644 --- a/tools/migration_tester.py +++ b/tools/migration_tester.py @@ -16,8 +16,8 @@ # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# License along with this library. If not, see +# . # # Usage: python tools/migration_tester.py -u root -p pass # -s source.myhost.com:5988 -t target.myhost.com -v Xen guest -- 1.8.1.4 From cngesaint at outlook.com Mon Jun 24 00:49:06 2013 From: cngesaint at outlook.com (WangXu) Date: Mon, 24 Jun 2013 00:49:06 +0000 Subject: [Libvirt-cim] [PATCH] Update GPL In-Reply-To: <1371726866-4350-2-git-send-email-jferlan@redhat.com> References: <1371726866-4350-1-git-send-email-jferlan@redhat.com>, <1371726866-4350-2-git-send-email-jferlan@redhat.com> Message-ID: ack Xu Wang ---------------------------------------- > From: jferlan at redhat.com > To: libvirt-cim at redhat.com > Date: Thu, 20 Jun 2013 07:14:26 -0400 > Subject: [Libvirt-cim] [PATCH] Update GPL > > The FSF moved and to avoid future changes such as this, see the following > for the recommended text: > > http://www.gnu.org/licenses/gpl-howto.html > --- > libxkutil/acl_parsing.c | 4 ++-- > libxkutil/acl_parsing.h | 4 ++-- > libxkutil/cs_util.h | 4 ++-- > libxkutil/cs_util_instance.c | 4 ++-- > libxkutil/device_parsing.c | 4 ++-- > libxkutil/device_parsing.h | 4 ++-- > libxkutil/infostore.c | 4 ++-- > libxkutil/infostore.h | 4 ++-- > libxkutil/list_util.c | 4 ++-- > libxkutil/list_util.h | 4 ++-- > libxkutil/misc_util.c | 4 ++-- > libxkutil/misc_util.h | 4 ++-- > libxkutil/pool_parsing.c | 4 ++-- > libxkutil/pool_parsing.h | 4 ++-- > libxkutil/xmlgen.c | 4 ++-- > libxkutil/xmlgen.h | 4 ++-- > src/Virt_AllocationCapabilities.c | 4 ++-- > src/Virt_AllocationCapabilities.h | 4 ++-- > src/Virt_AppliedFilterList.c | 4 ++-- > src/Virt_ComputerSystem.c | 4 ++-- > src/Virt_ComputerSystem.h | 4 ++-- > src/Virt_ComputerSystemIndication.c | 4 ++-- > src/Virt_ComputerSystemIndication.h | 4 ++-- > src/Virt_ComputerSystemMigrationIndication.c | 4 ++-- > src/Virt_ConcreteComponent.c | 4 ++-- > src/Virt_ConsoleRedirectionService.c | 4 ++-- > src/Virt_ConsoleRedirectionService.h | 4 ++-- > src/Virt_ConsoleRedirectionServiceCapabilities.c | 4 ++-- > src/Virt_ConsoleRedirectionServiceCapabilities.h | 4 ++-- > src/Virt_Device.c | 4 ++-- > src/Virt_Device.h | 4 ++-- > src/Virt_DevicePool.c | 4 ++-- > src/Virt_DevicePool.h | 4 ++-- > src/Virt_ElementAllocatedFromPool.c | 4 ++-- > src/Virt_ElementCapabilities.c | 4 ++-- > src/Virt_ElementConformsToProfile.c | 4 ++-- > src/Virt_ElementSettingData.c | 4 ++-- > src/Virt_EnabledLogicalElementCapabilities.c | 4 ++-- > src/Virt_EnabledLogicalElementCapabilities.h | 4 ++-- > src/Virt_EntriesInFilterList.c | 4 ++-- > src/Virt_FilterEntry.c | 4 ++-- > src/Virt_FilterEntry.h | 4 ++-- > src/Virt_FilterList.c | 4 ++-- > src/Virt_FilterList.h | 4 ++-- > src/Virt_HostSystem.c | 4 ++-- > src/Virt_HostSystem.h | 4 ++-- > src/Virt_HostedAccessPoint.c | 4 ++-- > src/Virt_HostedDependency.c | 4 ++-- > src/Virt_HostedFilterList.c | 4 ++-- > src/Virt_HostedResourcePool.c | 4 ++-- > src/Virt_HostedService.c | 4 ++-- > src/Virt_KVMRedirectionSAP.c | 4 ++-- > src/Virt_KVMRedirectionSAP.h | 4 ++-- > src/Virt_NestedFilterList.c | 4 ++-- > src/Virt_RASD.c | 4 ++-- > src/Virt_RASD.h | 4 ++-- > src/Virt_ReferencedProfile.c | 4 ++-- > src/Virt_RegisteredProfile.c | 4 ++-- > src/Virt_RegisteredProfile.h | 4 ++-- > src/Virt_ResourceAllocationFromPool.c | 4 ++-- > src/Virt_ResourceAllocationSettingDataIndication.c | 4 ++-- > src/Virt_ResourcePoolConfigurationCapabilities.c | 4 ++-- > src/Virt_ResourcePoolConfigurationService.c | 4 ++-- > src/Virt_ResourcePoolConfigurationService.h | 4 ++-- > src/Virt_SAPAvailableForElement.c | 4 ++-- > src/Virt_ServiceAccessBySAP.c | 4 ++-- > src/Virt_ServiceAffectsElement.c | 4 ++-- > src/Virt_SettingsDefineCapabilities.c | 4 ++-- > src/Virt_SettingsDefineCapabilities.h | 4 ++-- > src/Virt_SettingsDefineState.c | 4 ++-- > src/Virt_SwitchService.c | 4 ++-- > src/Virt_SystemDevice.c | 4 ++-- > src/Virt_VSMigrationCapabilities.c | 4 ++-- > src/Virt_VSMigrationCapabilities.h | 4 ++-- > src/Virt_VSMigrationService.c | 4 ++-- > src/Virt_VSMigrationService.h | 4 ++-- > src/Virt_VSMigrationSettingData.c | 4 ++-- > src/Virt_VSMigrationSettingData.h | 4 ++-- > src/Virt_VSSD.c | 4 ++-- > src/Virt_VSSD.h | 4 ++-- > src/Virt_VSSDComponent.c | 4 ++-- > src/Virt_VirtualSystemManagementCapabilities.c | 4 ++-- > src/Virt_VirtualSystemManagementCapabilities.h | 4 ++-- > src/Virt_VirtualSystemManagementService.c | 4 ++-- > src/Virt_VirtualSystemManagementService.h | 4 ++-- > src/Virt_VirtualSystemSnapshotService.c | 4 ++-- > src/Virt_VirtualSystemSnapshotService.h | 4 ++-- > src/Virt_VirtualSystemSnapshotServiceCapabilities.c | 4 ++-- > src/Virt_VirtualSystemSnapshotServiceCapabilities.h | 4 ++-- > src/profiles.h | 4 ++-- > src/svpc_types.h | 4 ++-- > tools/migration_tester.py | 4 ++-- > 92 files changed, 184 insertions(+), 184 deletions(-) > > diff --git a/libxkutil/acl_parsing.c b/libxkutil/acl_parsing.c > index 41ab319..3de6a65 100644 > --- a/libxkutil/acl_parsing.c > +++ b/libxkutil/acl_parsing.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/libxkutil/acl_parsing.h b/libxkutil/acl_parsing.h > index a0e2f9a..b77d9df 100644 > --- a/libxkutil/acl_parsing.h > +++ b/libxkutil/acl_parsing.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __ACL_PARSING_H > #define __ACL_PARSING_H > diff --git a/libxkutil/cs_util.h b/libxkutil/cs_util.h > index 6e840d4..ee25894 100644 > --- a/libxkutil/cs_util.h > +++ b/libxkutil/cs_util.h > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __CS_UTIL_H > #define __CS_UTIL_H > diff --git a/libxkutil/cs_util_instance.c b/libxkutil/cs_util_instance.c > index 490017c..871f9bf 100644 > --- a/libxkutil/cs_util_instance.c > +++ b/libxkutil/cs_util_instance.c > @@ -17,8 +17,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/libxkutil/device_parsing.c b/libxkutil/device_parsing.c > index 16195da..4ec74b4 100644 > --- a/libxkutil/device_parsing.c > +++ b/libxkutil/device_parsing.c > @@ -18,8 +18,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/libxkutil/device_parsing.h b/libxkutil/device_parsing.h > index 733324f..a218b01 100644 > --- a/libxkutil/device_parsing.h > +++ b/libxkutil/device_parsing.h > @@ -18,8 +18,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __DEVICE_PARSING_H > #define __DEVICE_PARSING_H > diff --git a/libxkutil/infostore.c b/libxkutil/infostore.c > index a88b586..d2b2f71 100644 > --- a/libxkutil/infostore.c > +++ b/libxkutil/infostore.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > #include > diff --git a/libxkutil/infostore.h b/libxkutil/infostore.h > index d333c4f..e15aa09 100644 > --- a/libxkutil/infostore.h > +++ b/libxkutil/infostore.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > #ifndef __INFOSTORE_H > diff --git a/libxkutil/list_util.c b/libxkutil/list_util.c > index 84b2ba0..cf9a508 100644 > --- a/libxkutil/list_util.c > +++ b/libxkutil/list_util.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifdef HAVE_CONFIG_H > # include "config.h" > diff --git a/libxkutil/list_util.h b/libxkutil/list_util.h > index 1809c2e..6510272 100644 > --- a/libxkutil/list_util.h > +++ b/libxkutil/list_util.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > #ifndef __LIST_UTIL_H > diff --git a/libxkutil/misc_util.c b/libxkutil/misc_util.c > index 943b46e..9e7e0d5 100644 > --- a/libxkutil/misc_util.c > +++ b/libxkutil/misc_util.c > @@ -17,8 +17,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include "config.h" > > diff --git a/libxkutil/misc_util.h b/libxkutil/misc_util.h > index 3279b09..fd4f191 100644 > --- a/libxkutil/misc_util.h > +++ b/libxkutil/misc_util.h > @@ -17,8 +17,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __MISC_UTIL_H > #define __MISC_UTIL_H > diff --git a/libxkutil/pool_parsing.c b/libxkutil/pool_parsing.c > index e41fc09..922ff32 100644 > --- a/libxkutil/pool_parsing.c > +++ b/libxkutil/pool_parsing.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * > */ > #include > #include > diff --git a/libxkutil/pool_parsing.h b/libxkutil/pool_parsing.h > index 9f1a386..e9dda84 100644 > --- a/libxkutil/pool_parsing.h > +++ b/libxkutil/pool_parsing.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __RES_POOLS_H > #define __RES_POOLS_H > diff --git a/libxkutil/xmlgen.c b/libxkutil/xmlgen.c > index 6302b60..4287d42 100644 > --- a/libxkutil/xmlgen.c > +++ b/libxkutil/xmlgen.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/libxkutil/xmlgen.h b/libxkutil/xmlgen.h > index 743fc82..9a14ce6 100644 > --- a/libxkutil/xmlgen.h > +++ b/libxkutil/xmlgen.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __XMLGEN_H > #define __XMLGEN_H > diff --git a/src/Virt_AllocationCapabilities.c b/src/Virt_AllocationCapabilities.c > index b358fac..c37fdab 100644 > --- a/src/Virt_AllocationCapabilities.c > +++ b/src/Virt_AllocationCapabilities.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_AllocationCapabilities.h b/src/Virt_AllocationCapabilities.h > index f0f89cc..e13bdb5 100644 > --- a/src/Virt_AllocationCapabilities.h > +++ b/src/Virt_AllocationCapabilities.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_ALLOCATIONCAPABILITIES_H > #define __VIRT_ALLOCATIONCAPABILITIES_H > diff --git a/src/Virt_AppliedFilterList.c b/src/Virt_AppliedFilterList.c > index c59c11f..1c1bd3f 100644 > --- a/src/Virt_AppliedFilterList.c > +++ b/src/Virt_AppliedFilterList.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ComputerSystem.c b/src/Virt_ComputerSystem.c > index d37159f..da07f93 100644 > --- a/src/Virt_ComputerSystem.c > +++ b/src/Virt_ComputerSystem.c > @@ -17,8 +17,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ComputerSystem.h b/src/Virt_ComputerSystem.h > index 666ef0f..cab4c41 100644 > --- a/src/Virt_ComputerSystem.h > +++ b/src/Virt_ComputerSystem.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_COMPUTERSYSTEM_H > #define __VIRT_COMPUTERSYSTEM_H > diff --git a/src/Virt_ComputerSystemIndication.c b/src/Virt_ComputerSystemIndication.c > index 086d8c4..a4d30ab 100644 > --- a/src/Virt_ComputerSystemIndication.c > +++ b/src/Virt_ComputerSystemIndication.c > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifdef HAVE_CONFIG_H > # include "config.h" > diff --git a/src/Virt_ComputerSystemIndication.h b/src/Virt_ComputerSystemIndication.h > index 594c3ed..e194fc2 100644 > --- a/src/Virt_ComputerSystemIndication.h > +++ b/src/Virt_ComputerSystemIndication.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_COMPUTERSYSTEMINDICATION_H > #define __VIRT_COMPUTERSYSTEMINDICATION_H > diff --git a/src/Virt_ComputerSystemMigrationIndication.c b/src/Virt_ComputerSystemMigrationIndication.c > index 08ffbd8..fdd6455 100644 > --- a/src/Virt_ComputerSystemMigrationIndication.c > +++ b/src/Virt_ComputerSystemMigrationIndication.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ConcreteComponent.c b/src/Virt_ConcreteComponent.c > index 7979ac2..238aea1 100644 > --- a/src/Virt_ConcreteComponent.c > +++ b/src/Virt_ConcreteComponent.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ConsoleRedirectionService.c b/src/Virt_ConsoleRedirectionService.c > index 16cade8..205289f 100644 > --- a/src/Virt_ConsoleRedirectionService.c > +++ b/src/Virt_ConsoleRedirectionService.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ConsoleRedirectionService.h b/src/Virt_ConsoleRedirectionService.h > index 97e3de0..f1fd587 100644 > --- a/src/Virt_ConsoleRedirectionService.h > +++ b/src/Virt_ConsoleRedirectionService.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > CMPIStatus get_console_rs(const CMPIObjectPath *reference, > diff --git a/src/Virt_ConsoleRedirectionServiceCapabilities.c b/src/Virt_ConsoleRedirectionServiceCapabilities.c > index 88fb3a4..d378597 100644 > --- a/src/Virt_ConsoleRedirectionServiceCapabilities.c > +++ b/src/Virt_ConsoleRedirectionServiceCapabilities.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ConsoleRedirectionServiceCapabilities.h b/src/Virt_ConsoleRedirectionServiceCapabilities.h > index 6097ec9..d529442 100644 > --- a/src/Virt_ConsoleRedirectionServiceCapabilities.h > +++ b/src/Virt_ConsoleRedirectionServiceCapabilities.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > CMPIStatus get_console_rs_caps(const CMPIBroker *broker, > diff --git a/src/Virt_Device.c b/src/Virt_Device.c > index c7dcbc3..c3b515c 100644 > --- a/src/Virt_Device.c > +++ b/src/Virt_Device.c > @@ -18,8 +18,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_Device.h b/src/Virt_Device.h > index b6f3d93..d2952e1 100644 > --- a/src/Virt_Device.h > +++ b/src/Virt_Device.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_DEVICE_H > #define __VIRT_DEVICE_H > diff --git a/src/Virt_DevicePool.c b/src/Virt_DevicePool.c > index e375acc..d6e51ba 100644 > --- a/src/Virt_DevicePool.c > +++ b/src/Virt_DevicePool.c > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #define __USE_FILE_OFFSET64 > > diff --git a/src/Virt_DevicePool.h b/src/Virt_DevicePool.h > index 6b44863..898399d 100644 > --- a/src/Virt_DevicePool.h > +++ b/src/Virt_DevicePool.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_DEVICE_POOL_H > #define __VIRT_DEVICE_POOL_H > diff --git a/src/Virt_ElementAllocatedFromPool.c b/src/Virt_ElementAllocatedFromPool.c > index 946580c..03d856a 100644 > --- a/src/Virt_ElementAllocatedFromPool.c > +++ b/src/Virt_ElementAllocatedFromPool.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ElementCapabilities.c b/src/Virt_ElementCapabilities.c > index 6bd846a..77aad9a 100644 > --- a/src/Virt_ElementCapabilities.c > +++ b/src/Virt_ElementCapabilities.c > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ElementConformsToProfile.c b/src/Virt_ElementConformsToProfile.c > index 14c7fa5..425d888 100644 > --- a/src/Virt_ElementConformsToProfile.c > +++ b/src/Virt_ElementConformsToProfile.c > @@ -17,8 +17,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ElementSettingData.c b/src/Virt_ElementSettingData.c > index b5b7b02..c257710 100644 > --- a/src/Virt_ElementSettingData.c > +++ b/src/Virt_ElementSettingData.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_EnabledLogicalElementCapabilities.c b/src/Virt_EnabledLogicalElementCapabilities.c > index 2fcdef1..92a1969 100644 > --- a/src/Virt_EnabledLogicalElementCapabilities.c > +++ b/src/Virt_EnabledLogicalElementCapabilities.c > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_EnabledLogicalElementCapabilities.h b/src/Virt_EnabledLogicalElementCapabilities.h > index 17bec1f..ea42f7a 100644 > --- a/src/Virt_EnabledLogicalElementCapabilities.h > +++ b/src/Virt_EnabledLogicalElementCapabilities.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > CMPIStatus get_elec_by_name(const CMPIBroker *broker, > const CMPIObjectPath *reference, > diff --git a/src/Virt_EntriesInFilterList.c b/src/Virt_EntriesInFilterList.c > index 2c8ac47..384519a 100644 > --- a/src/Virt_EntriesInFilterList.c > +++ b/src/Virt_EntriesInFilterList.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_FilterEntry.c b/src/Virt_FilterEntry.c > index 2932be2..b7042da 100644 > --- a/src/Virt_FilterEntry.c > +++ b/src/Virt_FilterEntry.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_FilterEntry.h b/src/Virt_FilterEntry.h > index a30f46d..5057fb0 100644 > --- a/src/Virt_FilterEntry.h > +++ b/src/Virt_FilterEntry.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_FILTERENTRY_H > #define __VIRT_FILTERENTRY_H > diff --git a/src/Virt_FilterList.c b/src/Virt_FilterList.c > index 79776cd..7026d8b 100644 > --- a/src/Virt_FilterList.c > +++ b/src/Virt_FilterList.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_FilterList.h b/src/Virt_FilterList.h > index 538fe37..cd76371 100644 > --- a/src/Virt_FilterList.h > +++ b/src/Virt_FilterList.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_FILTERLIST_H > #define __VIRT_FILTERLIST_H > diff --git a/src/Virt_HostSystem.c b/src/Virt_HostSystem.c > index c31d6cf..ebe8184 100644 > --- a/src/Virt_HostSystem.c > +++ b/src/Virt_HostSystem.c > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_HostSystem.h b/src/Virt_HostSystem.h > index 53ebf1c..40589de 100644 > --- a/src/Virt_HostSystem.h > +++ b/src/Virt_HostSystem.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_HOSTSYSTEM_H > #define __VIRT_HOSTSYSTEM_H > diff --git a/src/Virt_HostedAccessPoint.c b/src/Virt_HostedAccessPoint.c > index 904bfed..74d40a8 100644 > --- a/src/Virt_HostedAccessPoint.c > +++ b/src/Virt_HostedAccessPoint.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_HostedDependency.c b/src/Virt_HostedDependency.c > index 0325f21..6980a43 100644 > --- a/src/Virt_HostedDependency.c > +++ b/src/Virt_HostedDependency.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_HostedFilterList.c b/src/Virt_HostedFilterList.c > index 1965cd2..8bb9396 100644 > --- a/src/Virt_HostedFilterList.c > +++ b/src/Virt_HostedFilterList.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_HostedResourcePool.c b/src/Virt_HostedResourcePool.c > index e503e20..0863853 100644 > --- a/src/Virt_HostedResourcePool.c > +++ b/src/Virt_HostedResourcePool.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_HostedService.c b/src/Virt_HostedService.c > index ab7634e..9609546 100644 > --- a/src/Virt_HostedService.c > +++ b/src/Virt_HostedService.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_KVMRedirectionSAP.c b/src/Virt_KVMRedirectionSAP.c > index 38ad468..708b0d1 100644 > --- a/src/Virt_KVMRedirectionSAP.c > +++ b/src/Virt_KVMRedirectionSAP.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_KVMRedirectionSAP.h b/src/Virt_KVMRedirectionSAP.h > index 15f5679..b048633 100644 > --- a/src/Virt_KVMRedirectionSAP.h > +++ b/src/Virt_KVMRedirectionSAP.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > CMPIStatus get_console_sap_by_name(const CMPIBroker *broker, > diff --git a/src/Virt_NestedFilterList.c b/src/Virt_NestedFilterList.c > index a8565d6..e2496da 100644 > --- a/src/Virt_NestedFilterList.c > +++ b/src/Virt_NestedFilterList.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_RASD.c b/src/Virt_RASD.c > index af6a43f..baf4331 100644 > --- a/src/Virt_RASD.c > +++ b/src/Virt_RASD.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_RASD.h b/src/Virt_RASD.h > index cef4224..400143f 100644 > --- a/src/Virt_RASD.h > +++ b/src/Virt_RASD.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_RASD_H > #define __VIRT_RASD_H > diff --git a/src/Virt_ReferencedProfile.c b/src/Virt_ReferencedProfile.c > index e78a8d3..519b57b 100644 > --- a/src/Virt_ReferencedProfile.c > +++ b/src/Virt_ReferencedProfile.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_RegisteredProfile.c b/src/Virt_RegisteredProfile.c > index e644708..6d4902e 100644 > --- a/src/Virt_RegisteredProfile.c > +++ b/src/Virt_RegisteredProfile.c > @@ -17,8 +17,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_RegisteredProfile.h b/src/Virt_RegisteredProfile.h > index 31cfc69..19ff70f 100644 > --- a/src/Virt_RegisteredProfile.h > +++ b/src/Virt_RegisteredProfile.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_REGISTERED_PROFILE_H > #define __VIRT_REGISTERED_PROFILE_H > diff --git a/src/Virt_ResourceAllocationFromPool.c b/src/Virt_ResourceAllocationFromPool.c > index 398eef5..7088900 100644 > --- a/src/Virt_ResourceAllocationFromPool.c > +++ b/src/Virt_ResourceAllocationFromPool.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ResourceAllocationSettingDataIndication.c b/src/Virt_ResourceAllocationSettingDataIndication.c > index 93fb563..aaa9066 100644 > --- a/src/Virt_ResourceAllocationSettingDataIndication.c > +++ b/src/Virt_ResourceAllocationSettingDataIndication.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ResourcePoolConfigurationCapabilities.c b/src/Virt_ResourcePoolConfigurationCapabilities.c > index 2dcbbcf..63045bf 100644 > --- a/src/Virt_ResourcePoolConfigurationCapabilities.c > +++ b/src/Virt_ResourcePoolConfigurationCapabilities.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ResourcePoolConfigurationService.c b/src/Virt_ResourcePoolConfigurationService.c > index 4775e01..02de834 100644 > --- a/src/Virt_ResourcePoolConfigurationService.c > +++ b/src/Virt_ResourcePoolConfigurationService.c > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include "cmpidt.h" > #include "cmpift.h" > diff --git a/src/Virt_ResourcePoolConfigurationService.h b/src/Virt_ResourcePoolConfigurationService.h > index c49f2cd..38d86d6 100644 > --- a/src/Virt_ResourcePoolConfigurationService.h > +++ b/src/Virt_ResourcePoolConfigurationService.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > CMPIStatus get_rpcs(const CMPIObjectPath *reference, > diff --git a/src/Virt_SAPAvailableForElement.c b/src/Virt_SAPAvailableForElement.c > index 16d07bd..6fd98bc 100644 > --- a/src/Virt_SAPAvailableForElement.c > +++ b/src/Virt_SAPAvailableForElement.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ServiceAccessBySAP.c b/src/Virt_ServiceAccessBySAP.c > index b1293ae..42c5031 100644 > --- a/src/Virt_ServiceAccessBySAP.c > +++ b/src/Virt_ServiceAccessBySAP.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_ServiceAffectsElement.c b/src/Virt_ServiceAffectsElement.c > index 254cec8..9810e02 100644 > --- a/src/Virt_ServiceAffectsElement.c > +++ b/src/Virt_ServiceAffectsElement.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_SettingsDefineCapabilities.c b/src/Virt_SettingsDefineCapabilities.c > index 3b39a80..2c35d84 100644 > --- a/src/Virt_SettingsDefineCapabilities.c > +++ b/src/Virt_SettingsDefineCapabilities.c > @@ -17,8 +17,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_SettingsDefineCapabilities.h b/src/Virt_SettingsDefineCapabilities.h > index 8ef0759..56fcf43 100644 > --- a/src/Virt_SettingsDefineCapabilities.h > +++ b/src/Virt_SettingsDefineCapabilities.h > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #define PROP_END {NULL, NULL, CMPI_chars} > > diff --git a/src/Virt_SettingsDefineState.c b/src/Virt_SettingsDefineState.c > index b4e4b80..f30f45f 100644 > --- a/src/Virt_SettingsDefineState.c > +++ b/src/Virt_SettingsDefineState.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_SwitchService.c b/src/Virt_SwitchService.c > index 983ebc0..e4eedee 100644 > --- a/src/Virt_SwitchService.c > +++ b/src/Virt_SwitchService.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_SystemDevice.c b/src/Virt_SystemDevice.c > index 31d6b61..3a2f7ce 100644 > --- a/src/Virt_SystemDevice.c > +++ b/src/Virt_SystemDevice.c > @@ -17,8 +17,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VSMigrationCapabilities.c b/src/Virt_VSMigrationCapabilities.c > index 3e53f68..f0cf261 100644 > --- a/src/Virt_VSMigrationCapabilities.c > +++ b/src/Virt_VSMigrationCapabilities.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VSMigrationCapabilities.h b/src/Virt_VSMigrationCapabilities.h > index aefce02..6c36ebf 100644 > --- a/src/Virt_VSMigrationCapabilities.h > +++ b/src/Virt_VSMigrationCapabilities.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > CMPIStatus get_migration_caps(const CMPIObjectPath *reference, > diff --git a/src/Virt_VSMigrationService.c b/src/Virt_VSMigrationService.c > index c701e7d..f48d56b 100644 > --- a/src/Virt_VSMigrationService.c > +++ b/src/Virt_VSMigrationService.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VSMigrationService.h b/src/Virt_VSMigrationService.h > index fc8ec9d..bdc2662 100644 > --- a/src/Virt_VSMigrationService.h > +++ b/src/Virt_VSMigrationService.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > CMPIStatus get_migration_service(const CMPIObjectPath *reference, > diff --git a/src/Virt_VSMigrationSettingData.c b/src/Virt_VSMigrationSettingData.c > index eb545f1..f2d731b 100644 > --- a/src/Virt_VSMigrationSettingData.c > +++ b/src/Virt_VSMigrationSettingData.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VSMigrationSettingData.h b/src/Virt_VSMigrationSettingData.h > index 41667c3..f1caa51 100644 > --- a/src/Virt_VSMigrationSettingData.h > +++ b/src/Virt_VSMigrationSettingData.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > enum {CIM_MIGRATE_OTHER = 1, > diff --git a/src/Virt_VSSD.c b/src/Virt_VSSD.c > index 7afe2f1..3363b38 100644 > --- a/src/Virt_VSSD.c > +++ b/src/Virt_VSSD.c > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VSSD.h b/src/Virt_VSSD.h > index 6eb72c3..374a039 100644 > --- a/src/Virt_VSSD.h > +++ b/src/Virt_VSSD.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __VIRT_VSSD_H > #define __VIRT_VSSD_H > diff --git a/src/Virt_VSSDComponent.c b/src/Virt_VSSDComponent.c > index a3b2e0f..378de96 100644 > --- a/src/Virt_VSSDComponent.c > +++ b/src/Virt_VSSDComponent.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VirtualSystemManagementCapabilities.c b/src/Virt_VirtualSystemManagementCapabilities.c > index 51738ee..c5995ef 100644 > --- a/src/Virt_VirtualSystemManagementCapabilities.c > +++ b/src/Virt_VirtualSystemManagementCapabilities.c > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VirtualSystemManagementCapabilities.h b/src/Virt_VirtualSystemManagementCapabilities.h > index db35811..12dd6d9 100644 > --- a/src/Virt_VirtualSystemManagementCapabilities.h > +++ b/src/Virt_VirtualSystemManagementCapabilities.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > CMPIStatus get_vsm_cap(const CMPIBroker *broker, > const CMPIObjectPath *ref, > diff --git a/src/Virt_VirtualSystemManagementService.c b/src/Virt_VirtualSystemManagementService.c > index 21bb4c9..2c13c83 100644 > --- a/src/Virt_VirtualSystemManagementService.c > +++ b/src/Virt_VirtualSystemManagementService.c > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VirtualSystemManagementService.h b/src/Virt_VirtualSystemManagementService.h > index dbf17cb..51a0fcd 100644 > --- a/src/Virt_VirtualSystemManagementService.h > +++ b/src/Virt_VirtualSystemManagementService.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > #define MIN_XEN_WEIGHT 1 > diff --git a/src/Virt_VirtualSystemSnapshotService.c b/src/Virt_VirtualSystemSnapshotService.c > index f4f3f86..a4d297d 100644 > --- a/src/Virt_VirtualSystemSnapshotService.c > +++ b/src/Virt_VirtualSystemSnapshotService.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VirtualSystemSnapshotService.h b/src/Virt_VirtualSystemSnapshotService.h > index d54c441..d6af97e 100644 > --- a/src/Virt_VirtualSystemSnapshotService.h > +++ b/src/Virt_VirtualSystemSnapshotService.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > /* Returns a malloc()'d string; caller must free() */ > diff --git a/src/Virt_VirtualSystemSnapshotServiceCapabilities.c b/src/Virt_VirtualSystemSnapshotServiceCapabilities.c > index 04a9c7a..6d8ace5 100644 > --- a/src/Virt_VirtualSystemSnapshotServiceCapabilities.c > +++ b/src/Virt_VirtualSystemSnapshotServiceCapabilities.c > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #include > #include > diff --git a/src/Virt_VirtualSystemSnapshotServiceCapabilities.h b/src/Virt_VirtualSystemSnapshotServiceCapabilities.h > index 0cde436..6c6839e 100644 > --- a/src/Virt_VirtualSystemSnapshotServiceCapabilities.h > +++ b/src/Virt_VirtualSystemSnapshotServiceCapabilities.h > @@ -15,8 +15,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > CMPIStatus get_vss_cap(const CMPIBroker *broker, > diff --git a/src/profiles.h b/src/profiles.h > index f15d83e..69249c3 100644 > --- a/src/profiles.h > +++ b/src/profiles.h > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > > /* Interop Namespace */ > diff --git a/src/svpc_types.h b/src/svpc_types.h > index 90bb608..99dd56f 100644 > --- a/src/svpc_types.h > +++ b/src/svpc_types.h > @@ -16,8 +16,8 @@ > * Lesser General Public License for more details. > * > * You should have received a copy of the GNU Lesser General Public > - * License along with this library; if not, write to the Free Software > - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + * License along with this library. If not, see > + * . > */ > #ifndef __SVPC_TYPES_H > #define __SVPC_TYPES_H > diff --git a/tools/migration_tester.py b/tools/migration_tester.py > index 5dd99f8..5fb83f1 100644 > --- a/tools/migration_tester.py > +++ b/tools/migration_tester.py > @@ -16,8 +16,8 @@ > # Lesser General Public License for more details. > # > # You should have received a copy of the GNU Lesser General Public > -# License along with this library; if not, write to the Free Software > -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > +# License along with this library. If not, see > +# . > # > # Usage: python tools/migration_tester.py -u root -p pass > # -s source.myhost.com:5988 -t target.myhost.com -v Xen guest > -- > 1.8.1.4 > > _______________________________________________ > Libvirt-cim mailing list > Libvirt-cim at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-cim From mihajlov at linux.vnet.ibm.com Wed Jun 26 12:46:17 2013 From: mihajlov at linux.vnet.ibm.com (Viktor Mihajlovski) Date: Wed, 26 Jun 2013 14:46:17 +0200 Subject: [Libvirt-cim] [PATCH V2] Improve support of nested KVM In-Reply-To: <1371546182-4354-1-git-send-email-cngesaint@gmail.com> References: <1371546182-4354-1-git-send-email-cngesaint@gmail.com> Message-ID: <51CAE299.6060802@linux.vnet.ibm.com> On 06/18/2013 11:03 AM, Xu Wang wrote: > From: Xu Wang > > Under nested KVM environment libvirt-cim could recognize kvm support > correctly now. > > Signed-off-by: Xu Wang > --- > libxkutil/device_parsing.c | 27 ++++++++++++++++++++ > libxkutil/device_parsing.h | 2 + > src/Virt_VirtualSystemManagementService.c | 38 +++++++++++++++++++++++++---- > 3 files changed, 62 insertions(+), 5 deletions(-) > With this commit you cannot start KVM guests (at least on s390) anymore. ... > diff --git a/src/Virt_VirtualSystemManagementService.c b/src/Virt_VirtualSystemManagementService.c > index 7b7261a..8e1e6b1 100644 > --- a/src/Virt_VirtualSystemManagementService.c > +++ b/src/Virt_VirtualSystemManagementService.c ... > @@ -393,25 +393,53 @@ static bool system_has_kvm(const char *pfx) > + > + node = xmlDocGetRootElement(doc); > + if (node == NULL) { > + CU_DEBUG("xmlDocGetRootElement() call failed!"); > + goto out; > + } > + > + if (parse_domain_type(node, &val) && > + STREQC(val, "kvm")) { > + CU_DEBUG("The system support kvm!"); > + kvm = true; > + } else { > + CU_DEBUG("Domain type is %s.", val); > + } > + } > the issue here is that the capabilities call will return two domain elements, the first one of type 'qemu' so that system_has_kvm will always return false -- Mit freundlichen Gr??en/Kind Regards Viktor Mihajlovski IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Martina K?deritz Gesch?ftsf?hrung: Dirk Wittkopp Sitz der Gesellschaft: B?blingen Registergericht: Amtsgericht Stuttgart, HRB 243294 From cngesaint at gmail.com Thu Jun 27 06:55:41 2013 From: cngesaint at gmail.com (Xu Wang) Date: Thu, 27 Jun 2013 14:55:41 +0800 Subject: [Libvirt-cim] [PATCH] Fix kvm support check logic Message-ID: <1372316141-16442-1-git-send-email-cngesaint@gmail.com> Kvm support check function should return domain type of guest which arch name same with host. This patch add arch name comparation and return the domain type of right guest. Signed-off-by: Xu Wang --- libxkutil/device_parsing.c | 49 +++++++++++++++++++++++++++++++++---------- 1 files changed, 37 insertions(+), 12 deletions(-) diff --git a/libxkutil/device_parsing.c b/libxkutil/device_parsing.c index 16195da..184627f 100644 --- a/libxkutil/device_parsing.c +++ b/libxkutil/device_parsing.c @@ -396,31 +396,56 @@ err: return 0; } +static xmlNodePtr seek_subNode(xmlNodePtr node, char *tag) +{ + xmlNodePtr child = node->children; + xmlNodePtr ret = NULL; + + if (child == NULL) { + return NULL; + } + + while (child) { + if (XSTREQ(child->name, tag)) { + return child; + } + + ret = seek_subNode(child, tag); + if (ret) { + return ret; + } + + child = child->next; + } +} + int parse_domain_type(xmlNodePtr node, char **value) { xmlNodePtr child = NULL; + xmlNodePtr seek_node = NULL; char *type = NULL; + char *host_arch = NULL; + char *guest_arch = NULL; child = node->children; - while (child != NULL) { - if (XSTREQ(child->name, "domain")) { - type = get_attr_value(child, "type"); - if (type != NULL) { + while (child) { + if (XSTREQ(child->name, "host")) { + seek_node = seek_subNode(child, "arch"); + host_arch = get_node_content(seek_node); + } else if (XSTREQ(child->name, "guest")) { + seek_node = seek_subNode(child, "arch"); + guest_arch = get_attr_value(seek_node, "name"); + if (XSTREQ(host_arch, guest_arch)) { + seek_node = seek_subNode(child, "domain"); + type = get_attr_value(seek_node, "type"); *value = strdup(type); - goto out; + return 1; } } - - if (parse_domain_type(child, value) == 1) { - goto out; - } - child = child->next; } return 0; -out: - return 1; } static int parse_net_device(xmlNode *inode, struct virt_device **vdevs) -- 1.7.1 From taget at linux.vnet.ibm.com Thu Jun 27 07:07:47 2013 From: taget at linux.vnet.ibm.com (Eli Qiao(Li Yong Qiao)) Date: Thu, 27 Jun 2013 15:07:47 +0800 Subject: [Libvirt-cim] [PATCH] Fix kvm support check logic In-Reply-To: <1372316141-16442-1-git-send-email-cngesaint@gmail.com> References: <1372316141-16442-1-git-send-email-cngesaint@gmail.com> Message-ID: <51CBE4C3.5020904@linux.vnet.ibm.com> ? 2013?06?27? 14:55, Xu Wang ??: > +static xmlNodePtr seek_subNode(xmlNodePtr node, char *tag) > +{ > + xmlNodePtr child = node->children; > + xmlNodePtr ret = NULL; > + > + if (child == NULL) { > + return NULL; > + } > + > + while (child) { > + if (XSTREQ(child->name, tag)) { > + return child; > + } > + > + ret = seek_subNode(child, tag); > + if (ret) { > + return ret; > + } > + > + child = child->next; if (ret == NULL) and (child = (child->next ) ==NULL) what would seek_subNode return ? should return a NULL when quit from while loop. > + } > +} -- Thanks Eli.(Li Yong Qiao/qiaoly at cn.ibm.com Chinese Name:???) LTC, Chian CSTL From cngesaint at gmail.com Thu Jun 27 07:22:19 2013 From: cngesaint at gmail.com (Xu Wang) Date: Thu, 27 Jun 2013 15:22:19 +0800 Subject: [Libvirt-cim] [PATCH V2] Fix kvm support check logic Message-ID: <1372317739-5675-1-git-send-email-cngesaint@gmail.com> Kvm support check function should return domain type of guest which arch name same with host. This patch add arch name comparation and return the domain type of right guest. Signed-off-by: Xu Wang --- libxkutil/device_parsing.c | 51 +++++++++++++++++++++++++++++++++---------- 1 files changed, 39 insertions(+), 12 deletions(-) diff --git a/libxkutil/device_parsing.c b/libxkutil/device_parsing.c index 16195da..2f39af3 100644 --- a/libxkutil/device_parsing.c +++ b/libxkutil/device_parsing.c @@ -396,31 +396,58 @@ err: return 0; } +static xmlNodePtr seek_subNode(xmlNodePtr node, char *tag) +{ + xmlNodePtr child = node->children; + xmlNodePtr ret = NULL; + + if (child == NULL) { + return NULL; + } + + while (child) { + if (XSTREQ(child->name, tag)) { + return child; + } + + ret = seek_subNode(child, tag); + if (ret) { + return ret; + } + + child = child->next; + } + + return NULL; +} + int parse_domain_type(xmlNodePtr node, char **value) { xmlNodePtr child = NULL; + xmlNodePtr seek_node = NULL; char *type = NULL; + char *host_arch = NULL; + char *guest_arch = NULL; child = node->children; - while (child != NULL) { - if (XSTREQ(child->name, "domain")) { - type = get_attr_value(child, "type"); - if (type != NULL) { + while (child) { + if (XSTREQ(child->name, "host")) { + seek_node = seek_subNode(child, "arch"); + host_arch = get_node_content(seek_node); + } else if (XSTREQ(child->name, "guest")) { + seek_node = seek_subNode(child, "arch"); + guest_arch = get_attr_value(seek_node, "name"); + if (XSTREQ(host_arch, guest_arch)) { + seek_node = seek_subNode(child, "domain"); + type = get_attr_value(seek_node, "type"); *value = strdup(type); - goto out; + return 1; } } - - if (parse_domain_type(child, value) == 1) { - goto out; - } - child = child->next; } return 0; -out: - return 1; } static int parse_net_device(xmlNode *inode, struct virt_device **vdevs) -- 1.7.1 From mihajlov at linux.vnet.ibm.com Thu Jun 27 16:54:56 2013 From: mihajlov at linux.vnet.ibm.com (Viktor Mihajlovski) Date: Thu, 27 Jun 2013 18:54:56 +0200 Subject: [Libvirt-cim] [PATCH V2] Fix kvm support check logic In-Reply-To: <1372317739-5675-1-git-send-email-cngesaint@gmail.com> References: <1372317739-5675-1-git-send-email-cngesaint@gmail.com> Message-ID: <51CC6E60.20701@linux.vnet.ibm.com> On 06/27/2013 09:22 AM, Xu Wang wrote: > int parse_domain_type(xmlNodePtr node, char **value) > { > xmlNodePtr child = NULL; > + xmlNodePtr seek_node = NULL; > char *type = NULL; > + char *host_arch = NULL; > + char *guest_arch = NULL; > > child = node->children; > - while (child != NULL) { > - if (XSTREQ(child->name, "domain")) { > - type = get_attr_value(child, "type"); > - if (type != NULL) { > + while (child) { > + if (XSTREQ(child->name, "host")) { > + seek_node = seek_subNode(child, "arch"); > + host_arch = get_node_content(seek_node); > + } else if (XSTREQ(child->name, "guest")) { > + seek_node = seek_subNode(child, "arch"); > + guest_arch = get_attr_value(seek_node, "name"); > + if (XSTREQ(host_arch, guest_arch)) { > + seek_node = seek_subNode(child, "domain"); > + type = get_attr_value(seek_node, "type"); > *value = strdup(type); > - goto out; > + return 1; unfortunately this logic is still returns the first guest domain type in the capabilities XML which is "qemu". It would be necessary to iterate all guest domains to find out whether one of them is of type "kvm". BTW: this function is leaking type, host_arch and guest_arch... > } > } > - -- Mit freundlichen Gr??en/Kind Regards Viktor Mihajlovski IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Martina K?deritz Gesch?ftsf?hrung: Dirk Wittkopp Sitz der Gesellschaft: B?blingen Registergericht: Amtsgericht Stuttgart, HRB 243294 From cngesaint at gmail.com Fri Jun 28 02:46:22 2013 From: cngesaint at gmail.com (Xu Wang) Date: Fri, 28 Jun 2013 10:46:22 +0800 Subject: [Libvirt-cim] [PATCH V3] Fix kvm support check logic Message-ID: <1372387582-23079-1-git-send-email-cngesaint@gmail.com> Now system_has_kvm() would check all type value of domain label in caps. If any of them type is "kvm", system_has_kvm() return 1 as true result. Signed-off-by: Xu Wang --- libxkutil/device_parsing.c | 13 +++++-------- libxkutil/device_parsing.h | 2 +- src/Virt_VirtualSystemManagementService.c | 7 +------ 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/libxkutil/device_parsing.c b/libxkutil/device_parsing.c index 16195da..d4bc65d 100644 --- a/libxkutil/device_parsing.c +++ b/libxkutil/device_parsing.c @@ -396,7 +396,7 @@ err: return 0; } -int parse_domain_type(xmlNodePtr node, char **value) +int parse_domain_type(xmlNodePtr node) { xmlNodePtr child = NULL; char *type = NULL; @@ -405,22 +405,19 @@ int parse_domain_type(xmlNodePtr node, char **value) while (child != NULL) { if (XSTREQ(child->name, "domain")) { type = get_attr_value(child, "type"); - if (type != NULL) { - *value = strdup(type); - goto out; + if (XSTREQ(type, "kvm")) { + return 1; } } - if (parse_domain_type(child, value) == 1) { - goto out; + if (parse_domain_type(child) == 1) { + return 1; } child = child->next; } return 0; -out: - return 1; } static int parse_net_device(xmlNode *inode, struct virt_device **vdevs) diff --git a/libxkutil/device_parsing.h b/libxkutil/device_parsing.h index 733324f..00932d7 100644 --- a/libxkutil/device_parsing.h +++ b/libxkutil/device_parsing.h @@ -221,7 +221,7 @@ int attach_device(virDomainPtr dom, struct virt_device *dev); int detach_device(virDomainPtr dom, struct virt_device *dev); int change_device(virDomainPtr dom, struct virt_device *dev); -int parse_domain_type(xmlNodePtr node, char **value); +int parse_domain_type(xmlNodePtr node); #define XSTREQ(x, y) (STREQ((char *)x, y)) #define STRPROP(d, p, n) (d->p = get_node_content(n)) diff --git a/src/Virt_VirtualSystemManagementService.c b/src/Virt_VirtualSystemManagementService.c index 8e1e6b1..bf61f43 100644 --- a/src/Virt_VirtualSystemManagementService.c +++ b/src/Virt_VirtualSystemManagementService.c @@ -394,7 +394,6 @@ static bool system_has_kvm(const char *pfx) virConnectPtr conn; char *caps = NULL; bool disable_kvm = get_disable_kvm(); - char *val = NULL; xmlDocPtr doc = NULL; xmlNodePtr node = NULL; int len; @@ -427,19 +426,15 @@ static bool system_has_kvm(const char *pfx) goto out; } - if (parse_domain_type(node, &val) && - STREQC(val, "kvm")) { + if (parse_domain_type(node)) { CU_DEBUG("The system support kvm!"); kvm = true; - } else { - CU_DEBUG("Domain type is %s.", val); } } out: free(caps); free(doc); - free(val); virConnectClose(conn); -- 1.7.1 From mihajlov at linux.vnet.ibm.com Fri Jun 28 09:18:12 2013 From: mihajlov at linux.vnet.ibm.com (Viktor Mihajlovski) Date: Fri, 28 Jun 2013 11:18:12 +0200 Subject: [Libvirt-cim] [PATCH V3] Fix kvm support check logic In-Reply-To: <1372387582-23079-1-git-send-email-cngesaint@gmail.com> References: <1372387582-23079-1-git-send-email-cngesaint@gmail.com> Message-ID: <51CD54D4.9080105@linux.vnet.ibm.com> On 06/28/2013 04:46 AM, Xu Wang wrote: > Now system_has_kvm() would check all type value of domain label in > caps. If any of them type is "kvm", system_has_kvm() return 1 as > true result. > > Signed-off-by: Xu Wang > --- > libxkutil/device_parsing.c | 13 +++++-------- > libxkutil/device_parsing.h | 2 +- > src/Virt_VirtualSystemManagementService.c | 7 +------ > 3 files changed, 7 insertions(+), 15 deletions(-) > OK, this works for me. Maybe one last nit ... > -int parse_domain_type(xmlNodePtr node, char **value) > +int parse_domain_type(xmlNodePtr node) ... since the function is now checking for the existence of KVM domains in the capabilities XML, it should probably be renamed to something more adequate, like has_kvm_domain(..) or similar. -- Mit freundlichen Gr??en/Kind Regards Viktor Mihajlovski IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Martina K?deritz Gesch?ftsf?hrung: Dirk Wittkopp Sitz der Gesellschaft: B?blingen Registergericht: Amtsgericht Stuttgart, HRB 243294