]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: bitmap: Add option to allocate bitmap without reporting error
authorPeter Krempa <pkrempa@redhat.com>
Fri, 30 Jan 2015 10:19:59 +0000 (11:19 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sat, 31 Jan 2015 07:53:21 +0000 (08:53 +0100)
commitbc2d8e5b065ef2cb8479ee3304dabbeeab018b4d
tree0d3cf424f58a70293b4eb3a3e2d96e55c7a78ce5
parentf0363aa14559f291d8fe41f401e8b13de0aeab04
util: bitmap: Add option to allocate bitmap without reporting error

The virBitmapNew() function reports only OOM errors. Split out the
internals into a "quiet" function and add a wrapper that reports the
error.
src/libvirt_private.syms
src/util/virbitmap.c
src/util/virbitmap.h