Displaying 3 results from an estimated 3 matches for "snp_xml".
Did you mean:
app_xml
2014 Jun 03
2
LIbvirt Python Snapshot -Domain Crashing
...tion>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.
Rgds
-Sijo
-------------- next part --------------
An HTML atta...
2014 Jun 03
1
Re: LIbvirt Python Snapshot -Domain Crashing
...It should be possible to revert to the actual domain state
when I took the snapshot), I'm using libvirt APIs python bindings,
there are many flags defined, so which way I can accomplish it..?
as of now I"m using flag value as zero.
API Call
--------------
snp1=domain1.snapshotCreateXML(snp_xml,0)
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_D...
2014 Jun 03
0
Re: LIbvirt Python Snapshot -Domain Crashing
...lt;/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.
>
I do not know much about t...