search for: m01z04

Displaying 13 results from an estimated 13 matches for "m01z04".

Did you mean: 0104
2012 May 04
1
maxvcpu
hi, i am trying to find out the max vcpus supported for any domain by my hypervisor, however i am having some trouble with the below: vcpu=5 maxvcpus=libvirt.virConnect.getMaxVcpus(conn,'kqemu') if maxvcpus <= vcpu: logging.debug('checkmaxvcpus: max vcpus on hypervisor %i is less than requested vcpu of %i' % (maxvcpus, vcpu)) return 0 else: return 1
2012 May 05
1
printing domain information
how do i print the features of a domain from functions that return a domain object? for instance mydomain =?virdomain=libvirt.virConnect.lookupByID(conn,domainid) so mydomain is?virDomainPtr, which is?typedef virDomain * virDomainPtr i am not sure on how to print the domain object features in python, such as name, disk size, etc
2012 May 09
3
creating a domain
hi, i am a bit confused on how to start an inactive domain using the python bindings, any help would be appreciated. (inactive as in the domain was created with?virConnect.defineXML sometime in the past) looks like i have to use virDomain.create, however virDomain.create needs a defined domain xmldesc as a parameter and i am not sure on how to get that i guess if?virConnect.create was
2012 Apr 20
2
Error on running libvirt (dnsmasq)
Hi, I am running libvirt on RHEL 6.2 and getting this below error when I start the daemon: /usr/sbin/libvirtd --verbose 2012-04-20 06:00:13.366+0000: 26900: info : libvirt version: 0.9.11 2012-04-20 06:00:13.366+0000: 26900: error : virExecWithHook:424 : Cannot find 'dnsmasq' in path: No such file or directory 2012-04-20 06:00:13.405+0000: 26900: warning : ebiptablesDriverInit:4066 :
2012 May 08
2
creation of storage volume fails
hi, i am getting this error below when i try to create a storage volume: ? ? libvirt.virStoragePool.CreateXML(storagepoolobject,xmldesc,0) AttributeError: class virStoragePool has no attribute 'CreateXML' my code is: xmldesc="xml description of storage volume which i got from sudo virsh vol-dumpxml" #get a storage pool object to use in creating a volume
2012 Apr 20
0
Using Sys::Virt with Libvirt
Anyone using Sys::Virt CPAN Perl Module with Libvirt? I am unable to install Sys::Virt using cpan, Sys::Virt cannot find Libvirt, even though I have it installed. I tried setting LD_LIBRARY_PATH and also PKG_CONFIG_PATH to point to Libvirt, and in both case Sys::Virt was not able to find Libvirt. During installation Sys::Virt times out with : Sys-Virt-0.9.4/INSTALL CPAN: File::Temp loaded ok
2012 May 02
2
Python Libvirt Bindings
Hi, Can anyone please share sample Python code for using qemu+tcp with SASL or qemu+tls with SASL? (i.e., connecting to a hypervisor using qemu+tls or qemu+tcp when a username/password using SASL has been defined on the hypervisor) I am having some trouble figuring out how to use callbacks for authenticating from with my Python program. I assume I will have to
2012 May 04
1
free memory on hypervisor
i am trying to get the free memory on a hypervisor using libvert, with the python api bindings as per?http://libvirt.org/python.html, it should be pretty easy, however the below is failing: #conn is a connection object freemem=libvirt.virNode.getFreeMemory(conn) although this works fine: software=libvirt.virConnect.getType(conn) if software == ?'QEMU': logging.debug('hypervisor is
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
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
2012 May 07
1
libvirt python api for storage-volumes and storage-pools
hi, how do i list storage pools and volumes using the python bindings? basically the python api calls for?virsh pool-list and virsh vol-list thanks
2012 Apr 19
1
Building an RPM
Hi, I have downloaded libvirt-0.9.11 and compiled it on my RHEL 6.2 system. I am trying to build a binary RPM for distribution, I am not sure what the best way to go about doing this is. http://libvirt.org/FAQ.html suggests that I try 'make rpm', however that ends in the below error: missing XHTML1 DTD cp: cannot stat `./api.html': No such file or directory make[2]: *** [distdir]
2012 May 09
2
serial console
hi, when creating a domain using libvirt python api, how would i tell libvirt to use a unique serial port number for domains? in the?libvirt.virConnect.defineXML(conn,domainxml) call when i create the domainxml object, i need to ensure that the part below has a unique # for target port <serial type='pty'> ? <target port='0'/> </serial> <console