To use -net nic -net tap (bridging) with qemu as a user I had to also:
chgrp kvm /sbin/ip /usr/sbin/brctl /usr/bin/qemu-system-x86_64
setcap cap_net_admin=eip /usr/sbin/brctl
setcap cap_net_admin=eip /usr/bin/qemu-system-x86_64
setcap cap_net_admin=eip /sbin/ip
This requires libcap. I don't use pam.
I could not get bridging working with dhcpcd (in the host), it kept
timing out. I had to use a static ip address as in the example in the
book. dhcpcd works fine in the VM.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page