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