qemu 1.6.0: add vde networking support

The VDE (Virtual Distributed Ethernet) networking model is
useful for QEMU, as it allows muliple QEMU instances to connect
to virtual networks. More interesting is that a VDE server such
as vde_switch can connect a VDE network to the host machines
network, letting all QEMU instances on the virtual network
connect over the host's network.

This change adds support for VDE networking in QEMU by
using the vde project.

Closes Homebrew/homebrew#22017.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Branden Archer 2013-08-19 16:13:37 -04:00 committed by Adam Vandenberg
parent bfc23e8aad
commit 5fdc41eaec
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ class Qemu < Formula
depends_on 'gnutls'
depends_on 'glib'
depends_on 'pixman'
depends_on 'vde' => :optional
depends_on 'sdl' => :optional
def install
@ -25,6 +26,7 @@ class Qemu < Formula
--disable-guest-agent
]
args << (build.with?('sdl') ? '--enable-sdl' : '--disable-sdl')
args << (build.with?('vde') ? '--enable-vde' : '--disable-vde')
ENV['LIBTOOL'] = 'glibtool'
system "./configure", *args
system "make install"