Displaying 20 results from an estimated 300 matches similar to: "free memory on hypervisor"
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
2013 Jun 13
3
Haswell 4770 misidentified as Sandy Bridge
Hi,
I'm running libvert on a Debian 7 system. I have upgraded libvert and qemu
from source (v1.06 and 1.5.0 respectively) and the problem persists. The
guest OS is also a Debian 7 system running a non-SMP kernel. The error
message from virt-manager is
Error starting domain: unsupported configuration: guest and host CPU are
not compatible: Host CPU does not provide required features: rtm,
2013 Jul 11
1
Cluster discovery using Libvert
Hello,
I'm beginner user of Libvert. I want to find out the nodes (ESX servers) in
cluster. I'm using following way but unable to get results. I'm not sure
whether I'm using correct command or not. Please help me to achieve the
expected result.
=========================================================
Virsh # connect esx://192.168.10.1/DatacenterC2/Cluster2?no_verify=1
2011 Nov 11
1
diificulty installing or building libvert
I am unable to install or build libvert for RHEL4-64. Due to the errors below. Is it because all the source/rpms are for Fedora? I don't see any redhat versions on the sources page. Thanks in advance for any help.
When running make against the untarred /libvirt-0.9.4.tar.gz configure succeeds but make fails.
make all-am
make[3]: Entering directory
2017 Dec 24
1
Libvirt not terminating SSH processes
Hi LibVirt team,
I am facing an issue with libvert. I am closing a "qemu+ssh" connection but
the initiated ssh process are going into sleep mode and not getting killed
upon closing the connection. Can you please help me figure out the issue ?
--
With Kind Regards
Priyanka Gupta
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 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 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
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
2013 Jun 17
2
Re: Fwd: Haswell 4770 misidentified as Sandy Bridge
On 06/13/2013 10:11 PM, Michael Giardino wrote:
> Hi,
>
> I'm running libvert on a Debian 7 system. I have upgraded libvert and qemu
> from source (v1.06 and 1.5.0 respectively) and the problem persists. The
> guest OS is also a Debian 7 system running a non-SMP kernel. The error
> message from virt-manager is
>
> Error starting domain: unsupported configuration:
2007 Dec 15
0
Processed: retitle 402249 to please include the necessary headers for libvert
Processing commands for control at bugs.debian.org:
> # Automatically generated email from bts, devscripts version 2.10.11
> retitle 402249 please include the necessary headers for libvert
Bug#402249: xen-3.0: please build libxen3.0 and libxen3.0-dev
Changed Bug title to `please include the necessary headers for libvert' from `xen-3.0: please build libxen3.0 and libxen3.0-dev'.
2014 May 22
3
Host OS, Storage Info
Hi,
Is there any way to get host OS information and host Storage in formations
using libvirt API...?
Rgds
-Sijo
2015 Mar 19
2
libvirt-python Segfaults
Hello
I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I
tried installing the binaries from the repo itself:
1.
root@test-vm8-109:/home/test# libvirtd --version
libvirtd (libvirt) 1.2.2
root@test-vm8-109:/home/test# python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or
2015 Mar 20
1
Re: libvirt-python Segfaults
Hi Harish,
I believe the proper establishment of a connection should be done by libvirt.open()
or libvirt.openAuth() or libvirt.openReadOnly(). All of them will return a functional
virConnect instance.
I'm not sure this segfault is worth to fix since instantiate a virConnect directly
is not an expected usage.
Hope this information will help you.
Best Regards,
Hao Liu
+86-010-62608262
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
2013 Apr 25
2
How to tell if a hypervisor connection has died?
Hi,
What's the best way to tell if a virConnect object is not good to use anymore?
(For example because the libvirtd on the other side crashed/has been stopped
or because of some network failure)
When I try this, the first API call I do on a broken connection yields an
error with error number 38 (VIR_ERR_SYSTEM_ERROR) and all subsequent calls
yield an error number 1
2013 Jun 13
0
Fwd: Haswell 4770 misidentified as Sandy Bridge
Hi,
I'm running libvert on a Debian 7 system. I have upgraded libvert and qemu
from source (v1.06 and 1.5.0 respectively) and the problem persists. The
guest OS is also a Debian 7 system running a non-SMP kernel. The error
message from virt-manager is
Error starting domain: unsupported configuration: guest and host CPU are
not compatible: Host CPU does not provide required features: rtm,
2018 Feb 24
2
Network broke for a while when libvirtd start
When start service libvirtd by
service libvirtd start
the network will broke for a while and then reconnected. Following is /var/log/messages:
Feb 24 13:28:51 node-0 kernel: lo: Dropping TSO features since no CSUM feature.
Feb 24 13:28:51 node-0 kernel: lo: Disabled Privacy Extensions
Feb 24 13:28:51 node-0 kernel: virbr0: Dropping TSO features since no CSUM feature.
Feb 24 13:28:51 node-0
2014 May 22
0
Re: [libvirt] Host OS, Storage Info
On Thu, May 22, 2014 at 12:16:17PM +0530, Sijo Jose wrote:
>Hi,
>Is there any way to get host OS information and host Storage in formations
>using libvirt API...?
>Rgds
>-Sijo
Check virsh help (most of the commands you probably want start with
'node' or 'vol'/'pool') or have a look at our hvsupport page [1] for
virNode* and virStorage* functions.
If this
2013 Dec 22
2
Re: Connect libvirt to iSCSI target
On 2013–12–21 John Ferlan wrote:
> On 12/17/2013 07:13 PM, Marco wrote:
> > Hi!
> >
> > I'm new to libvirt and face problems connecting to an iSCSI target.
> > What I intend to do is to connect libvirt (I tried virt-manager and
> > virsh) to an iSCSI target and then boot from the LUNs which contain
> > the VMs.
> >
> > I followed the