[Libvirt-cim] [PATCH v2 0/4] Fix errors raised by Coverity tool