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 pyth
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
i figured out the problem, code logic, i switched to type 'kvm', and changed my
test and now i get 64 which is cool
- Original Message -
From: John Wayne
To: "libvirt-users@redhat.com"
Cc:
Sent: Friday, May 4, 2012 10:01 AM
Subject: maxvcpu
hi,
i am trying to find out the max vcpus
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
Hi there,
We are currently using OpenStack with the libvirt driver (libvirt
version: 0.9.11.3) and LXC containers. We are observing a really bad
CPU usage of libvirt_lxc processes:
PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND
28828 root 20 0 40852 1376 832 R
Hi,
We are using Openstack and Libvirt/LXC as our virtualization endpoint.
Here is an example of one of our libvirt domain:
http://paste.debian.net/167276/
So we have 4.
But the command : root@PAR-SRV-02-MASTER:/etc/libvirt/lxc# virsh
--connect lxc:/// dominfo instance-004a
Id: