[libvirt] [PATCH] remote: Fix incorrect error codes