Re: The right way to revert to external disk snapshots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Thanks for the response and sorry for the big blob of text, I've actually formatted the email with great detail, but I don't really know what happened (I see it formatted well on the generated "attachment.html" on the forum thread).

I see the support for external snapshots was added for some time, indeed, from version 9.9, by the end of 2023. But still, what I'm running on is Libvirt `v10.5.0 (2024-07-01)`, and reverting to disk-only snapshots seems to still not be supported, as I am getting the following error when trying to do that: `Invalid target domain state 'disk-snapshot'. Refusing snapshot reversion`.

Going to the source code, I've tracked the part of the code raising this error on `qemu_snapshot.c`, and I've also found the following patch: https://lists.libvirt.org/archives/list/devel@xxxxxxxxxxxxxxxxx/thread/XQIJQAQFHCSM6HMXFVIM6VLYZUHXPYD7/, which is not yet adopted even in the code of the project's `master` branch. Applying this patch over v10.5 locally, made snapshot reversion on disk-only snapshots work for me.

Is the `qemu_snapshot: allow reverting to external disk only snapshot` patch what you were referring to earlier? Is it safe to apply it like I did? 

All the best,
Alex Serban




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux