search for: virstoragevolcreatexml

Displaying 12 results from an estimated 12 matches for "virstoragevolcreatexml".

2012 May 08
2
creation of storage volume fails
...ateXML in module libvirt: createXML(self, xmldesc, flags) unbound libvirt.virStoragePool method ? ? Create a storage volume within a pool based ? ? on an XML description. Not all pools support ? ? creation of volumes from the libvirt.org documentation: http://libvirt.org/html/libvirt-libvirt.html#virStorageVolCreateXML virStorageVolPtrvirStorageVolCreateXML(virStoragePoolPtr pool,? const char * xmldesc,? unsigned int flags) Create a storage volume within a pool based on an XML description. Not all pools support creation of volumes pool:pointer to storage pool xmldesc:description of volume to create flags:extra...
2012 May 06
0
storage-pools and volumes
...e='qemu' type='raw' cache='none' io='native'/> ? ? ? <source dev='/dev/vg001/myhost.blah.com'/> ? ? ? <target dev='hda' bus='ide'/> ? ? </disk> /usr/lib64/python2.6/site-packages/libvirt.py has: ? ? ? ? ret = libvirtmod.virStorageVolCreateXML(self._o, xmldesc, flags) ? ? ? ? if ret is None:raise libvirtError('virStorageVolCreateXML() failed', pool=self) ? ? ? ? __tmp = virStorageVol(self, _obj=ret) ? ? ? ? return __tmp however i don't know the xml format for storage vol thanks
2017 Jun 27
0
Problems creating a new volume
...apacity unit=\"G\">" + hd + "</capacity>\ <target>\ <path>" + filePath + "</path>\ <format type='"+ diskFormatType + "'/>\ </target>\ </volume>"; storageVolPtr = virStorageVolCreateXML(pool, storageVolXml.toLatin1().data(), VIR_STORAGE_VOL_CREATE_PREALLOC_METADATA); I don't have any error but no file is created in the specified path (filePath). Any suggestion? Thanks in advance.
2012 Oct 30
2
can not create "qcow2" format volume by Java library.
hi?all, when I use Java library to create volume ,specified format "qcow2"?but when I check it use qemu-img info ,it show format is "raw".? I think it a bug,can you fix it .. thanks very much. the java library version?0.4.8 libvirt version?0.9.8 -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Feb 10
1
Unable to create raw volume on netfs storage (Operation not permitted)
Hello, we are trying to create a new setup with a centralized storage server. Currently we are running multiple "All-in-One" hosts using raw volumes stored on the local disk of the server. I tried it first with samba but it did not work so currently I have configured it as NFS. This is my current setup: For Storage: OS: Ubuntu 16.04 beta (to match vHost version), IP: 123.123.123.2
2019 Apr 08
0
[PATCH v4 2/7] common: Bundle the libvirt-ocaml library for use by virt-v2v
...+ sig => "pool, string : vol from pool" }, + { name => "virStorageVolLookupByKey", + sig => "conn, string : vol" }, + { name => "virStorageVolLookupByPath", + sig => "conn, string : vol" }, + { name => "virStorageVolCreateXML", + sig => "pool, string, 0U : vol from pool" }, + { name => "virStorageVolGetXMLDesc", + sig => "vol, 0U : string" }, + { name => "virStorageVolGetPath", + sig => "vol : string" }, + { name => "vi...
2019 Dec 16
3
[v2v PATCH 0/2] Move libvirt-ocaml copy to v2v repo
libvirt-ocaml is used only by virt-v2v, so move it to this repository, instead of having it around in the common submodule. The removal from common will happen later. Pino Toscano (2): common: Bundle the libvirt-ocaml library for use by virt-v2v build: switch embedded copy of libvirt-ocaml .gitignore | 2 + 3rdparty/libvirt-ocaml/Makefile.am |
2018 Aug 30
8
[PATCH 0/7] RFC: switch v2v to ocaml-libvirt
Hi, this is a mostly done attempt to switch to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not
2018 Nov 27
8
[PATCH v2 0/7] RFC: switch v2v to ocaml-libvirt
Hi, this is a mostly done attempt to switch to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not
2019 Jan 30
8
[PATCH v3 0/7] RFC: switch v2v to ocaml-libvirt
Hi, this is a mostly done attempt to switch to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not
2019 May 20
8
[PATCH v5 0/7] v2v: switch to ocaml-libvirt
Hi, this series switches virt-2v to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not test all
2019 Apr 08
12
[PATCH 43 0/7] v2v: switch to ocaml-libvirt
Hi, this series switches virt-2v to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not test all