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

Coverity notes that if qemuMonitorGetMachines() returns a negative
nmachines value, then the code at the cleanup label will have issues.

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