Statistics
| Branch: | Revision:

root @ cda9046b

Name Size
  audio
  block
  bsd-user
  darwin-user
  fpu
  gdb-xml
  hw
  linux-user
  pc-bios
  slirp
  target-alpha
  target-arm
  target-cris
  target-i386
  target-m68k
  target-microblaze
  target-mips
  target-ppc
  target-sh4
  target-sparc
  tcg
  tests
.gitignore 435 Bytes
CODING_STYLE 2.7 kB
COPYING 17.6 kB
COPYING.LIB 25.8 kB
Changelog 18.5 kB
LICENSE 637 Bytes
MAINTAINERS 2.3 kB
Makefile 11.5 kB
Makefile.hw 798 Bytes
Makefile.target 17.9 kB
README 59 Bytes
TODO 1.1 kB
VERSION 8 Bytes
a.out.h 13.6 kB
acl.c 4.4 kB
acl.h 2.1 kB
aes.c 59.7 kB
aes.h 717 Bytes
aio.c 4.9 kB
alpha-dis.c 80.5 kB
alpha.ld 4 kB
arm-dis.c 156.7 kB
arm-semi.c 14.2 kB
arm.ld 4.8 kB
balloon.h 537 Bytes
block.c 42.9 kB
block.h 7.1 kB
block_int.h 6.8 kB
bswap.h 4.7 kB
bt-host.c 5.4 kB
bt-host.h 123 Bytes
bt-vhci.c 4.6 kB
buffered_file.c 6 kB
buffered_file.h 916 Bytes
cache-utils.c 1.6 kB
cache-utils.h 1.1 kB
cmd.c 10.6 kB
cmd.h 2.2 kB
cocoa.m 36.4 kB
configure 58 kB
console.c 44.4 kB
console.h 9.8 kB
cpu-all.h 25.8 kB
cpu-common.h 3.7 kB
cpu-defs.h 8.6 kB
cpu-exec.c 54.4 kB
cris-dis.c 80.4 kB
curses.c 9.8 kB
curses_keys.h 12.4 kB
cutils.c 4.3 kB
d3des.c 15 kB
d3des.h 1.6 kB
def-helper.h 6.6 kB
device_tree.c 2.6 kB
device_tree.h 942 Bytes
dis-asm.h 18.5 kB
disas.c 10.9 kB
disas.h 1.1 kB
dma-helpers.c 4.7 kB
dma.h 1.1 kB
dyngen-exec.h 3.6 kB
elf.h 42.1 kB
elf_ops.h 7.9 kB
exec-all.h 13.1 kB
exec.c 112.2 kB
feature_to_c.sh 2.2 kB
gdbstub.c 60.7 kB
gdbstub.h 1.1 kB
gen-icount.h 1.5 kB
host-utils.c 2.8 kB
host-utils.h 5.5 kB
hostregs_helper.h 1.8 kB
hpet.h 618 Bytes
hppa-dis.c 100.4 kB
hppa.ld 8.1 kB
hxtool 716 Bytes
i386-dis.c 159.2 kB
i386.ld 4.6 kB
ia64.ld 8.4 kB
keymaps.c 5.3 kB
keymaps.h 2 kB
kqemu.c 27.9 kB
kqemu.h 5.3 kB
kvm-all.c 26.2 kB
kvm.h 3.8 kB
libfdt_env.h 1.2 kB
loader.c 13.5 kB
m68k-dis.c 211.9 kB
m68k-semi.c 12.3 kB
m68k.ld 5.9 kB
microblaze-dis.c 40 kB
migration-exec.c 3.2 kB
migration-tcp.c 4.7 kB
migration.c 6.9 kB
migration.h 2.4 kB
mips-dis.c 204.8 kB
mips.ld 8.5 kB
mipsel.ld 8.5 kB
module.c 1.3 kB
module.h 1.1 kB
monitor.c 82.4 kB
monitor.h 846 Bytes
nbd.c 14 kB
nbd.h 1.9 kB
net-checksum.c 2.2 kB
net.c 63.4 kB
net.h 4.6 kB
osdep.c 8.4 kB
osdep.h 2 kB
pci-ids.txt 883 Bytes
posix-aio-compat.c 10.1 kB
posix-aio-compat.h 1.6 kB
ppc-dis.c 237.2 kB
ppc.ld 8.6 kB
ppc64.ld 8.2 kB
qemu-aio.h 1.4 kB
qemu-binfmt-conf.sh 4 kB
qemu-char.c 56.2 kB
qemu-char.h 3.3 kB
qemu-common.h 6.4 kB
qemu-doc.texi 65.9 kB
qemu-img-cmds.hx 1.5 kB
qemu-img.c 29.6 kB
qemu-img.texi 5.2 kB
qemu-io.c 22.3 kB
qemu-lock.h 6 kB
qemu-log.h 2.1 kB
qemu-malloc.c 2.2 kB
qemu-monitor.hx 17.5 kB
qemu-nbd.c 13 kB
qemu-nbd.texi 1.5 kB
qemu-option.c 9.8 kB
qemu-option.h 2.4 kB
qemu-options.hx 52.7 kB
qemu-sockets.c 12 kB
qemu-tech.texi 22.1 kB
qemu-thread.c 3.3 kB
qemu-thread.h 1.1 kB
qemu-timer.h 1.6 kB
qemu-tool.c 1.4 kB
qemu.sasl 1.3 kB
qemu_socket.h 1.3 kB
readline.c 12.8 kB
readline.h 1.5 kB
rules.mak 598 Bytes
s390-dis.c 90.4 kB
s390.ld 7 kB
savevm.c 32.2 kB
sdl.c 24.9 kB
sdl_keysym.h 8.5 kB
sh4-dis.c 83.2 kB
softmmu-semi.h 2 kB
softmmu_defs.h 1.1 kB
softmmu_exec.h 2.7 kB
softmmu_header.h 9.5 kB
softmmu_template.h 12.1 kB
sparc-dis.c 171 kB
sparc.ld 4.3 kB
sparc64.ld 4.6 kB
sys-queue.h 16.8 kB
sysemu.h 7.6 kB
tap-win32.c 20.2 kB
targphys.h 720 Bytes
texi2pod.pl 12 kB
thunk.c 8.2 kB
thunk.h 4.2 kB
tool-osdep.c 142 Bytes
translate-all.c 5.1 kB
uboot_image.h 6 kB
usb-bsd.c 16.9 kB
usb-linux.c 44.1 kB
usb-stub.c 1.8 kB
vgafont.h 93.3 kB
vl.c 157.7 kB
vnc-auth-sasl.c 19.1 kB
vnc-auth-sasl.h 2.3 kB
vnc-auth-vencrypt.c 5.6 kB
vnc-auth-vencrypt.h 1.4 kB
vnc-tls.c 14 kB
vnc-tls.h 2.2 kB
vnc.c 67 kB
vnc.h 9.5 kB
vnc_keysym.h 11.1 kB
vnchextile.h 4.5 kB
x86_64.ld 6.5 kB
x_keymap.c 5.9 kB
x_keymap.h 1.3 kB

Latest revisions

# Date Author Comment
0aa7a205 06/09/2009 01:38 pm Jan Kiszka

net: Real fix for check_params users

OK, last try: 8e4416af45 broke -net socket, ffad4116b9 tried to fix it
but broke error reporting of invalid parameters. So this patch widely
reverts ffad4116b9 again and intead fixes those callers of check_params
that originally suffered from overwritten buffers by using separate...

c8decae2 06/09/2009 01:38 pm Mark McLoughlin

net: fix error reporting for some net parameter checks

A small bit of confusion between buffers is causing errors like:

qemu: invalid parameter '10' in 'script=/etc/qemu-ifup,fd=10'

instead of:

qemu: invalid parameter 'script' in 'script=/etc/qemu-ifup,fd=10'...
10ae5a7a 06/09/2009 01:38 pm Jan Kiszka

net: Improve parameter error reporting

As host network devices can also be instantiated via the monitor, errors
should then be reported to the related monitor instead of stderr. This
requires larger refactoring, so this patch starts small with introducing...

b8e8af38 06/09/2009 01:38 pm Jan Kiszka

slirp: Reorder initialization

This patch reorders the initialization of slirp itself as well as its
associated features smb and redirection. So far the first reference to
slirp triggered the initialization, independent of the actual -net user
option which may carry additional parameters. Now we save any request to...

5a6d8815 06/09/2009 01:38 pm Mark McLoughlin

net: factor tap_read_packet() out of tap_send()

Move portability clutter out into its own function.

Signed-off-by: Mark McLoughlin <>

5b01e886 06/09/2009 01:38 pm Mark McLoughlin

net: move the tap buffer into TAPState

KVM uses a 64k buffer for reading from tapfd (for GSO support)
and allocates the buffer with TAPState rather than on the stack.

Not allocating it on the stack probably makes sense for qemu
anyway, so merge it in advance of GSO support....

2e1e0641 06/09/2009 01:38 pm Mark McLoughlin

net: vlan clients with no fd_can_read() can always receive

If a vlan client has no fd_can_read(), that means it can
always receive packets. The current code assumes it can never
receive packets.

Signed-off-by: Mark McLoughlin <>

3471b757 06/09/2009 01:38 pm Mark McLoughlin

net: only read from tapfd when we can send

Reduce the number of packets dropped under heavy network
traffic by only reading a packet from the tapfd when a
client can actually handle it.

Signed-off-by: Mark McLoughlin <>

463af534 06/09/2009 01:38 pm Mark McLoughlin

net: add fd_readv() handler to qemu_new_vlan_client() args

This, apparently, is the style we prefer - all VLANClientState
should be an argument to qemu_new_vlan_client().

Signed-off-by: Mark McLoughlin <>

cda9046b 06/09/2009 01:38 pm Mark McLoughlin

net: re-name vc->fd_read() to vc->receive()

VLANClientState's fd_read() handler doesn't read from file
descriptors, it adds a buffer to the client's receive queue.

Re-name the handlers to make things a little less confusing.

Signed-off-by: Mark McLoughlin <>

View all revisions | View revisions

Also available in: Atom