similar to: Libvirt disk API

Displaying 20 results from an estimated 1000 matches similar to: "Libvirt disk API"

2012 Nov 12
1
where is libvirt-python document??
Hi libvirt users: Who can tell me where is the fucking doc? I want to use libvirt-python in my project.But I can't found the doc. I only found "TBD" in http://libvirt.org/guide/html/Application_Development_Guide-Language_Bindings.html Did I miss something? Thanks. -- ???: http://www.xuanmingyi.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Oct 30
2
Creating network interfaces with specific name in LXC
Hello I am trying to create interfaces within an LXC container with specific name. I am using the following XML: <interface type='network' name='blah'> <source network='dpbr_n_0'/> </interface> This doesn't seem to work; it always ends up creating interface with name as "eth0". I found some examples here:
2011 Jun 07
3
Different callerid for different extensions
Hi, I have small confusion in my configuration which is I had some DID's like 044578900-04457999. I was configured dial plan below mention. exten => _0XXXXXXXXX,1,NoOp(Int exten:${CALLERID(num)}) exten => _0XXXXXXXXX,2,Set(outgoing_ident=0445789${CALLERID(num):-2}) exten => _0XXXXXXXXX,3,NoOp(Ext ident:${outgoing_ident}) exten =>
2015 Oct 30
2
Re: Creating network interfaces with specific name in LXC
Thanks Martin. What I would like to achieve is govern the interface name created within the container, so that my application can take different actions on different interfaces (such as eth0, eth1 etc.,). Libvirt's lxc driver seems to create interfaces as eth0, eth1 and so on, when there are multiple <interface /> entries in the domain xml. How can I request for a particular interface
2018 Dec 03
2
Re: console type tcp with logging
пн, 3 дек. 2018 г. в 12:27, Daniel P. Berrangé <berrange@redhat.com>: > > We don't have any plans to add it, but if someone's interested we'd > accept patches. It would need to integrate with our virStream APIs > to allow download, in similar way to how virStorageVolDownload() works What args this function need to receive? VolDownload this args:
2018 Dec 01
2
Re: console type tcp with logging
пт, 30 нояб. 2018 г. в 12:43, Daniel P. Berrangé <berrange@redhat.com>: > > On Thu, Nov 29, 2018 at 08:57:54PM +0300, Vasiliy Tolstov wrote: > > чт, 29 нояб. 2018 г. в 18:23, Daniel P. Berrangé <berrange@redhat.com>: > > > > > > On Thu, Nov 29, 2018 at 06:19:43PM +0300, Vasiliy Tolstov wrote: > > > > Hi! I want to have ability to connect to
2015 May 05
3
libguestfs init problem
Hi ,all : thanks for helping me ! I am using libguestfs-1.28.1 on ubuntu 12.04 to manage vm disk created by KVM. I downloaded libguestfs-1.28.1.tar.gz ,and then executed (1) ./autogen.sh (2) ./configure (3) make (4) make check .there is the error. /usr/Libvmi/libguestfs-1.28.1/run --test guest-aux/make-fedora-img.pl md_create: feature 'mdadm' is not available in this
2012 May 06
0
storage-pools and volumes
hi, i am trying to create a domain using libvirt 0.9.4 python api and i can't find any information on how to use the libvirt python api with linux logical volumes http://libvirt.org/guide/html-single/#Application_Development_Guide-Device_Config-Disks is TBD i figured out that i need to use defineXML to create a domain, however for the disk part in the xml, i am not sure if i need to create
2015 Jun 01
2
Dynamic monitoring of virtual machine disk by libguestfs
Hi all , By using function : guestfs_ls() , I have realized ls -l commond with libguesfs . I am wondering how to inspect the virtual disk dynamically, such as monitor mkdir commond inside the virtual machines, I mean if I create a directory in virtual machine , how can I detect it ? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 May 13
2
about libguestfs 'AVAILABILITY'
Hi all: I installed libguestfs-1.29.40 on both ubuntu 12.04 and ubuntu 14.04. Both of them have the same problems,It is about the 'AVAILABILITY' . I build libguestfs by tarball , everything is ok except the commond : make check . on ubuntu 12.04 the error is md_create: feature 'mdadm' is not available in this build of libguestfs. Read 'AVAILABILITY' in the
2015 May 04
2
libguestfs install error
hi all: I am trying to use libguestfs to manage my vm disk , I want to use guestfs-lib the C library on ubuntu 12.04. so I download libguestfs-1.28.1 and try to install it . what I did is : ./autogen.sh ./configure make this time some errors occurs : File "output_libvirt.ml", line 53, characters 4-13: Error:
2015 May 19
2
libguestfs error: mkfs_btrfs
Hi all : there is a problem on libguestfs-1.29.40 after command :make check libguestfs: error: mkfs_btrfs: /dev/vda1: device /dev/vda1 is too small (must be at least 256 MB) FAIL: test_btrfs_image_0 3/515 test_btrfstune_enable_skinny_metadata_extent_refs_0 libguestfs: error: btrfstune_enable_skinny_metadata_extent_refs: /dev/vda1: btrfstune: invalid option -- 'x' usage: btrfstune
2011 Jul 29
1
Custom storage pools/volumes
Hello everyone, We're currently working with using libvirt as an abstract API to make our dealings with other hypervisors far easier and faster, however, we have our own storage API that connects/disconnects and makes LUNs available over iSCSI with iSER. We would have loved to use a storage pool however our system implements a one target per LUN/VDI, therefore, we'd have to create a pool
2016 Apr 06
1
Domain, volume and storage-pool
Hi, I am using virStorageVolDownload to download volumes for the VDSM project. What is the best approch to know domains volume? Is there an api for associating domain to its pool and then to its volumes? I was able to do that by iterating the pools and then iterating all its volume..., is there a better way? Thank you, Shahar Havivi.
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL, I just look for the class and method to use blockcopy in libvirt-java on this page: http://libvirt.org/sources/java/javadoc/ However, I can not find out. Libvirt-java Support blockcopy ? Thanks. Best Regards, Star Guo
2020 Jun 28
2
get contents of a storage volume in bytes
Hi, i have two machines with libvirt installed. I want to move a storage volume from the 1st machine to 2nd machine with code. I'm thinking of reading a storage volume into a byte array/stream then uploading through my own/custom handler (written in go) to the 2nd machine's custom handler which will then be writing the byte stream to libvirt storage volume. Is there a libvirt function to
2007 Jan 12
2
spec_ui problems
While looking into spec_ui, I decided to run the examples. The watir example works a little, but always chokes on the ''better than fudge'' spec (failure output below). Also, is there any command to pause the "browser"? If my connection slows, the test gets out of whack. The selenium example fails right away (output below). I do have the 0.9.0 selenium-rc
2015 Jun 27
1
The usage if libguestfs
HI all: my problem is : I want to use libguestfs on other project. if I just run a test C programm It works well just run : cc prog.c -o prog -lguestfs -I /usr/libguestfs/libguestfs-1.28.10/src/ I write a C programm in my project , after that I run make , it happend: /usr/nitro/libvmi-master/libvmi/.libs/libvmi.so: undefined reference to `guestfs_launch'
2012 May 05
1
listing active and defined vs inactive and defined domains
i am trying to list active + defined and inactive + defined domains using libvirt 0.9.4 i can get active domains using: def s_activedomains(conn): #get active domain ids numofdomains=libvirt.virConnect.numOfDomains(conn) activedomains=libvirt.virConnect.listDomainsID(conn) return activedomains i am stuck on how to get inactive domains the example listed
2014 Jun 18
0
Re: ERROR: Domain not found: no domain with matching name 'ubuntu'
At Sun, 15 Jun 2014 11:57:46 -0400, Sanket Panhale wrote: > > I tried running qemu-system-x86_64 -help" command manually. But it seems > that it work normally. Are you sure that you called the right program located in /usr/local/bin? Do that exactly as libvirt did it: $ LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin /usr/local/bin/qemu-system-x86_64