aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorCorey Bryant <coreyb@linux.vnet.ibm.com>2012-07-12 09:24:31 -0400
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-08-01 12:28:51 +0100
commit34309d2b12bf379814b1635850bf1ed3557337d7 (patch)
treeb711bd7d2850e7f5687809b16489f77adfd4f82e /net.c
parent0b22ef0f57a8910d849602bef0940edcd0553d2c (diff)
downloadqemu-34309d2b12bf379814b1635850bf1ed3557337d7.zip
qemu-34309d2b12bf379814b1635850bf1ed3557337d7.tar.gz
qemu-34309d2b12bf379814b1635850bf1ed3557337d7.tar.bz2
net: Add interface to bridge when SIOCBRADDIF isn't available
The bridge helper uses the SIOCBRADDIF ioctl to add an inteface to a bridge. SIOCBRADDIF is not available on old Linux versions. This patch adds support to use the SIOCDEVPRIVATE ioctl with BRCTL_ADD_IF if SIOCBRADDIF is not available. Reported-by: Fabien Chouteau <chouteau@adacore.com> Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'net.c')
0 files changed, 0 insertions, 0 deletions