[libvirt-users] Not able to capture detailed CPU information of the guest machine using Libvirt API.

2011-02-10 Thread arpita k
Hi , I have two KVM guests in ubuntu host machine.I am using Python binding of Libvirt API to query on the hypervisor and capture the CPU , memory related information of the guest machines. I need to capture the detail information regarding CPU like : cpu_aidle, cpu_idle, cpu_speed, cpu_wio and m

[libvirt-users] Start domain with usable QMP connection?

2011-02-10 Thread Bryan D. Payne
Is there any way to get virsh / libvirt to create a domain such that I can later connect to it via QMP (without hacking the code)? The command line that libvirt creates for my current setup looks like this: /usr/local/bin/qemu-system-x86_64 -S -M pc-0.12 -enable-kvm -m 512 -smp 1,sockets=1,cores=

Re: [libvirt-users] [libvirt] configuring network interface

2011-02-10 Thread Laine Stump
On 02/10/2011 09:51 AM, Tanguy ROZIER wrote: OK so he should fix the problem with libvirt to associate a fixed MAC to the interface of the VM : <--this is here : you must *define* the MAC address of your interface As I said in my last mail, if you do not manually de

Re: [libvirt-users] [libvirt] configuring network interface

2011-02-10 Thread Tanguy ROZIER
OK so he should fix the problem with libvirt to associate a fixed MAC to the interface of the VM : <--this is here : you must *define* the MAC address of your interface Tanguy 2011/2/10 Laine Stump : > On 02/10/2011 08:50 AM, Tanguy ROZIER wrote: >> >> Your problem is rel

Re: [libvirt-users] [libvirt] configuring network interface

2011-02-10 Thread Laine Stump
On 02/10/2011 08:50 AM, Tanguy ROZIER wrote: Your problem is related to udev : every reboot of VM, udev in VM checks the MAC address of the ethernet interface of the system to associate it with a static name (eth0, eth1...). If you change the MAC address of the Ethernet interface of your VM, it w

Re: [libvirt-users] [libvirt] configuring network interface

2011-02-10 Thread Tanguy ROZIER
Your problem is related to udev : every reboot of VM, udev in VM checks the MAC address of the ethernet interface of the system to associate it with a static name (eth0, eth1...). If you change the MAC address of the Ethernet interface of your VM, it will detect a new interface and associate it wit

[libvirt-users] How to retrieve Memory stat of the KVM using python binding with Libvirt API

2011-02-10 Thread arpita k
Hi , I am using ubuntu host machine and KVM is present as guest in that machine.Two virtual machines are there.I am using Python binding to query on the hypervisor and extract the VM related information.I like to print memory stat of the VM like SWAP_IN , SWAP_OUT,free memory, mem cached etc.So,