Re: [libvirt] [PATCHv2 07/26] snapshot: track current snapshot across restarts

2011-08-18 Thread Eric Blake
On 08/15/2011 05:33 PM, Eric Blake wrote: Audit all changes to the qemu vm->current_snapshot, and make them update the saved xml file for both the previous and the new snapshot, so that there is always at most one snapshot with 1 in the xml, and that snapshot is used as the current snapshot even

Re: [libvirt] [PATCHv2 07/26] snapshot: track current snapshot across restarts

2011-08-16 Thread Eric Blake
On 08/15/2011 05:33 PM, Eric Blake wrote: Audit all changes to the qemu vm->current_snapshot, and make them update the saved xml file for both the previous and the new snapshot, so that there is always at most one snapshot with 1 in the xml, and that snapshot is used as the current snapshot even

[libvirt] [PATCHv2 07/26] snapshot: track current snapshot across restarts

2011-08-15 Thread Eric Blake
Audit all changes to the qemu vm->current_snapshot, and make them update the saved xml file for both the previous and the new snapshot, so that there is always at most one snapshot with 1 in the xml, and that snapshot is used as the current snapshot even across libvirtd restarts. * src/conf/domain