]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virBitmapParse: Fix behavior in case of error and fix up callers
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 Aug 2013 14:08:24 +0000 (16:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 22 Aug 2013 09:38:36 +0000 (11:38 +0200)
commit106a2ddaa7b5ef7d69242333e48d77fda0b7ccf3
treeb374a89b2c42dbd899c14319a85041c33a46a5f1
parenta0b6a36f9456dae895f50d344fd2d38be1167c58
virBitmapParse: Fix behavior in case of error and fix up callers

Re-arrange the code so that the returned bitmap is always initialized to
NULL even on early failures and return an error message as some callers
are already expecting it. Fix up the rest not to shadow the error.
po/POTFILES.in
src/conf/domain_conf.c
src/conf/network_conf.c
src/nodeinfo.c
src/qemu/qemu_driver.c
src/util/virbitmap.c
src/xenxs/xen_sxpr.c
tests/cpuset