[libvirt PATCH v3 10/25] qemu_snapshot: move external disk prepare to single function