[libvirt PATCH 1/2] qemu_snapshot: create: refactor external snapshot detection