Libvirt: Support instance snapshots with no downtime
The current implementation of snapshots via the libvirt driver operates completely externally to libvirtd. This is accomplished by suspending (virDomainManag
With Qemu 1.3 and Libvirt 1.0, functionality was introduced to allow us to execute snapshots of running instances. There are several new block management API calls, such as virDomainBlockR
We cannot expect to have the latest versions of Qemu and Libvirt available in all deployments. Thus, the current snapshot approach will also be preserved. Users who do satisfy the dependencies will be able to enable the new live snapshot functionality via a configuration option. If this option is set to True, we will additionally validate the appropriate Qemu/Libvirt are available to us and fall back to the legacy snapshot method accordingly. Live snapshots will be disabled by default.
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- Low
- Drafter:
- Rafi Khardalian
- Direction:
- Approved
- Assignee:
- Rafi Khardalian
- Definition:
- Approved
- Series goal:
- Accepted for grizzly
- Implementation:
- Implemented
- Milestone target:
- 2013.1
- Started by
- Vish Ishaya
- Completed by
- Vish Ishaya
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Libvirt: Add support for live snapshots