[libvirt] [go PATCH 29/37] domain snapshot: fix error reporting thread safety