Re: [libvirt-users] Libvirt API for C/C++ : Monitoring Support

2012-01-12 Thread Eric Blake
On 01/12/2012 12:04 AM, pratik.pa...@snstech.com wrote: > > Greetings, > > I am a developer, trying to develop a system for monitoring Servers and > Virtual Machines using Libvirt API for C/C++. I am facing an issue that there > are no functions for monitoring some parameters which I have list

[libvirt-users] LXC with RHEL 6.1

2012-01-12 Thread John Paul Walters
I'm trying to start a RHEL 6.1 container on an RHEL 6.1 host through libvirt 0.9.3. I've removed most of the startup services from the guest container, except the network and sshd. I can get the system to boot to a login prompt and can access the console through virsh; however, as soon as I au

[libvirt-users] When IPv6 is disabled, libvirtd cannot start on boot

2012-01-12 Thread Lei Yang
Hi all, When IPv6 is disabled in modprobed.conf through: > options ipv6 disable=1 libvirtd cannot start on boot, it produces the following debug message: > libvirtd: 1545: error : virCommandWait:2192 : internal error Child process > (/bin/sh -c IPT=/usr/sbin/ip6tables > cmd='$IPT -n -L FORWARD

Re: [libvirt-users] virt-install Error

2012-01-12 Thread Lei Yang
I executed virt-install which confirmed my guess: virt-install which is used by virt-manager cannot detect kvm. Note that I am on Arch Linux so my error message is not exactly the same as you $ virt-install WARNING KVM acceleration not available, using 'qemu' ERROR --name is required --ram

Re: [libvirt-users] virt-install Error

2012-01-12 Thread kendennit
I did not start any VM. My intention is to check the virt-install command to make sure all packages and tools are in place. So basically, I expect the below output [root@localhost Packages]# virt-install ERROR --name is required --ram amount in MB is required --disk storage must be specified (over

Re: [libvirt-users] virt-install Error

2012-01-12 Thread Nitin Nikam
Hi David, Thanks for the response. I've already cross checked my BIOS setting and virtualization is enabled. the output of cat /proc/cpuinfo shows vmx flag, but it doesn't show smx flag. Is that has something to do with my issue? Thanks, kenden On Thu, Jan 12, 2012 at 8:23 PM, David M. Barlieb

Re: [libvirt-users] virt-install Error

2012-01-12 Thread Lei Yang
I have a similar issue on Arch Linux. After connect to the hypervisor, virt-manager will report there is no hardware virtualization(i.e. kvm) detected. Howerver, after manually change the xml file from `type=qemu` to `type=kvm` and start the guest OS, virt-manager will correct display the "kvm

[libvirt-users] libvirt + qemu-system-arm

2012-01-12 Thread Алексей Беляев
Greetings. Is it possible to run virtual machines for arm architecture under libvirt? I run my machines with qemu-system-arm and i try to make XML file for them, but receive errors. In this manual "How To: Running Fedora-ARM under QEMU" ( http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu#

Re: [libvirt-users] virt-install Error

2012-01-12 Thread David M. Barlieb
I had a similar issue on my rhel6.1 host, I had to enable virtualization in the system bios. From: libvirt-users-boun...@redhat.com [mailto:libvirt-users-boun...@redhat.com] On Behalf Of Nitin Nikam Sent: Thursday, January 12, 2012 9:46 AM To: libvirt-users@redhat.com Subject: [libvirt-users] v

[libvirt-users] virt-install Error

2012-01-12 Thread Nitin Nikam
Hi All, I'm trying to install a VM on host OS (Redhat 6.1, KVM hypervisor). I've installed all the required RPMs for KVM and libvirt tools. Here is the list of libvirt RPMs and KVM modules *kvm.ko kvm-intel.ko libvirt-0.8.7-18.el6.x86_64.rpm libvirt-java-devel-0.4.7-1.el6.noarch.rpm virt-top

[libvirt-users] Libvirt API for C/C++ : Monitoring Support

2012-01-12 Thread pratik . patel
Greetings, I am a developer, trying to develop a system for monitoring Servers and Virtual Machines using Libvirt API for C/C++. I am facing an issue that there are no functions for monitoring some parameters which I have listed below. I would like to know if there is any there way I can retri

Re: [libvirt-users] Unable to close open libvirt connections

2012-01-12 Thread Daniel P. Berrange
On Thu, Jan 12, 2012 at 04:58:03PM +0530, Jatin Kumar wrote: > Thanks, setting dom=None solved the problem. But that needs to make alot of > changes in the code. Do we have any other alternative ? Well python should garbage collect them when the variables go out of scope. When all 'dom' are garbag

Re: [libvirt-users] Unable to close open libvirt connections

2012-01-12 Thread Jatin Kumar
Thanks, setting dom=None solved the problem. But that needs to make alot of changes in the code. Do we have any other alternative ? -- Jatin On Thu, Jan 12, 2012 at 3:46 PM, Daniel P. Berrange wrote: > On Thu, Jan 12, 2012 at 10:10:47AM +0100, Michal Privoznik wrote: > > On 11.01.2012 19:14, Jat

Re: [libvirt-users] Unable to close open libvirt connections

2012-01-12 Thread Daniel P. Berrange
On Thu, Jan 12, 2012 at 10:10:47AM +0100, Michal Privoznik wrote: > On 11.01.2012 19:14, Jatin Kumar wrote: > > Hello, > > I was getting the following error in syslog: > > libvirtd: 21:19:12.116: 10955: error : qemudDispatchServer:1355 : Too > > many active clients (20), dropping connection from 12

Re: [libvirt-users] Unable to close open libvirt connections

2012-01-12 Thread Michal Privoznik
On 11.01.2012 19:14, Jatin Kumar wrote: > Hello, > I was getting the following error in syslog: > libvirtd: 21:19:12.116: 10955: error : qemudDispatchServer:1355 : Too > many active clients (20), dropping connection from 127.0.0.1;0 > > I investigated a bit and tried the following in a python cons