slavkap commented on PR #8062:
URL: https://github.com/apache/cloudstack/pull/8062#issuecomment-1759817979

   Hi @andrijapanicsb, I think @GutoVeronezi probably could help with virsh 
steps because the NFS/Local storage snapshots come from #5297 
   
   From what I got from the code, I think those are the steps for creating a 
snapshot:
   
   The XML file contains this:
   ```
   <domainsnapshot><name>%s</name><disks><disk name='%s' 
snapshot='external'><source file='%s'/></disk>%s</disks>"
         + "</domainsnapshot>"
   ```
   `snapshot-create --domain [domain] --xmlfile [xml] --disk-only`
   
   Merging the snapshot:
   `virsh blockcommit [VM name] [disk label] --base [base file] --active --wait 
--delete --pivot`
   
   About the qemu agent, I've added only this in the docs - [Storage-based VM 
snapshots](https://docs.cloudstack.apache.org/en/latest/adminguide/virtual_machines.html#storage-based-vm-snapshots-on-kvm).
 There aren't any checks that the qemu-guest-agent for sure works


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to