]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xen: Resolve Coverity NEGATIVE_RETURNS
authorJohn Ferlan <jferlan@redhat.com>
Thu, 4 Sep 2014 21:11:57 +0000 (17:11 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 11 Sep 2014 12:10:14 +0000 (08:10 -0400)
commit947593f6e628f724607d51dfc346af6dc3edf01f
treeb5d661a4738a211685fc98abf2fd2210ede5123d
parent34476d720fdb7fcd86f4a226064a6d9f3d93d550
xen: Resolve Coverity NEGATIVE_RETURNS

Coverity notes that if the call to virBitmapParse() returns a negative
value, then when we jump to the error label, the call to
virCapabilitiesClearHostNUMACellCPUTopology() will have issues
with the negative nb_cpus

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