Statistics
| Branch: | Revision:

root @ 719f66a7

# Date Author Comment
719f66a7 05/03/2009 09:51 pm Blue Swirl

Optimize cmp x, 0 case

Signed-off-by: Blue Swirl <>

dc1a6971 05/03/2009 09:51 pm Blue Swirl

Reindent

Signed-off-by: Blue Swirl <>

03f311ed 05/03/2009 07:00 pm Paul Brook

Handle NULL bdrv.

Signed-off-by: Paul Brook <>

b89e94af 05/02/2009 11:19 pm Blue Swirl

Improve instruction name comments for easier searching

Signed-off-by: Blue Swirl <>

7ab463cb 05/02/2009 10:52 pm Blue Swirl

Clarify: dmmuregs1 is not a typo

Signed-off-by: Blue Swirl <>

41d72852 05/02/2009 10:14 pm Blue Swirl

Optimize operations with immediate parameters

67526b20 05/02/2009 09:58 pm Blue Swirl

Fix Sparc64 sign extension problems

Signed-off-by: Blue Swirl <>

d02f7094 05/01/2009 06:03 pm Anthony Liguori

Make sure not to fall through on error in loadvm

This is from the KVM tree

Signed-off-by: Anthony Liguori <>

f654d9e2 05/01/2009 06:03 pm Alex Williamson

Fix hw/acpi.c build w/ DEBUG enabled

Trivial build warning/fixes when the local DEBUG define is enabled.

Signed-off-by: Alex Williamson <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

aff427a1 05/01/2009 05:47 pm Chris Wright

Pci nic: pci_register_device can fail

The pci_register_device() call in PCI nic initialization routines can
fail. Handle this failure and propagate a meaningful error message to
the user instead of generating a SEGV.

Cc: Marcelo Tosatti <>...

e6a6dfe4 05/01/2009 05:44 pm Anthony Liguori

Fix serial option with -drive

This is from the KVM tree.

Signed-off-by: Anthony Liguori <>

8563d5b3 05/01/2009 05:44 pm Gerd Hoffmann

vnc: kill leftover debug statement.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

6f0437e8 05/01/2009 05:44 pm Jan Kiszka

kvm: Avoid COW if KVM MMU is asynchronous

Avi Kivity wrote:

Suggest wrapping in a function and hiding it deep inside kvm-all.c.

Done in v2:

---------->

If the KVM MMU is asynchronous (kernel does not support MMU_NOTIFIER),
we have to avoid COW for the guest memory. Otherwise we risk serious...

ffad4116 05/01/2009 05:44 pm Jan Kiszka

net: Fix -net socket parameter checks

My commit ea053add700d8abe203cd79a9ffb082aee4eabc0 broke -net socket by
overwriting an intermediate buffer in the added check_param. Fix this
by switching check_param to automatic buffer allocation and release, ie.
callers no longer have to worry about providing a scratch buffer....

9dd986cc 05/01/2009 05:44 pm Richard W.M. Jones

Hardware watchdog

Here is an updated hardware watchdog patch, which should fix
everything that was raised about the previous version ...

Signed-off-by: Richard W.M. Jones <>
Signed-off-by: Anthony Liguori <>

d9654a58 05/01/2009 05:44 pm Kevin Wolf

qemu-io: Optionally verify only part of read data

There are reasonable test cases where a read must span areas that are not
uniformly filled with one pattern but contains several parts. This makes -P
useless for them currently.

Introducing additional options which determine the part of the read data that...

8b91408b 05/01/2009 05:44 pm Christoph Hellwig

fix virtio_blk_inhdr comment

The inhdr is at the end of the S/G list, not the beginning.

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Anthony Liguori <>

49669fc5 05/01/2009 05:44 pm Glauber Costa

suport device driver initialization model

According to PnP specification, Appendix B, Option ROMs
that support DDIM (device driver initialization model) should
have their memory space writeable.

KVM deviates from us here, by removing the IO_MEM_ROM flag,...

704aec58 05/01/2009 05:44 pm Xiantao Zhang

Build fix for !CONFIG_GDBSTUB case

Once CONFIG_GDBSTUB not configured, compile will generate error.

Signed-off-by: Xiantao Zhang <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

0fc8e0ec 05/01/2009 05:44 pm Gerd Hoffmann

vnc: windup keypad keys for qemu console emulation

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

206ab6e0 05/01/2009 05:44 pm Jan Kiszka

net: Avoid gcc'ism in net_host_device_add

+ if (net_client_init(device, opts ? : "") < 0) {

Is this a gcc extension? Do we want to introduce this construct to the
code base.

Valid remark, fix below.

Thanks,
Jan

-------->

Signed-off-by: Jan Kiszka <>...

bee1b010 05/01/2009 05:44 pm Gerd Hoffmann

vnc: fix segfault

Move down cmp_bytes initialization. Must be after vga_hw_update()
call, because that one might change the screen depth.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

451c4abd 05/01/2009 05:44 pm Mark McLoughlin

ppc: include cache-utils.o in BLOCK_OBJS

On ppc, cutils.o needs cache-utils.o or an undefined reference to
qemu_cache_conf results.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

1063b8b1 05/01/2009 05:44 pm Christoph Hellwig

virtio-blk: add SGI_IO passthru support

[had the qemu list address wrong the first time, reply to this message,
not the previous if you were on Cc]

Add support for SG_IO passthru (packet commands) to the virtio-blk
backend. Conceptually based on an older patch from Hannes Reinecke...

89ee676e 05/01/2009 05:44 pm Gerd Hoffmann

vnc: fix server surface pixel format.

Format must be identical to the guest surface, we can't work with
the 32 bpp used by the default surface allocator.

Without this patch vnc doesn't get the conversions right when sending
pixel data to the client. The bug triggers if...

24cf0a6e 05/01/2009 05:44 pm Gerd Hoffmann

vnc: no need to set force_update for incremental update requests.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

e6f4afe0 05/01/2009 05:38 pm Jan Kiszka

kvm: Relax aligment check of kvm_set_phys_mem

There is no need to reject an unaligned memory region registration if
the region will be I/O memory and it will not split an existing KVM
slot. This fixes KVM support on PPC.

Signed-off-by: Jan Kiszka <>...

582af0da 05/01/2009 05:16 pm Paul Brook

Remove redundant cirrus vga ram functions.

Signed-off-by: Paul Brook <>

140f8f25 05/01/2009 10:31 am Consul

Remove redundant #define

Suppress a warning
audio/dsoundaudio.c:35:1: warning: "WIN32_LEAN_AND_MEAN" redefined
<command line>:4:1: warning: this is the location of the previous definition

Signed-off-by: Alex Ivanov <>

0b4e6e3e 04/30/2009 08:39 pm Paul Brook

Remove cpu_get_io_memory_{read,write}.

Signed-off-by: Paul Brook <>

1dcea8e8 04/30/2009 08:35 pm Paul Brook

Remove vga LFB accessor hacks.

These are redundant now that we remap the LFB ram area.

Signed-off-by: Paul Brook <>

0ecdb16e 04/29/2009 10:22 pm François Revol

gitignore qemu-options.texi

$subj

François.

Signed-off-by: François Revol <>

a7e21219 04/29/2009 09:38 pm Jan Kiszka

Fix qemu_event_init

Falling through to "fail" made qemu_event_init() close the pipe fds
immediately again, breaking timer event notification.

Signed-off-by: Jan Kiszka <>

2d3eb7bf 04/28/2009 09:07 pm Tristan Gingold

Fix powerpc 604 reset vector

According to 604eUM_book (see 8.3.3 Reset inputs p8-54), the IP bit is set
for hreset and the vector is at offset 0x100 from the exception prefix.

No difference in this area between 604 and 604e.

Signed-off-by: Tristan Gingold <>

fc1c67bc 04/28/2009 09:00 pm Blue Swirl

Fix PPC reset

efcfd0c5 04/28/2009 08:05 pm Blue Swirl

Silence missing pkg-config error messages

417728d8 04/28/2009 06:59 pm Igor Kovalenko

sparc64 fix context value for ITLB fault

Revert previous change to get_physical_address_code:
I/D MMU context register is shared, so using dmmuregs1 is correct

Signed-off-by: Igor V. Kovalenko <>

82f2cfc3 04/27/2009 10:14 pm Igor Kovalenko

sparc64 fix TLB match code

TLB match code must respect page size, otherwise 4M page mappings may
be not found.

Also correct a typo in get_physical_address_code which should use IMMU
registers.

Signed-off-by: Igor V. Kovalenko <>...

c0c440f3 04/27/2009 09:10 pm Blue Swirl

Synch to VGA

12c7e75a 04/27/2009 08:57 pm Avi Kivity

[RESEND] Fix vga segfaults or screen corruption with large memory guests

page0 and friends are ram addresses; a smaller size will overflow and
cause a segfault or random corruption.

Change them to ram_addr_t.

Signed-off-by: Avi Kivity <>

918a608b 04/27/2009 08:16 pm Jan Kiszka

build system: Silence failing configure tests

Signed-off-by: Jan Kiszka <>

8d316b00 04/27/2009 08:11 pm Robert Reif

fix net.c compile warning

Fix net.c compile warning:

CC net.o
net.c: In function net_slirp_redir:
net.c:623: warning: format not a string literal and no format arguments

Signed-off-by: Robert Reif <>

d877fa5a 04/25/2009 10:07 pm Blue Swirl

Recognize V9 stores and CAS accesses as writes

Signed-off-by: Blue Swirl <>

9c22a623 04/25/2009 07:28 pm Blue Swirl

Fix a warning in sparc64-linux-user build

48e77a36 04/25/2009 06:26 pm Blue Swirl

Merge branch 'master' of :/srv/git/qemu

697a77e6 04/25/2009 06:17 pm Igor Kovalenko

sparc64 support TSB related MMU registers

Posting updated patch to the list...

On Fri, Apr 24, 2009 at 9:42 PM, Blue Swirl <> wrote:
 >
 > Nice, though I didn't notice any visible improvement in my tests.

This early in boot process there is not much to output; and I test...

2fa73ec8 04/25/2009 04:51 pm Edgar E. Iglesias

CRIS: cris_mmu_result_t -> cris_mmu_result

Signed-off-by: Edgar E. Iglesias <>

ef28c4b0 04/25/2009 03:56 pm Blue Swirl

Fix Win32 warning

6fcfeff9 04/25/2009 11:00 am Blue Swirl

Fix compilation when x86_64 is defined

c433bedf 04/25/2009 10:31 am Blue Swirl

Fix warning

5606c220 04/25/2009 01:08 am Aurelien Jarno

block-vvfat: fix a warning

Signed-off-by: Aurelien Jarno <>

d6dc3d42 04/24/2009 09:04 pm aliguori

qemu: introduce iothread (Marcelo Tosatti)

Fill in the hooks and introduce iothread.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7248 c046a42c-6fe2-441c-8c8c-71466251a162

6e29f5da 04/24/2009 09:04 pm aliguori

qemu: handle stop request in main loop (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7247 c046a42c-6fe2-441c-8c8c-71466251a162

e6e35b1e 04/24/2009 09:03 pm aliguori

qemu: refactor tcg cpu execution loop (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7246 c046a42c-6fe2-441c-8c8c-71466251a162

e568902a 04/24/2009 09:03 pm aliguori

qemu: use debug_requested global instead of cpu_exec return (Marcelo Tosatti)

Necessary for the next refactoring patch.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7245 c046a42c-6fe2-441c-8c8c-71466251a162

4870852c 04/24/2009 09:03 pm aliguori

qemu: introduce lock/unlock_iothread (Marcelo Tosatti)

Hook to allow iothread to drop the global mutex.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7244 c046a42c-6fe2-441c-8c8c-71466251a162

8edac960 04/24/2009 09:03 pm aliguori

qemu: introduce qemu_cpu_kick (Marcelo Tosatti)

To notify cpu of pending interrupt.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7243 c046a42c-6fe2-441c-8c8c-71466251a162

0bf46a40 04/24/2009 09:03 pm aliguori

qemu: introduce qemu_init_vcpu (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7242 c046a42c-6fe2-441c-8c8c-71466251a162

43b96858 04/24/2009 09:03 pm aliguori

qemu: refactor main_loop (Marcelo Tosatti)

Break main loop into 3 main functions.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7241 c046a42c-6fe2-441c-8c8c-71466251a162

50317c7f 04/24/2009 09:03 pm aliguori

qemu: factor out event notification / rearm alarm timer on main_loop_wait (Marcelo Tosatti)

Special events that have no particular event descriptor (either fd for UNIX
or HANDLE for Windows) associated with make use of an artificial one.

Factor the alarm timer notification so that it can be used for other events,...

3fcf7b6b 04/24/2009 09:03 pm aliguori

qemu: introduce qemu_init_main_loop (Marcelo Tosatti)

Hook to allow iothread initialization.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7239 c046a42c-6fe2-441c-8c8c-71466251a162

6a4955a8 04/24/2009 09:03 pm aliguori

qemu: per-arch cpu_has_work (Marcelo Tosatti)

Blue Swirl: fix Sparc32 breakage

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7238 c046a42c-6fe2-441c-8c8c-71466251a162

e5d355d1 04/24/2009 09:03 pm aliguori

qemu: mutex/thread/cond wrappers and configure tweaks (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7237 c046a42c-6fe2-441c-8c8c-71466251a162

d9f75a4e 04/24/2009 09:03 pm aliguori

qemu: create helper for event notification (Marcelo Tosatti)

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7236 c046a42c-6fe2-441c-8c8c-71466251a162

96248fd8 04/23/2009 09:42 pm blueswir1

Fix typo, thanks to Andreas Faerber for spotting

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7235 c046a42c-6fe2-441c-8c8c-71466251a162

fc1f79f7 04/23/2009 09:29 pm blueswir1

Use a more natural order

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7234 c046a42c-6fe2-441c-8c8c-71466251a162

00ea18d1 04/23/2009 04:16 pm aliguori

Fix i386-linux-user build (Laurent Desnogues)

This broke due to r7230.

Signed-off-by: Laurent Desnogues <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7233 c046a42c-6fe2-441c-8c8c-71466251a162

b28b6230 04/22/2009 11:20 pm aliguori

monitor: Fix warning in do_info_numa (Jan Kiszka)

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7232 c046a42c-6fe2-441c-8c8c-71466251a162

93b66569 04/22/2009 11:20 pm aliguori

Change RTC time drift IRQ re-injection (Gleb Natapov)

Currently IRQ are reinjected as soon as they are acknowledged to
the RTC, but Windows sometimes do acknowledgement in a loop with
global interrupt disabled waiting for interrupt to be cleared and
it does not mask RTC vector in PIC/APIC while doing this. In such...

2ed51f5b 04/22/2009 11:20 pm aliguori

put valid data into exit_int_info if needed (Gleb Natapov)

If fault happened during event delivery exit_int_info should contain
valid info about the event on vm exit.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Anthony Liguori <>...

e268ca52 04/22/2009 11:20 pm aliguori

implement qemu_blockalign (Stefano Stabellini)

this patch adds a buffer_alignment field to BlockDriverState and
implements a qemu_blockalign function that uses that field to allocate a
memory aligned buffer to be used by the block driver.
buffer_alignment is initialized to 512 but each block driver can set...

94909d9f 04/22/2009 06:19 pm aliguori

xen: add -vga xenfb option, configure xenfb (Gerd Hoffmann)

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7228 c046a42c-6fe2-441c-8c8c-71466251a162

28b85ed8 04/22/2009 06:19 pm aliguori

simplify vga selection (Gerd Hoffmann)

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7227 c046a42c-6fe2-441c-8c8c-71466251a162

9306acb5 04/22/2009 06:19 pm aliguori

xen: pv domain builder. (Gerd Hoffmann)

This adds domain building support for paravirtual domains to qemu.
This allows booting xen guests directly with qemu, without Xend
and the management stack.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>...

2c8b24a3 04/22/2009 06:19 pm aliguori

xen: blk & nic configuration via cmd line. (Gerd Hoffmann)

This patch makes qemu create backend and frontend device entries in
xenstore for devices configured on the command line. It will use
qdisk and qnic backend names, so the qemu internal backends will...

e613b064 04/22/2009 06:19 pm aliguori

xen: add net backend driver. (Gerd Hoffmann)

This patch adds a network interface backend driver to qemu. It is a pure
userspace implemention using the gntdev interface. It uses "qnet" as
backend name in xenstore so it doesn't interfere with the netback...

62d23efa 04/22/2009 06:19 pm aliguori

xen: add block device backend driver. (Gerd Hoffmann)

This patch adds a block device backend driver to qemu. It is a pure
userspace implemention using the gntdev interface. It uses "qdisk" as
backend name in xenstore so it doesn't interfere with the other existing...

e7151f83 04/22/2009 06:19 pm aliguori

xen: add framebuffer backend driver (Gerd Hoffmann)

This patch adds a frsamebuffer (and kbd+mouse) backend driver. It
it based on current xen-unstable code. It has been changed to make
use of the common backend driver code. It also has been changed to...

e57dd20b 04/22/2009 06:19 pm aliguori

xen: add console backend driver. (Gerd Hoffmann)

This patch adds a xenconsole backend driver. It it based on current
xen-unstable code. It has been changed to make use of the common
backend driver code.

Signed-off-by: Gerd Hoffmann <>...

d94f9486 04/22/2009 06:19 pm aliguori

xen: backend driver core (Gerd Hoffmann)

This patch adds infrastructure for xen backend drivers living in qemu,
so drivers don't need to implement common stuff on their own. It's
mostly xenbus management stuff: some functions to access xentore,
setting up xenstore watches, callbacks on device discovery and state...

e37630ca 04/22/2009 06:19 pm aliguori

xen: groundwork for xen support (Gerd Hoffmann)

- configure script and build system changes.
- wind up new machine type.
- add xen* command line options.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>...

b194f610 04/22/2009 04:05 pm aliguori

update .gitignore: add qemu-io (Gerd Hoffmann)

Signed-off-by: Gerd Hoffmann <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7218 c046a42c-6fe2-441c-8c8c-71466251a162

54c42368 04/22/2009 02:12 am aliguori

qcow2: Add plausibility check for L1/L2 entries (Kevin Wolf)

From: Kevin Wolf <>

All L1 and L2 entries must point at the start of a cluster. If there is some
offset into the cluster, the entry is corrupted.

Signed-off-by: Kevin Wolf <>...

ae2f14af 04/22/2009 02:11 am aliguori

qcow2: Refcount checking code cleanup (Kevin Wolf)

This is purely cosmetical changes to make the code easier to read. Move L2
table processing from a deeply nested block to its own function, add some
comments.

Patch v2: Fix misplaced bracket causing false positives...

1585969c 04/22/2009 02:11 am aliguori

Introduce qemu-img check subcommand (Kevin Wolf)

From: Kevin Wolf <>

Now that block drivers can provide check functions, expose them through
qemu-img.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>...

e97fc193 04/22/2009 02:11 am aliguori

Introduce bdrv_check (Kevin Wolf)

From: Kevin Wolf <>

Introduce a new bdrv_check function pointer for block drivers. Modify qcow2 to
return an error status in check_refcounts(), so it can implement bdrv_check.

Signed-off-by: Kevin Wolf <>...

8ddbc04f 04/22/2009 02:11 am aliguori

qcow2: Fix warnings in check_refcount() (Kevin Wolf)

From: Kevin Wolf <>

This code is currently only compiled when DEBUG_ALLOC is defined, so you
usually don't see compiler warnings on it. This patch series wants to enable
the code, so fix the format string warnings first....

11c2fd3e 04/22/2009 01:31 am aliguori

sending NUMA topology to BIOS (Andre Przywara)

uses the QEMU firmware configuration interfacce to send the NUMA
topology to the BIOS, which has to setup the tables. Only one firmware
configuration channel is used.

Signed-off-by: Andre Przywara <>...

030ea37b 04/22/2009 01:30 am aliguori

add info numa command to monitor (Andre Przywara)

adds an "info numa" command to the monitor to output the current
topology. Since NUMA is advertised via static ACPI tables, no changes are
possible during runtime.

Signed-off-by: Andre Przywara <>...

268a362c 04/22/2009 01:30 am aliguori

added -numa cmdline parameter parser (Andre Przywara)

adds a -numa command line parameter and sets a QEMU global array with
the memory sizes. The CPU-to-node assignemnt is written into the
CPUState. If no specific values for memory and CPUs are given,
all resources will be split equally across all nodes....

754d00ae 04/22/2009 01:26 am malc

Safety net for the cases where disassembler/translator disagree over instruction decoding

Noticed by Mark Karpeles.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7209 c046a42c-6fe2-441c-8c8c-71466251a162

8d6249a7 04/21/2009 11:49 pm aliguori

net: Prevent multiple slirp instances (Jan Kiszka)

The slirp stack is full of global variables which prevents instantiating
it more than once. Catch this during net_slirp_init to prevent more harm
later on.

Signed-off-by: Jan Kiszka <>...

d4ebe193 04/21/2009 10:56 pm aliguori

slirp: Enhance host-guest redirection setup (Jan Kiszka)

Allow to establish a TCP/UDP connection redirection also via a monitor
command 'host_net_redir'. Moreover, assume TCP as connection type if
that parameter is omitted.

Signed-off-by: Jan Kiszka <>...

764a4d1d 04/21/2009 10:56 pm aliguori

net: Untangle nested qemu_send_packet (Jan Kiszka)

Queue packets that are send during an ongoing packet delivery. This
ensures that packets will always arrive in their logical order at each
client of a VLAN. Currently, slirp generates such immediate relies, and...

a66b11bf 04/21/2009 10:56 pm aliguori

monitor: Allow host_net_add/remove for all targets (Jan Kiszka)

There is nothing x86-specific in host_net_add/remove, so allow them for
all targets.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>
...

5c8be678 04/21/2009 10:56 pm aliguori

monitor: Improve host_net_add (Jan Kiszka)

Fix the documentation of the host_net_add monitor command and allow the
user to pass no options at all. Moreover, inform the user on the
monitor terminal if a request failed.

Signed-off-by: Jan Kiszka <>...

bb9ea79e 04/21/2009 10:56 pm aliguori

net: Add support for capturing VLANs (Jan Kiszka)

This patch is derived from Tristan Gingold's patch. It adds a new VLAN
client type that writes all traffic on the VLAN it is attached to into a
pcap file. Such a file can then be analyzed offline with Wireshark or...

10300216 04/21/2009 10:56 pm aliguori

Allow empty params for check_params (Jan Kiszka)

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7199 c046a42c-6fe2-441c-8c8c-71466251a162

b63c7f6b 04/21/2009 10:56 pm aliguori

slirp: Handle DHCP requests for specific IP (Jan Kiszka)

This adds proper handling of the ciaddr field as well as the "Requested
IP Address" option to slirp's DHCP server. If the client requests an
invalid or used IP, a NAK reply is sent, if it requests a specific but...

8e4416af 04/21/2009 10:56 pm aliguori

net: Add parameter checks for VLAN clients (Jan Kiszka)

This aims at helping the user to find typos or other mistakes in
parameter lists passed for VLAN client initialization. The existing
parsing infrastructure does not allow a leaner approach, but this is...