Re: [libvirt-users] data monitored by "virDomainBlockStats" API not consistent with ones reading from /proc/[pid]/io, and corrugated with /proc/diskstats

2014-06-25 Thread coperd
On Jun 26, 2014, at 2:50 AM, Eric Blake wrote: > I'm still not clear how you are getting vcpu PID numbers for reading > from /proc; it's not something that libvirt is currently advertising. I thought the VM process’s /proc statistics information is exactly the same as the guest’s behaviour. It

Re: [libvirt-users] data monitored by "virDomainBlockStats" API not consistent with ones reading from /proc/[pid]/io, and corrugated with /proc/diskstats

2014-06-25 Thread Eric Blake
On 06/25/2014 05:11 AM, coperd wrote: [please don't top-post on technical lists] > Command line "virsh domblkstat $vmname vda” get the results below: > vda rd_bytes 639415808 > vda wr_bytes 728186880 > > Command line "cat /proc/4438/io” get the result below: > read_bytes: 77241

Re: [libvirt-users] qemu-bridge-helper issue

2014-06-25 Thread abhishek jain
Hi Laine It was the permission issue for the qemu-bridge-helper and after the correct permission it is now working fine. Thanks a lot for the help ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-us

Re: [libvirt-users] qemu-bridge-helper issue

2014-06-25 Thread Laine Stump
(Please don't top-post. Instead include your responses inline instead. It is much easier to follow the conversation and respond to multiple points that way. On 06/25/2014 04:16 PM, abhishek jain wrote: > HI Laine, > > Looks like we are able to run qemu-bridge-helper and it internally > tries to cr

Re: [libvirt-users] qemu-bridge-helper issue

2014-06-25 Thread abhishek jain
HI Laine, Looks like we are able to run qemu-bridge-helper and it internally tries to create tap interface. While creating this tap interface we are getting Operation not permitted error: * failed to create tun device: Operation not permitted* How we can create tun interface without root user i

Re: [libvirt-users] qemu-bridge-helper issue

2014-06-25 Thread Laine Stump
On 06/25/2014 03:28 PM, abhishek jain wrote: > Hi Laine > > I'm able to run the qemu-bridge-helper but with root authority. > I need to run it with non-root user.How can i do that? The entire point of qemu-bridge-helper is that it can be run by non-privileged users, but once run it has root privil

Re: [libvirt-users] qemu-bridge-helper issue

2014-06-25 Thread abhishek jain
Hi Laine I'm able to run the qemu-bridge-helper but with root authority. I need to run it with non-root user.How can i do that? Thanks On Wed, Jun 25, 2014 at 5:43 PM, Laine Stump wrote: > On 06/25/2014 10:22 AM, abhishek jain wrote: > > Hi > > > > I'm able to run the below command using root

Re: [libvirt-users] qemu-bridge-helper issue

2014-06-25 Thread Laine Stump
On 06/25/2014 10:22 AM, abhishek jain wrote: > Hi > > I'm able to run the below command using root permission > > sudo kvm -netdev bridge,br=qbr0ccdca50-fa,id=hostnet -M ppce500 > Warning: netdev hostnet has no peer > Could not initialize SDL(No available video device) - exiting > > > However

Re: [libvirt-users] Connecting to session instance without socket path is not supported by the ssh connection driver

2014-06-25 Thread Laine Stump
On 06/25/2014 12:13 PM, Theodotos Andreou wrote: > Hi all, > > I have setup some Virtualbox VMs under my normal user session. When I > try to list the vbox machines locally I get: > > $ virsh -c vbox:///session list > IdName State > ---

Re: [libvirt-users] data monitored by "virDomainBlockStats" API not consistent with ones reading from /proc/[pid]/io, and corrugated with /proc/diskstats

2014-06-25 Thread coperd
Just to clarify my problems: For each KVM virtual machine, it is actually a process running on the host. The $pid in "/proc/$pid/io" represents the VM process’s PID. All my work is done on the host, not inside the VMs. Take the VM process’s pid is “pid”, What the /proc/$pid/io records is io stat

[libvirt-users] Connecting to session instance without socket path is not supported by the ssh connection driver

2014-06-25 Thread Theodotos Andreou
Hi all, I have setup some Virtualbox VMs under my normal user session. When I try to list the vbox machines locally I get: $ virsh -c vbox:///session list IdName State 3 Ubuntu-MASS-controller runn

Re: [libvirt-users] [netcf]IFF_RUNNING flag on a bridge device

2014-06-25 Thread Jianwei Hu
OK, thank you. - Original Message - From: "Hendrik Schwartke" To: "Laine Stump" Cc: libvirt-users@redhat.com, "Jianwei Hu" , netcf-de...@lists.fedorahosted.org Sent: Monday, June 23, 2014 7:32:59 PM Subject: Re: [libvirt-users] [netcf]IFF_RUNNING flag on a bridge device On 28.05.2014 1

[libvirt-users] qemu-bridge-helper issue

2014-06-25 Thread abhishek jain
Hi I'm able to run the below command using root permission sudo kvm -netdev bridge,br=qbr0ccdca50-fa,id=hostnet -M ppce500 Warning: netdev hostnet has no peer Could not initialize SDL(No available video device) - exiting However when I'm running the same command without root authority,I'm