Statistics
| Branch: | Revision:

root / net @ d9840e25

Name Size
Makefile.objs 479 Bytes
checksum.c 3 kB
clients.h 2.1 kB
dump.c 4.7 kB
eth.c 6.1 kB
hub.c 8.2 kB
hub.h 647 Bytes
net.c 31.3 kB
queue.c 7.8 kB
slirp.c 22 kB
socket.c 21.2 kB
tap-aix.c 1.9 kB
tap-bsd.c 4.1 kB
tap-haiku.c 1.9 kB
tap-linux.c 7.5 kB
tap-linux.h 1.7 kB
tap-solaris.c 6.4 kB
tap-win32.c 21.5 kB
tap.c 23.1 kB
tap_int.h 1.9 kB
util.c 1.9 kB
util.h 1.3 kB
vde.c 3.5 kB

Latest revisions

# Date Author Comment
bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

Signed-off-by: Alex Bligh <>...

6a1751b7 08/22/2013 08:10 pm Alex Bligh

aio / timers: Untangle include files

include/qemu/timer.h has no need to include main-loop.h and
doing so causes an issue for the next patch. Unfortunately
various files assume including timers.h will pull in main-loop.h.
Untangle this mess.

Signed-off-by: Alex Bligh <>...

dfc6f865 07/27/2013 10:22 am Stefan Weil

misc: Use g_assert_not_reached for code which is expected to be unreachable

The macro g_assert_not_reached is a better self documenting replacement
for assert(0) or assert(false).

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael Tokarev <>

b1be4280 07/15/2013 09:23 pm Amos Kong

net: add support of mac-programming over macvtap in QEMU side

Currently macvtap based macvlan device is working in promiscuous
mode, we want to implement mac-programming over macvtap through
Libvirt for better performance.

Design:
QEMU notifies Libvirt when rx-filter config is changed in guest,...

68756ba8 06/19/2013 01:44 pm Bas van Sisseren

fix -net user checks by reordering checks

reorder slirp config options. first check the dns-server-address,
then check the first-dhcp-address. the original code was comparing
the first-dhcp-address with the default dns-server-address, not
the configured dns-server-address....

c87826a8 06/07/2013 04:48 pm Jason Wang

tap: fix NULL dereference when passing invalid parameters to tap

This patch forbid the following invalid parameters to tap:

1) fd and vhostfds were specified but vhostfd were not specified
2) vhostfds were specified but fds were not specified
3) fds and vhostfd were specified...

d73fe37e 05/24/2013 05:33 pm Alasdair McLeay

net: support for bridged networking on Mac OS X

tun tap can be implemented on Mac OS X using
http://tuntaposx.sourceforge.net

It behaves in the same way as FreeBSD/OpenBSD implementations, but Qemu
needs a patch to use the OpenBS/FreeBSD code.

As per the patch listed in this forum thread:...

c963530a 05/03/2013 02:53 pm Amos Kong

net: make network client name unique

assign_name() creates a name MODEL.NUM, where MODEL is the client's model,
and NUM is the number of MODELs that already exist.

Markus added NIC naming for non-VLAN clients in commit 53e51d85.
commit d33d93b2 incorrectly added a judgement of net-hub. It caused...

7873df40 05/03/2013 02:53 pm Jason Wang

tap: properly initialize vhostfds

Only tap->vhostfd were checked net_init_tap_one(), but tap->vhostfds were
forgot, this will lead qemu to ignore all fds passed by management through
vhostfds, and tries to create vhost_net device itself. Fix by adding this check...

dccfcd0e 04/15/2013 07:19 pm Paolo Bonzini

sysemu: avoid proliferation of include/ subdirectories

Signed-off-by: Paolo Bonzini <>

View revisions

Also available in: Atom