[libvirt] [PATCH 2/2] snapshot: use new API for less work