[libvirt-users] libvirt-python Create External Snapshot
by Roger Jin
Hi Libvirt,
Does libvirt-python currently support the creation of external snapshots?
I ran
domain.snapshotCreateXML(xml)
where xml is
<domainsnapshot>
<name>snap1</name>
<description>Snapshot of OS install and updates</description>
<disks>
<disk name='vda'>
<source file='/home/potato/libvirt/backups/test-snap1.qcow2'/>
</disk>
</disks>
</domainsnapshot>
And got the following error:
if ret is None:raise libvirtError('virDomainSnapshotCreateXML()
failed', dom=self)
libvirt.libvirtError: unsupported configuration: disk 'vda' must use
snapshot mode 'internal'
Is this expected? Thanks!
Sincerely,
Roger Jin
5 years, 4 months
[libvirt-users] Blockpull while domain is shutoff
by Roger Jin
Hi Libvirt,
Is there a command that performs the same operation as blockpull while a
domain is shutoff? I have a backing chain
base <-- A <-- B
that I would like to shorten to
base <-- B
It seems like blockpull B, setting --base <path-to-base> does this, but
only when the domain is running.
Thanks!
Sincerely,
Roger Jin
5 years, 4 months