[libvirt PATCH v2 10/24] qemu_snapshot: move external disk prepare to single function