]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Resolve Coverity NEGATIVE_RETURNS
authorJohn Ferlan <jferlan@redhat.com>
Thu, 4 Sep 2014 21:18:48 +0000 (17:18 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 11 Sep 2014 12:10:14 +0000 (08:10 -0400)
commit81a8fc34ad79386deb774f1e234797ae3641584c
treefad43d3525e07b25c28a8ba10679851a3da14344
parentb74a3fb307f5e3743bba846956bddab1002b55c9
qemu: Resolve Coverity NEGATIVE_RETURNS

Coverity notes that if the virConnectListAllDomains returns a negative
value then the loop at the cleanup label that ends on numDomains will
have issues.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_driver.c