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