δΊ 2013-1-10 6:34, Eric Blake ει:
On 01/07/2013 12:27 AM, Wenchao Xia wrote:
These patch added a seperated layer to take internal or external snapshots
in a unified way, the granularity is block device, so other functions can
just combine the request and submit, such as group snapshot, savevm.
Total goal are:
Live back up vm in external or internal image, which need three functions:
1 live snapshot block device internal/external.
2 live save vmstate internal/external.
3 combination of the function unit.
This serial provide part one.
The design on this series needs to be coordinated with Pavel's
attempts[1] to convert the existing HMP snapshot commands into QMP. I
don't want to spend too much time reviewing two different divergent
designs that both have the same goal of finally managing snapshots under
QMP.
[1] https://lists.gnu.org/archive/html/qemu-devel/2013-01/msg01326.html
A bit difference: This serial are taking internal/external block
snapshots but Pavel's are focusing are vm whole internal snapshots. It
is OK to use Pavel's interface with a mark about "internal and sync".
I'd like to add new interface after vmstate live save is implemented.
--
Best Regards
Wenchao Xia