Initial snapshot support

Enterprise / Virtualization / virt-manager - Cole Robinson [redhat.com] - 21 August 2013 17:41 UTC

This adds initial UI for managing snapshots: list, run/revert, delete, add, and redefining (for changing ) supported, but currently only for internal snapshots. The UI is mostly in its final form except for some bells and whistles.

The real remaining question is what do we want to advertise and support. Internal (qcow2) snapshots are by far the simplest to manage, very mature, and already have the semantics we want.

However most recent libvirt and qemu work has been to facilitate external snapshots, which are more extensible and can be performed live, and with qemu-ga coordination for extra safety. However they make things much harder for virt-manager at the moment.

Until we have a plan, this work should be considered experimental and not be relied upon.

e8531b1 Initial snapshot support
ui/vmm-details.ui | 9361 +++++++++++++++++++++++-----------------------
ui/vmm-snapshots.ui | 474 +++
virtManager/baseclass.py | 7 +-
virtManager/details.py | 111 +-
virtManager/domain.py | 81 +-
virtManager/manager.py | 12 +-
virtManager/snapshots.py | 365 ++
virtManager/uihelpers.py | 19 +
8 files changed, 5693 insertions(+), 4737 deletions(-)

Upstream: git.fedorahosted.org


  • Share