Re: [libvirt-users] help:any docs for open vswitch supporting?

2012-04-12 Thread Alex Jia
At present, I can only find this in libvirt upstream: http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/util/virnetdevopenvswitch.c;h=61bb9e1eae1d5f03983e1dd4d67118b24f23a0fe;hb=HEAD It should be a development stage. Regards, Alex - Original Message - From: "Wang Yue" To: "Alex Jia" C

Re: [libvirt-users] help:any docs for open vswitch supporting?

2012-04-12 Thread Wang Yue
thank you, but i think i did not describe my quenstions well.i already knew about OVS,and I want to know what libvirt did to support OVS,are there any new APIs?or something else. after knowing this,I think I will know how to integrate OVS into my system using this libvirt new feature. Thanks, H

[libvirt-users] Console to RHEL6.1 container

2012-04-12 Thread Sukadev Bhattiprolu
We are trying to create RHEL6.1 container and having trouble getting a proper console to the container. I have used lxc containers in the past and lxc has a script (lxc-fedora) to setup a basic Fedora container. Is there something similar or docs with virtmgr ? We started out making a copy of

Re: [libvirt-users] help:any docs for open vswitch supporting?

2012-04-12 Thread Alex Jia
http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=WHY-OVS;hb=HEAD For more information, please see http://openvswitch.org/ then join Open vSwitch Community by subscribing related mail listing such as http://mail.openvswitch.org/mailman/listinfo/discuss Alex - Origin

[libvirt-users] Live migration of instance using KVM hypervisor fails

2012-04-12 Thread Gurjar, Unmesh
Hi, I am trying to migrate a running instance, but it fails with the following error: $ virsh migrate --live instance-0008 qemu+tcp://10.2.3.150/system --verbose error: operation failed: migration job: unexpectedly failed I can see following in the instance specific qemu log directory (/va

Re: [libvirt-users] No way to obtain guest's cpu and mem usage?

2012-04-12 Thread RaSca
Il giorno Gio 12 Apr 2012 10:39:42 CEST, Daniel P. Berrange ha scritto: [...] > Yes, I'd suggest adding it to libvirt-php. > Daniel But wait Daniel, as far as I see, the only info I can obtain from virDomainGetInfo are: unsigned char state : the running state, one of virDomainState unsigned l

Re: [libvirt-users] No way to obtain guest's cpu and mem usage?

2012-04-12 Thread RaSca
Il giorno Gio 12 Apr 2012 11:11:29 CEST, Daniel P. Berrange ha scritto: [...] > Err, yes they are the live stats. 'memory' shows the current memory > consumed by the VM, while 'cpuTime' shows the absolute CPU time > consumed since boot. To get % CPU time, take two readings 'n' seconds > apart and c

Re: [libvirt-users] No way to obtain guest's cpu and mem usage?

2012-04-12 Thread RaSca
Il giorno Gio 12 Apr 2012 11:08:09 CEST, Michal Privoznik ha scritto: [...] > This takes into account memory used by hypervisor itself. > Either you need to extend libvirt-php; or you can do: > $stats = exec("virsh dommemstat $dom"); > However, I lean towards libvirt-php extension. > Michal Hi Mic

Re: [libvirt-users] No way to obtain guest's cpu and mem usage?

2012-04-12 Thread Daniel P. Berrange
On Thu, Apr 12, 2012 at 10:48:05AM +0200, RaSca wrote: > Il giorno Gio 12 Apr 2012 10:39:42 CEST, Daniel P. Berrange ha scritto: > [...] > > Yes, I'd suggest adding it to libvirt-php. > > Daniel > > But wait Daniel, > as far as I see, the only info I can obtain from virDomainGetInfo are: > > unsi

Re: [libvirt-users] No way to obtain guest's cpu and mem usage?

2012-04-12 Thread Michal Privoznik
On 12.04.2012 09:21, RaSca wrote: > Hi everybody, > I'm using the PHP API to make a web interface interact with the virtual > machines installed on some hypervisor. > Everything is fine, but I would like to find a way to get the guest's > cpu and mem usage, so that it should be possible to make som

Re: [libvirt-users] No way to obtain guest's cpu and mem usage?

2012-04-12 Thread Daniel P. Berrange
On Thu, Apr 12, 2012 at 10:33:41AM +0200, RaSca wrote: > Il giorno Gio 12 Apr 2012 10:30:04 CEST, Daniel P. Berrange ha scritto: > > On Thu, Apr 12, 2012 at 09:21:18AM +0200, RaSca wrote: > [...] > > virt-top mostly uses the virDomainGetInfo() API to get this data. > > Regards, > > Daniel > > Tha

Re: [libvirt-users] No way to obtain guest's cpu and mem usage?

2012-04-12 Thread RaSca
Il giorno Gio 12 Apr 2012 10:30:04 CEST, Daniel P. Berrange ha scritto: > On Thu, Apr 12, 2012 at 09:21:18AM +0200, RaSca wrote: [...] > virt-top mostly uses the virDomainGetInfo() API to get this data. > Regards, > Daniel Thanks Daniel, since there's no such function in the php api, can you plea

Re: [libvirt-users] No way to obtain guest's cpu and mem usage?

2012-04-12 Thread Daniel P. Berrange
On Thu, Apr 12, 2012 at 09:21:18AM +0200, RaSca wrote: > Hi everybody, > I'm using the PHP API to make a web interface interact with the virtual > machines installed on some hypervisor. > Everything is fine, but I would like to find a way to get the guest's > cpu and mem usage, so that it should be

[libvirt-users] help:any docs for open vswitch supporting?

2012-04-12 Thread yue wang
hi everybody, i saw the new feature: network: support Open vSwitch. how to use this feature? are there any documents about that? i didn't find it on the website. Thanks, Heuye ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.co

[libvirt-users] No way to obtain guest's cpu and mem usage?

2012-04-12 Thread RaSca
Hi everybody, I'm using the PHP API to make a web interface interact with the virtual machines installed on some hypervisor. Everything is fine, but I would like to find a way to get the guest's cpu and mem usage, so that it should be possible to make some rrd graphs. I didn't find out anything and

[libvirt-users] Can I get all esx servers by virsh connecting vcenter?

2012-04-12 Thread li_fuqiong
To Whom may be concerned: I connect a vCenter by vpx://example-vcenter.com/dc1/srv1 , but how I get all esx servers managed by this vCenter? Thank you. Mark___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listi