virDomainSnapshotCreateFlags
enum virDomainSnapshotCreateFlags {
VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE | = | 1 | Restore or alter metadata
|
VIR_DOMAIN_SNAPSHOT_CREATE_CURRENT | = | 2 | With redefine, make snapshot current
|
VIR_DOMAIN_SNAPSHOT_CREATE_NO_METADATA | = | 4 | Make snapshot without remembering it
|
VIR_DOMAIN_SNAPSHOT_CREATE_HALT | = | 8 | Stop running guest after snapshot |
VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLY | = | 16 | disk snapshot, not system checkpoint
|
VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT | = | 32 | reuse any existing external files
|
VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE | = | 64 | use guest agent to quiesce all mounted file systems within the domain
|
VIR_DOMAIN_SNAPSHOT_CREATE_ATOMIC | = | 128 | atomically avoid partial changes
|
VIR_DOMAIN_SNAPSHOT_CREATE_LIVE | = | 256 | create the snapshot while the guest is running
|
I do not know much about these snapshot calls, but let me ask you.On Tue, Jun 03, 2014 at 04:02:21PM +0530, Sijo Jose wrote:
Hi,
I'm using libvirt(1.0.0) with python, for managing virtual machines..
but while taking multiple snapshot domain is crashing...
Snapshot XML
-------------------------
<domainsnapshot>
<name>snp1</name>
<creationTime></creationTime>
<description>Description</description>
<state></state>
<domain>
<uuid></uuid>
</domain>
<parent>
<name></name>
</parent>
</domainsnapshot>
----------------
API Call
--------------
snp1=domain1.snapshotCreateXML(snp_xml,0)
here I'm passing flag value as zero..
Its created first snapshot without any error, but when I tried for second
snapshot
1) Domain switched its state to pause and its not coming back
I installed ubuntu12.04 OS in the domian.
You wrote that it's crashing, but here you are saying it gets paused
only, so which statement is correct?
If you have the problem with "downstream" version (here you are saying
it's from Ubuntu), please check it with current master as well. That
can help us (or someone from Ubuntu) find the reason for it to fail.
It's also possible there are some patches applied only in your
downstream version on top of 1.0.0 and we're mostly dealing with
upstream versions here.
Martin
Rgds
-Sijo
_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users