libvirt/src/openvz
Laine Stump 46dc643232 openvz: check the exitstatus of vzlist
I noticed this while auditing all calls to virCommandRun that request
an exit status from virCommandRun. Two functions in the openvz driver

  openvzDomainGetBarrierLimit
  openvzDomainSetBarrierLimit

request an exit status from virCommandRun (thus assuring that
virCommandRun won't log any errors just due to a non-0 exit status),
but then fail to examine that exit status. This could result in the
functions believing that the call to "vzlist" was successful, even
though it may have encountered an error.
2012-08-24 03:07:00 -04:00
..
openvz_conf.c openvz: unlock virDomainObj objects in openvzOpen 2012-08-14 09:57:42 -06:00
openvz_conf.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
openvz_driver.c openvz: check the exitstatus of vzlist 2012-08-24 03:07:00 -04:00
openvz_driver.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
openvz_util.c maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
openvz_util.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00