Red Hat Bugzilla – Bug 237055
qemu can't generate the tap device with recent kernels
Last modified: 2008-06-11 06:10:13 EDT
Description of problem:
With kernels >= 2.6.18, creation of the tap device requires CAP_NET_ADMIN
capability. As a result, qemu can't create the tap device.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
One workaround is to use tunctl from the User Mode Linux uml_utils available via
http://user-mode-linux.sourceforge.net/dl-sf.html. The Copyright statement in
the spec file needs to be changed to License. After that, an rpmbuild generates
an rpm. It would be nice to have that in extras.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
QEMU requires root to create TAP devices. This is expected behaviour.
Use VDE or one of the non-TAP based networking options if running as non-root