[libvirt] [PATCH 06/10] remote: Use consistent error preservation and restoration calls