diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2019-04-18 23:06:43 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2019-04-18 23:06:43 +0000 |
| commit | 6faf908c6ef3fb7ee325fd2ffd1cba950e644a62 (patch) | |
| tree | 1940c0306bfebc2b59c139bc25a3bc55c28f23aa /emulators/qemu2/files/pcap-patch | |
| parent | Upgrade to 12 to make it fetchable again. (diff) | |
[NEW] emulators/qemu2: 2.X version of emulators/qemu
- Remove GNS3 OPTION
- Update dependency to gtk30 and sdl20
- Limit PORTSCOUT to 2.X verrsion only
Diffstat (limited to 'emulators/qemu2/files/pcap-patch')
| -rw-r--r-- | emulators/qemu2/files/pcap-patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/emulators/qemu2/files/pcap-patch b/emulators/qemu2/files/pcap-patch new file mode 100644 index 000000000000..39114c65d591 --- /dev/null +++ b/emulators/qemu2/files/pcap-patch @@ -0,0 +1,56 @@ +--- qapi/net.json.orig 2018-04-24 16:30:47 UTC ++++ qapi/net.json +@@ -388,6 +388,19 @@ + '*helper': 'str' } } + + ## ++# @NetdevPcapOptions: ++# ++# Use ifname as a source to capture ++# ++# @ifname: #required to determine which interface to capture ++# ++# Since: 1.2 ++## ++{ 'struct': 'NetdevPcapOptions', ++ 'data': { ++ '*ifname': 'str' } } ++ ++## + # @NetdevHubPortOptions: + # + # Connect two or more net clients through a software hub. +@@ -454,7 +467,7 @@ + ## + { 'enum': 'NetClientDriver', + 'data': [ 'none', 'nic', 'user', 'tap', 'l2tpv3', 'socket', 'vde', +- 'bridge', 'hubport', 'netmap', 'vhost-user' ] } ++ 'bridge', 'hubport', 'netmap', 'vhost-user', 'pcap' ] } + + ## + # @Netdev: +@@ -478,6 +491,7 @@ + 'user': 'NetdevUserOptions', + 'tap': 'NetdevTapOptions', + 'l2tpv3': 'NetdevL2TPv3Options', ++ 'pcap': 'NetdevPcapOptions', + 'socket': 'NetdevSocketOptions', + 'vde': 'NetdevVdeOptions', + 'bridge': 'NetdevBridgeOptions', +@@ -514,7 +528,7 @@ + ## + { 'enum': 'NetLegacyOptionsType', + 'data': ['none', 'nic', 'user', 'tap', 'l2tpv3', 'socket', 'vde', +- 'bridge', 'netmap', 'vhost-user'] } ++ 'bridge', 'netmap', 'vhost-user', 'pcap'] } + + ## + # @NetLegacyOptions: +@@ -532,6 +546,7 @@ + 'user': 'NetdevUserOptions', + 'tap': 'NetdevTapOptions', + 'l2tpv3': 'NetdevL2TPv3Options', ++ 'pcap': 'NetdevPcapOptions', + 'socket': 'NetdevSocketOptions', + 'vde': 'NetdevVdeOptions', + 'bridge': 'NetdevBridgeOptions', |
