[libvirt] [PATCH 25/26] qemu: Resolve Coverity NEGATIVE_RETURNS