docs: Reword virDomainGetEmulatorPinInfo description
[libvirt.git] / tests / virshtestdata / snapshot.out
blob03268415d75934773b6f3bc7e41e8afd43a13c7f
1 Create a series of snapshots, with names that intentionally sort
2 differently by topology than by name. Use revert to create fanout.
3 Domain snapshot s1 created
4 error: operation failed: domain moment s1 already exists
6 Domain snapshot s3 created
7 Domain snapshot s2 created
8 Domain snapshot s3 reverted
10 Domain snapshot s6 created
11 Domain snapshot s5 created
12 Domain snapshot s6 reverted
14 Domain snapshot s4 created
15 Domain snapshot s1 reverted
17 Domain snapshot s7 created
18 Domain snapshot s8 created
19 checkpoints cannot be created while snapshots exist
20 error: Operation not supported: cannot create checkpoint while snapshot exists
22 Checking tree view (siblings sorted alphabetically)
24   |
25   +- s3
26   |   |
27   |   +- s2
28   |   +- s6
29   |       |
30   |       +- s4
31   |       +- s5
32   |         
33   +- s7
34       |
35       +- s8
36         
38 Current was last one created, but we can change that
40 Snapshot s1 set as current
42 Deleting current root leads to multiple roots, demonstrate list filtering
43 Domain snapshot s1 deleted
45 error: domain 'test' has no current snapshot
47 list roots
51 list leaves
57 list no-leaves
59 s6      s3
62 list from
71 More fun with delete flags, current node moves up to remaining parent
72 Snapshot s4 set as current
73 Domain snapshot s6 children deleted
76 Domain snapshot s7 deleted
79 Domain snapshot s6 deleted
82 Now the tree is linear, so we have an unambiguous topological order
89 <domainsnapshot>
90   <name>s3</name>
91   <state>running</state>
92   
93   <memory snapshot='internal'/>
94   <disks>
95     <disk name='vda' snapshot='internal'/>
96   </disks>
97   <domain type='test'>
98     <name>test</name>
99     <uuid>6695eb01-f6a4-8304-79aa-97f2502e193f</uuid>
100     <memory unit='KiB'>8388608</memory>
101     <currentMemory unit='KiB'>2097152</currentMemory>
102     <vcpu placement='static'>2</vcpu>
103     <os>
104       <type arch='i686'>hvm</type>
105       <boot dev='hd'/>
106     </os>
107     <clock offset='utc'/>
108     <on_poweroff>destroy</on_poweroff>
109     <on_reboot>restart</on_reboot>
110     <on_crash>destroy</on_crash>
111     <devices>
112       <disk type='file' device='disk'>
113         <source file='/guest/diskimage1'/>
114         <target dev='vda' bus='virtio'/>
115         <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
116       </disk>
117       <interface type='network'>
118         <mac address='aa:bb:cc:dd:ee:ff'/>
119         <source network='default'/>
120         <target dev='testnet0'/>
121         <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
122       </interface>
123       <memballoon model='virtio'>
124         <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
125       </memballoon>
126     </devices>
127   </domain>
128 </domainsnapshot>
130 <domainsnapshot>
131   <name>s2</name>
132   <state>running</state>
133   <parent>
134     <name>s3</name>
135   </parent>
136   
137   <memory snapshot='internal'/>
138   <disks>
139     <disk name='vda' snapshot='internal'/>
140   </disks>
141   <domain type='test'>
142     <name>test</name>
143     <uuid>6695eb01-f6a4-8304-79aa-97f2502e193f</uuid>
144     <memory unit='KiB'>8388608</memory>
145     <currentMemory unit='KiB'>2097152</currentMemory>
146     <vcpu placement='static'>2</vcpu>
147     <os>
148       <type arch='i686'>hvm</type>
149       <boot dev='hd'/>
150     </os>
151     <clock offset='utc'/>
152     <on_poweroff>destroy</on_poweroff>
153     <on_reboot>restart</on_reboot>
154     <on_crash>destroy</on_crash>
155     <devices>
156       <disk type='file' device='disk'>
157         <source file='/guest/diskimage1'/>
158         <target dev='vda' bus='virtio'/>
159         <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
160       </disk>
161       <interface type='network'>
162         <mac address='aa:bb:cc:dd:ee:ff'/>
163         <source network='default'/>
164         <target dev='testnet0'/>
165         <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
166       </interface>
167       <memballoon model='virtio'>
168         <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
169       </memballoon>
170     </devices>
171   </domain>
172 </domainsnapshot>