[libvirt] [PATCH 02/10] src: Use consistent error preservation and restoration calls