search for: destxml

Displaying 7 results from an estimated 7 matches for "destxml".

Did you mean: castxml
2016 Feb 19
2
problem cloning storage pool volume
I'm trying to clone a volume in a storage pool and I'm following the steps described here: http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html My code looks like: destXML = """ <volume> <name>"""+newDiskName+""".qcow2</name> <target> <path>/jffs2/disk0/"""+poolName+'/'+newDiskName+""".qcow2</path>...
2016 Feb 19
2
Re: problem cloning storage pool volume
...a volume in a storage pool and I'm following the steps >> described here: >> >> http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html >> >> My code looks like: >> >> destXML = """ >> <volume> >> <name>"""+newDiskName+""".qcow2</name> >> <target> >> >> <path>/jffs2/disk0/"""+poolName+'/'+newDiskName+"&q...
2016 Feb 19
0
Re: problem cloning storage pool volume
...u wrote: >I'm trying to clone a volume in a storage pool and I'm following the steps >described here: >http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html > >My code looks like: > > destXML = """ > <volume> > <name>"""+newDiskName+""".qcow2</name> > <target> > ><path>/jffs2/disk0/"""+poolName+'/'+newDiskName+""".qcow2</...
2016 Feb 22
0
Re: problem cloning storage pool volume
...and I'm following the steps >>> described here: >>> >>> http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html >>> >>> My code looks like: >>> >>> destXML = """ >>> <volume> >>> <name>"""+newDiskName+""".qcow2</name> >>> <target> >>> >>> <path>/jffs2/disk0/"""+poolName+'/'+...
2017 Apr 28
1
Re: Live migration with non-shared ZFS volume
...<source file='/tmp/test-volume.qcow2'/> </disk> </disks> </domainsnapshot> This creates overlay qcow snapshot on top of my base ZFS volume 3. Transfer ZFS volume (with last snapshot) to remote host 4. Run live migration with setting XML from step 1 as DestXML and PersistXML parameter and with VIR_MIGRATE_NON_SHARED_INC flag This creates domain without snapshot on the remote host and migrates only data from qcow overlay and commits them to the ZFS base volume. What I don't like about this, is that I need to create and care about qcow image. The be...
2023 May 15
0
PHP API
...> dom, > const char * disk, > unsigned long bandwidth, > unsigned int flags) > > > int virDomainBlockCopy (virDomainPtr > <https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainPtr> dom, > const char * disk, > const char * destxml, > virTypedParameterPtr > <https://libvirt.org/html/libvirt-libvirt-common.html#virTypedParameterPtr> params, > int nparams, > unsigned int flags)intvirDomainBlockPull (virDomainPtr > <https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainPtr>dom...
2017 Apr 04
2
Live migration with non-shared ZFS volume
Hi all, I'm using ZFS on Linux block volumes as my VM storage and want to do live migrations between hypervisors. If I create ZFS snapshot of used volume on source host, send it do destination host (zfs send/recv) and then run live migration with VIR_MIGRATE_NON_SHARED_DISK flag, the migration works OK. But this procedure copies the whole disk twice which is a huge downside. The best