ports/emulators/qemu-devel/files/gns3-qemu-options.hx.patch
Juergen Lock 85c8cc458d - Add patches and knob (defaulted to off) to support udp networking
and a patch for promiscuous multicast for the emulated e1000 nic,
  both to support using qemu with the (also to be updated)
  emulators/gns3 port.
- Change DIST_SUBDIR to qemu/${PORTVERSION} because PATCHFILES names
  are not versioned.

Requested by:	Benjamin Epitech <mlspirat42@gmail.com>
		(via private email)
Obtained from:	http://code.gns3.net/qemu-patches/
2011-07-13 20:01:41 +00:00

11 lines
554 B
Diff

--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1050,6 +1050,8 @@ DEF("net", HAS_ARG, QEMU_OPTION_net,
" connect the user mode network stack to VLAN 'n', configure its\n"
" DHCP server and enabled optional services\n"
#endif
+ "-net udp[,vlan=n],sport=sport,dport=dport,daddr=host\n"
+ " connect the vlan 'n' to a udp host (for dynamips/pemu/GNS3)\n"
#ifdef _WIN32
"-net tap[,vlan=n][,name=str],ifname=name\n"
" connect the host TAP network interface to VLAN 'n'\n"