I have created an external snapshot with KVM using
virsh snapshot-create-as domain --name snap1 --disk-only
Then, I started the domain with βvirsh start domainβ. I know that reverting to external snapshots is not yet implemented (at least not in RHEL7) and there is the possibility to do it manually by editing XML and using qemu-ing. But all HOWTOS that I've found are vague or doubtful or both.
So, how to you throw away the current overlay and return to the latest snapshot, starting a fresh overlay on top of it?
What I've found so far:
- quasi-official workaround: This is linked to by RedHat's documentation. I find this very complicated and without concrete instructions.
- answer on Stackexchange: This is vague. What should I change in the XML file? How do I cleanly remove the overlay?
- Linux Mint Forums post: This is at least slightly helpful for me. But why should I change the file type to βrawβ? Besides, this doesn't seem to start a fresh overlay on top of the latest snapshot but instead append changes to the overlay before the current one, doesn't it?