libvirt/src/xenapi
Eric Blake 430156cf32 build: add compiler attributes to virUUIDParse
Coverity complained that most, but not all, clients of virUUIDParse
were checking for errors.  Silence those coverity warnings by
explicitly marking the cases where we trust the input, and fixing
one instance that really should have been checking.  In particular,
this silences a rather large percentage of the warnings I saw on my
most recent Coverity analysis run.

* src/util/uuid.h (virUUIDParse): Enforce rules.
* src/util/uuid.c (virUUIDParse): Drop impossible check; at least
Coverity will detect if we break rules and pass NULL.
* src/xenapi/xenapi_driver.c (xenapiDomainCreateXML)
(xenapiDomainLookupByID, xenapiDomainLookupByName)
(xenapiDomainDefineXML): Ignore return when we trust data source.
* src/vbox/vbox_tmpl.c (nsIDtoChar, vboxIIDToUUID_v3_x)
(vboxCallbackOnMachineStateChange)
(vboxCallbackOnMachineRegistered, vboxStoragePoolLookupByName):
Likewise.
* src/node_device/node_device_hal.c (gather_system_cap): Likewise.
* src/xenxs/xen_sxpr.c (xenParseSxpr): Check for errors.
2011-10-13 12:23:37 -06:00
..
xenapi_driver_private.h Prefer C style comments over C++ ones 2011-01-29 00:59:45 +01:00
xenapi_driver.c build: add compiler attributes to virUUIDParse 2011-10-13 12:23:37 -06:00
xenapi_driver.h xenapi: Initial commit of the new driver 2010-03-14 19:30:00 +01:00
xenapi_utils.c support for Xen HVM Viridian (Hyper-V) enlightenment interface 2011-06-15 08:02:47 -06:00
xenapi_utils.h Add actions to virDomainLifecycle enum 2010-08-20 15:06:30 -06:00