Lines 1-9
Link Here
|
1 |
--- configure.orig |
1 |
--- configure.orig |
2 |
+++ configure |
2 |
+++ configure |
3 |
@@ -335,6 +335,9 @@ libssh2="" |
3 |
@@ -338,6 +338,9 @@ libssh2="" |
4 |
vhdx="" |
4 |
vhdx="" |
5 |
quorum="" |
|
|
6 |
numa="" |
5 |
numa="" |
|
|
6 |
tcmalloc="no" |
7 |
+pcap="no" |
7 |
+pcap="no" |
8 |
+pcap_create="no" |
8 |
+pcap_create="no" |
9 |
+bpf="no" |
9 |
+bpf="no" |
Lines 10-18
Link Here
|
10 |
|
10 |
|
11 |
# parse CC options first |
11 |
# parse CC options first |
12 |
for opt do |
12 |
for opt do |
13 |
@@ -888,6 +891,10 @@ for opt do |
13 |
@@ -896,6 +899,10 @@ for opt do |
14 |
;; |
14 |
;; |
15 |
--enable-vnc-ws) vnc_ws="yes" |
15 |
--enable-vnc-png) vnc_png="yes" |
16 |
;; |
16 |
;; |
17 |
+ --enable-pcap) pcap="yes" |
17 |
+ --enable-pcap) pcap="yes" |
18 |
+ ;; |
18 |
+ ;; |
Lines 21-27
Link Here
|
21 |
--disable-slirp) slirp="no" |
21 |
--disable-slirp) slirp="no" |
22 |
;; |
22 |
;; |
23 |
--disable-uuid) uuid="no" |
23 |
--disable-uuid) uuid="no" |
24 |
@@ -2216,6 +2223,51 @@ EOF |
24 |
@@ -2354,6 +2361,51 @@ EOF |
25 |
fi |
25 |
fi |
26 |
|
26 |
|
27 |
########################################## |
27 |
########################################## |
Lines 71-79
Link Here
|
71 |
+ |
71 |
+ |
72 |
+########################################## |
72 |
+########################################## |
73 |
# VNC TLS/WS detection |
73 |
# VNC TLS/WS detection |
74 |
if test "$vnc" = "yes" -a \( "$vnc_tls" != "no" -o "$vnc_ws" != "no" \) ; then |
74 |
if test "$vnc" = "yes" -a "$vnc_tls" != "no" ; then |
75 |
cat > $TMPC <<EOF |
75 |
cat > $TMPC <<EOF |
76 |
@@ -4286,6 +4338,7 @@ echo "Audio drivers $audio_drv_list" |
76 |
@@ -4515,6 +4567,7 @@ echo "Audio drivers $audio_drv_list" |
77 |
echo "Block whitelist (rw) $block_drv_rw_whitelist" |
77 |
echo "Block whitelist (rw) $block_drv_rw_whitelist" |
78 |
echo "Block whitelist (ro) $block_drv_ro_whitelist" |
78 |
echo "Block whitelist (ro) $block_drv_ro_whitelist" |
79 |
echo "VirtFS support $virtfs" |
79 |
echo "VirtFS support $virtfs" |
Lines 81-87
Link Here
|
81 |
echo "VNC support $vnc" |
81 |
echo "VNC support $vnc" |
82 |
if test "$vnc" = "yes" ; then |
82 |
if test "$vnc" = "yes" ; then |
83 |
echo "VNC TLS support $vnc_tls" |
83 |
echo "VNC TLS support $vnc_tls" |
84 |
@@ -4447,6 +4500,15 @@ fi |
84 |
@@ -4692,6 +4745,15 @@ fi |
85 |
if test "$profiler" = "yes" ; then |
85 |
if test "$profiler" = "yes" ; then |
86 |
echo "CONFIG_PROFILER=y" >> $config_host_mak |
86 |
echo "CONFIG_PROFILER=y" >> $config_host_mak |
87 |
fi |
87 |
fi |
Lines 101-107
Link Here
|
101 |
@@ -49,6 +49,12 @@ int net_init_bridge(const NetClientOptio |
101 |
@@ -49,6 +49,12 @@ int net_init_bridge(const NetClientOptio |
102 |
|
102 |
|
103 |
int net_init_l2tpv3(const NetClientOptions *opts, const char *name, |
103 |
int net_init_l2tpv3(const NetClientOptions *opts, const char *name, |
104 |
NetClientState *peer); |
104 |
NetClientState *peer, Error **errp); |
105 |
+ |
105 |
+ |
106 |
+#ifdef CONFIG_PCAP |
106 |
+#ifdef CONFIG_PCAP |
107 |
+int net_init_pcap(const NetClientOptions *opts, const char *name, |
107 |
+int net_init_pcap(const NetClientOptions *opts, const char *name, |
Lines 110-116
Link Here
|
110 |
+ |
110 |
+ |
111 |
#ifdef CONFIG_VDE |
111 |
#ifdef CONFIG_VDE |
112 |
int net_init_vde(const NetClientOptions *opts, const char *name, |
112 |
int net_init_vde(const NetClientOptions *opts, const char *name, |
113 |
NetClientState *peer); |
113 |
NetClientState *peer, Error **errp); |
114 |
Index: net/net.c |
114 |
Index: net/net.c |
115 |
@@ -40,6 +40,11 @@ |
115 |
@@ -40,6 +40,11 @@ |
116 |
#include "qapi/opts-visitor.h" |
116 |
#include "qapi/opts-visitor.h" |