diff --git a/TemplateImplementation.md b/TemplateImplementation.md index 5c40ed64..a84959fc 100644 --- a/TemplateImplementation.md +++ b/TemplateImplementation.md @@ -78,10 +78,10 @@ Steps performed by **qvm-revert-template-changes**: 1. Ensure that no other VMs uses this template. 2. Prepare snapshot device with ***root-cow.img.old*** instead of *root-cow.img* (*/etc/xen/scripts/block-snapshot prepare*). -3. Replace *snapshot* device-mapper target with *snapshot-merge*, other parameters (chunk size etc) remains untouched. Now kernel starts merging changes stored in *root-cow.img.old* into *root.img*, but d-m device can be used normally. +3. Replace *snapshot* device-mapper target with *snapshot-merge*, other parameters (chunk size etc) remains untouched. Now kernel starts merging changes stored in *root-cow.img.old* into *root.img*. d-m device can be used normally (if needed). 4. Waits for merge completed: *dmsetup status* shows used snapshot blocks - it should be equal to metadata size when completed. 5. Replace *snapshot-merge* d-m target back to *snapshot*. -6. Cleanup snapshot device (in nobody uses it it the moment). +6. Cleanup snapshot device (if nobody uses it it the moment). 7. Move *root-cow.img.old* to *root-cow.img* (overriding existing file). Snapshot device in AppVM