diff options
author | Corey Bryant | 2012-01-26 15:42:24 +0100 |
---|---|---|
committer | Anthony Liguori | 2012-02-01 23:24:38 +0100 |
commit | 7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8 (patch) | |
tree | 748cdb705ee503951593ad246f78f4e35211fd6f /configure | |
parent | hw/vmmouse.c: Disable vmmouse after reboot (diff) | |
download | qemu-7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8.tar.gz qemu-7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8.tar.xz qemu-7b93fadf3a38d1ed65ea5536a52efc2772c6e3b8.zip |
Add basic version of bridge helper
This patch adds a helper that can be used to create a tap device attached to
a bridge device. Since this helper is minimal in what it does, it can be
given CAP_NET_ADMIN which allows qemu to avoid running as root while still
satisfying the majority of what users tend to want to do with tap devices.
The way this all works is that qemu launches this helper passing a bridge
name and the name of an inherited file descriptor. The descriptor is one
end of a socketpair() of domain sockets. This domain socket is used to
transmit a file descriptor of the opened tap device from the helper to qemu.
The helper can then exit and let qemu use the tap device.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Richa Marwaha <rmarwah@linux.vnet.ibm.com>
Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2910,6 +2910,7 @@ echo "datadir=$datadir" >> $config_host_mak echo "sysconfdir=$sysconfdir" >> $config_host_mak echo "docdir=$docdir" >> $config_host_mak echo "confdir=$confdir" >> $config_host_mak +echo "libexecdir=\${prefix}/libexec" >> $config_host_mak echo "ARCH=$ARCH" >> $config_host_mak if test "$debug_tcg" = "yes" ; then |