>    If libvirt could integrate external tool using code, that would be great. 
> For
> qemu, My understanding is just to take internal snapshot and stop vm,

You just need to save VM state, flush all IO requests, then stop.

After that the management framework can issue command to:

* create internal snapshots (qmp)
* create external snapshots (qmp)
* create snapshot using external tools (lvcreate, nexenta API, btrfs?, ...)

> then let management stack do the things remain. Dietmar, do you think that is 
> all
> what needed in qemu?

Basically yes. Maybe we need to provide some 'abort/cleanup' handler to restore
state if something fail (AFAIK external snapshots needs that).


Reply via email to