[libvirt] [PATCH 8/8] snapshot: merge domain and snapshot computation