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 getting following logs... kvm -netdev bridge,br=qbr0ccdca50-fa,id=hostnet -M ppce500 failed to create tun device: Operation not permitted failed to launch bridge helper kvm: -netdev bridge,br=qbr0ccdca50-fa,id=hostnet: Device 'bridge' could not be initialized I need to run the above command without root authority.Please help regarding this. Thanks Abhishek Jain
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 when I'm running the same command without root authority,I'm > getting following logs... > > kvm -netdev bridge,br=qbr0ccdca50-fa,id=hostnet -M ppce500 > failed to create tun device: Operation not permitted > failed to launch bridge helper > kvm: -netdev bridge,br=qbr0ccdca50-fa,id=hostnet: Device 'bridge' > could not be initialized > > > I need to run the above command without root authority.Please help > regarding this.Search for qemu-bridge-helper and you should find information about the ACL file that needs to be setup for this to work properly. For example, this has a short description, but doesn't sound like it's intended to be the final authority: http://wiki.qemu.org/Features/HelperNetworking
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 <laine@laine.org> wrote:> 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 when I'm running the same command without root authority,I'm > > getting following logs... > > > > kvm -netdev bridge,br=qbr0ccdca50-fa,id=hostnet -M ppce500 > > failed to create tun device: Operation not permitted > > failed to launch bridge helper > > kvm: -netdev bridge,br=qbr0ccdca50-fa,id=hostnet: Device 'bridge' > > could not be initialized > > > > > > I need to run the above command without root authority.Please help > > regarding this. > > Search for qemu-bridge-helper and you should find information about the > ACL file that needs to be setup for this to work properly. For example, > this has a short description, but doesn't sound like it's intended to be > the final authority: > > http://wiki.qemu.org/Features/HelperNetworking >