From dbc8d4a8be751066be977999cb8e6bd9d56cd6e6 Mon Sep 17 00:00:00 2001 From: Juergen Lock Date: Tue, 6 Jan 2015 19:47:28 +0000 Subject: - Update emulators/qemu-sbruno to latest github snapshot, fixing the bsd-user targets on 8 and 9. - Switch emulators/qemu-user-static to be slave of emulators/qemu-sbruno. - Update emulators/qemu-devel to latest upstream release 2.2.0, now w/o bsd-user patches and knob again. (Or at least until the patches are merged upstream...) [1] - Add appropriate CONFLICTS to emulators/qemu too and bump its PORTREVISION. Suggested by: andrew [1] (for the benefit of testing aarch64 guests) --- emulators/qemu-devel/files/pcap-patch | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'emulators/qemu-devel/files/pcap-patch') diff --git a/emulators/qemu-devel/files/pcap-patch b/emulators/qemu-devel/files/pcap-patch index 497827e6037c..d22c8aa2b003 100644 --- a/emulators/qemu-devel/files/pcap-patch +++ b/emulators/qemu-devel/files/pcap-patch @@ -1,16 +1,16 @@ --- configure.orig +++ configure -@@ -324,6 +324,9 @@ tpm="no" - libssh2="" +@@ -335,6 +335,9 @@ libssh2="" vhdx="" - quorum="no" + quorum="" + numa="" +pcap="no" +pcap_create="no" +bpf="no" # parse CC options first for opt do -@@ -865,6 +868,10 @@ for opt do +@@ -888,6 +891,10 @@ for opt do ;; --enable-vnc-ws) vnc_ws="yes" ;; @@ -21,7 +21,7 @@ --disable-slirp) slirp="no" ;; --disable-uuid) uuid="no" -@@ -2130,6 +2137,51 @@ EOF +@@ -2216,6 +2223,51 @@ EOF fi ########################################## @@ -73,7 +73,7 @@ # VNC TLS/WS detection if test "$vnc" = "yes" -a \( "$vnc_tls" != "no" -o "$vnc_ws" != "no" \) ; then cat > $TMPC <> $config_host_mak fi @@ -98,10 +98,11 @@ echo "CONFIG_SLIRP=y" >> $config_host_mak echo "CONFIG_SMBD_COMMAND=\"$smbd\"" >> $config_host_mak Index: net/clients.h -@@ -47,6 +47,11 @@ int net_init_tap(const NetClientOptions - int net_init_bridge(const NetClientOptions *opts, const char *name, - NetClientState *peer); +@@ -49,6 +49,12 @@ int net_init_bridge(const NetClientOptio + int net_init_l2tpv3(const NetClientOptions *opts, const char *name, + NetClientState *peer); ++ +#ifdef CONFIG_PCAP +int net_init_pcap(const NetClientOptions *opts, const char *name, + NetClientState *peer); @@ -357,7 +358,7 @@ Index: net/net.c --- qapi-schema.json.orig +++ qapi-schema.json -@@ -2622,6 +2622,10 @@ +@@ -2165,6 +2165,10 @@ '*br': 'str', '*helper': 'str' } } @@ -368,21 +369,21 @@ Index: net/net.c ## # @NetdevHubPortOptions # -@@ -2648,6 +2652,7 @@ - 'nic': 'NetLegacyNicOptions', +@@ -2232,6 +2236,7 @@ 'user': 'NetdevUserOptions', 'tap': 'NetdevTapOptions', + 'l2tpv3': 'NetdevL2TPv3Options', + 'pcap': 'NetdevPcapOptions', 'socket': 'NetdevSocketOptions', 'vde': 'NetdevVdeOptions', 'dump': 'NetdevDumpOptions', --- net/hub.c.orig +++ net/hub.c -@@ -322,6 +322,7 @@ void net_hub_check_clients(void) - case NET_CLIENT_OPTIONS_KIND_TAP: - case NET_CLIENT_OPTIONS_KIND_SOCKET: - case NET_CLIENT_OPTIONS_KIND_VDE: +@@ -325,6 +325,7 @@ void net_hub_check_clients(void) + case NET_CLIENT_OPTIONS_KIND_VHOST_USER: + case NET_CLIENT_OPTIONS_KIND_PCAP: has_host_dev = 1; break; default: + break; + } -- cgit v1.2.3