Statistics
| Branch: | Revision:

root @ 460fec67

# Date Author Comment
8ec7f4ed 06/29/2009 04:52 pm Jan Kiszka

slirp: Clean up updtime

Drop redundant typecasts in both variants and remove the pointless
round-up in the UNIX version.

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

d918f23e 06/29/2009 04:52 pm Jan Kiszka

slirp: Kill slirp_is_inited

Avoid the need for slirp_is_inited by refactoring the protected
slirp_select_* functions. This also avoids the clearing of all fd sets
on select errors.

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

d6cf84e1 06/29/2009 04:52 pm Jan Kiszka

slirp: Drop redundant checks from slirp_output

Slirp doesn't invoke slirp[_can]_output before it is initialized. The
motivation for these checks (3b7f5d479c) no longer applies. So drop
them.

Note: slirp_vc will become invalid if the slirp stack is removed during...

f1d99bbd 06/29/2009 04:52 pm Jan Kiszka

slirp: Clean up timeout handling around slirp_select_fill/poll

Again lot of dead code. Remove it.

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

b5302e1a 06/29/2009 04:52 pm Jan Kiszka

slirp: Drop link_up checks from if_output and slirp_socket_can_recv

link_up is true once slirp is initialized, so these check are really not
required.

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

460fec67 06/29/2009 04:52 pm Jan Kiszka

slirp: Factor out internal state structure

The essence of this patch is to stuff (almost) all global variables of
the slirp stack into the structure Slirp. In this step, we still keep
the structure as global variable, directly accessible by the whole
stack. Changes to the external interface of slirp will be applied in...

285f7a62 06/29/2009 04:52 pm Jan Kiszka

slirp: Make IP packet ID consistent

Currently, ip_id is always initialized to 0 on slirp startup (despite
the broken attempt to derive it from the clock). This is good for
reproducibility. But it is not preserved across save/restore. This patch
therefore drops the dead initialization code from ip_init and introduces...

ee9be587 06/29/2009 04:52 pm Jan Kiszka

slirp: Drop unused icmp_var.h

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

f8e3cbd3 06/29/2009 04:52 pm Jan Kiszka

slirp: tftp: Cleanup tftp_prefix check

Perform check for set prefix early (if it's not given, tftp is disabled)
and drop redundant second check.

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

ef2d54d8 06/29/2009 04:52 pm Jan Kiszka

slirp: tftp: Clean up tftp_send_error

The return code of tftp_send_error is not used, drop it. And also make
sure to always terminate the session.

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

20c24bf2 06/29/2009 04:52 pm Jan Kiszka

slirp: tftp: Refactor tftp_handle_rrq

Specifically make the filename extraction more readable, and always
report errors back to the client.

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

9367964a 06/29/2009 04:52 pm Jan Kiszka

slirp: tftp: Rework filename handling

This changes the filename handling from a static buffer in tftp_session
for the client-provided name + prefix to a dynamically allocated buffer
that keeps the combined path in one place.

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

df461894 06/29/2009 04:52 pm Jan Kiszka

slirp: Factor out one-time initialization

In order to prepare re-initialization and multi-instance slirp, factor
out init code that is of global scope and (at least for now) only need
to be run once.

This also fixes the potentially uninitialized use of our_addr in...

9c12a6f2 06/29/2009 04:52 pm Jan Kiszka

slirp: Do not allow to remove non-hostfwd sockets

Prevent that the users accidentally shoots down dynamic sockets. This
allows to remove looping for removals as there can now only be one
match.

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

4a82347a 06/29/2009 04:52 pm Jan Kiszka

slirp: Mark sockets of incoming TCP connections

Required for pretty-printing.

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

6dbe553f 06/29/2009 04:52 pm Jan Kiszka

slirp: Add info usernet for dumping connection states

Break out sockstats from the slirp statistics and present them under the
new info category "usernet". This patch also improves the current output
/wrt proper reporting connection source and destination....

0d62c4cf 06/29/2009 04:52 pm Jan Kiszka

slirp: Drop dead code

After all its years inside the qemu tree, there is no point in keeping
the dead code paths of slirp. This patch is a first round of removing
usually commented out code parts. More cleanups need to follow (and
maybe finally a proper reindention)....

0fe6a7f2 06/29/2009 04:52 pm Jan Kiszka

slirp: Drop statistic code

As agreed on the mailing list, there is no interest in keeping the
usually disabled slirp statistics in the tree. So this patch removes
them.

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

9f349498 06/29/2009 04:52 pm Jan Kiszka

slirp: Cleanup and basic reanimation of debug code

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

a13a4126 06/29/2009 04:52 pm Jan Kiszka

slirp: Rework internal configuration

The user mode IP stack is currently only minimally configurable /wrt to
its virtual IP addresses. This is unfortunate if some guest has a fixed
idea of which IP addresses to use.

Therefore this patch prepares the stack for fully configurable IP...

c92ef6a2 06/29/2009 04:52 pm Jan Kiszka

slirp: Rework external configuration interface

With the internal IP configuration made more flexible, we can now
enhance the user interface. This patch adds a number of new options to
"-net user": net (address and mask), host, dhcpstart, dns and smbserver....

2ad82cf9 06/29/2009 04:52 pm Jan Kiszka

slirp: Fix port comparision in slirp_remove_hostfwd

For UDP host forwardings, fport is not stable, every outgoing packet of
the redirection can modify it. Use getsockname instead to look up the
port that is actually used on the host side.

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

f3546deb 06/29/2009 04:52 pm Jan Kiszka

slirp: Rework monitor commands for host forwarding

Improve the monitor interface for adding and removing host forwarding
rules by splitting it up in two commands and rename them to hostfwd_add
and hostfwd_remove. Also split up the paths taken for legacy -redir...

3c6a0580 06/29/2009 04:52 pm Jan Kiszka

slirp: Bind support for host forwarding rules

Extend the hostfwd rule format so that the user can specify on which
host interface qemu should listen for incoming connections. If omitted,
binding will takes place against all interfaces.

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

f932b6ce 06/29/2009 04:52 pm Jan Kiszka

slirp: Prepare for persistent socket state flags

This prepares for adding flags to socket.so_state that must not be
removed during the lifetime of a socket.

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

6dd5ffb6 06/29/2009 04:52 pm Jan Kiszka

slirp: Explicitely mark host-forwarding sockets

Mark sockets that describe host forwardings. This is required for their
(and only their) proper deletion and for pretty-printing.

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

c18a2c36 06/29/2009 04:52 pm Stefano Stabellini

sdl zooming

Hi all,
this patch implements zooming capabilities for the sdl interface.
A new sdl_zoom_blit function is added that is able to scale and blit a
portion of a surface into another.
This way we can enable SDL_RESIZABLE and have a real_screen surface with...

753a5f17 06/29/2009 04:52 pm Jan Kiszka

slirp: Drop redundant lines from udp_input

The socket faddr/fport is already updated a few lines below, so these
are completely redundant.

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

b35725c5 06/29/2009 04:52 pm Jan Kiszka

slirp: Refactor tcp_ctl

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

e15f4a99 06/29/2009 04:52 pm Jan Kiszka

Revert "User networking: Show active connections"

This reverts commit 1c6ed9f3379faac83da0ed3e95cbd49003ac0dd1.

It's redundant to slirp statistics, which are going to be split up /
reworked later on.

Conflicts:

monitor.c
net.c

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

5db4af8b 06/29/2009 04:52 pm Jan Kiszka

Introduce get_next_param_value

In order to parse multiple instances of the same param=value pair,
introduce get_next_param_value which can pass back to string parsing
position after reading a parameter value.

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

ad196a9d 06/29/2009 04:52 pm Jan Kiszka

slirp: Move smb, redir, tftp and bootp parameters and -net channel

So far a couple of slirp-related parameters were expressed via
stand-alone command line options. This it inconsistent and unintuitive.
Moreover, it prevents both dynamically reconfigured (host_net_add/...

14899cdf 06/29/2009 04:52 pm Filip Navara

Fix QCOW2 debugging code to compile again

Updated to use C99 comments.

Signed-off-by: Filip Navara <>
Signed-off-by: Anthony Liguori <>

ff24bd58 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/virtio: virtio save/load bindings

Implement bindings for virtio save/load. Use them in virtio pci.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

64d50b8b 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/pci: add pci_get/set_byte

Add pci_get/set_byte to keep *_word and *_long access functions company.
They are unused for now.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

566e2d3e 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/net: request 3 vectors in virtio-net

Request up to 3 vectors in virtio-net. Actual bindings might supply
less.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

ffe6370c 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/net: flag to control the number of vectors a nic has

Add an option to specify the number of MSI-X vectors for PCI NIC cards. This
can also be used to disable MSI-X, for compatibility with old qemu. This
option currently only affects virtio cards.

Signed-off-by: Michael S. Tsirkin <>...

3abcdf49 06/24/2009 05:09 pm Stefan Weil

Fix dump output in qemu-io.

The dump output was not nicely formatted for bytes
larger than 0x7f, because signed values expanded to
sizeof(int) bytes. So for example 0xab did not print
as "ab", but as "ffffffab".

I also cleaned the function prototype, which avoids...

84844a20 06/24/2009 05:09 pm Stefan Weil

qemu-io: Fix spelling in help message.

excerciser -> exerciser

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

95533d5f 06/24/2009 05:09 pm Christoph Hellwig

qemu-io: add aio read/write/flush commands

Add commands to exercise asynchronous reads/writes and to flush all
outstanding aio commands. Commands to exercise aio cancellations will
follow in a separate patch.

Signed-off-by: Christoph Hellwig <>...

779c6bef 06/24/2009 05:09 pm Anthony Liguori

Make sure to zero out memory before calling madvise to increase robustness

Avi pointed out that it's not entirely safe to rely on madvise zeroing out
memory. So let's do it explicitly before calling madvise.

Signed-off-by: Anthony Liguori <>

024589f1 06/24/2009 05:09 pm Filip Navara

Remove unused gen_bx_T0 function.

Signed-off-by: Filip Navara <>
Signed-off-by: Anthony Liguori <>

bf011293 06/24/2009 05:09 pm john cooper

Add serial number support for virtio_blk

[brought forward to current qemu-kvm.git]

This patch implements the missing qemu logic to
interpret a '-drive .. serial=XYZ ..' flag for
a virtio_blk device.

The serial number string is contained in a
skeletal IDENTIFY DEVICE data structure and...

b7ee1603 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/pci: make default_write_config use mask table

Change much of hw/pci to use symbolic constants and a table-driven
design: add a mask table with writable bits set and readonly bits unset.
Detect change by comparing original and new registers.

This makes it easy to support capabilities where read-only/writeable...

14e12559 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/pci: helper routines for pci access

Add inline routines for convenient access to pci devices
with correct (little) endianness. Will be used by MSI-X support.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

6f4cbd39 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/pci: add routines to manage PCI capabilities

Add routines to manage PCI capability list. First user will be MSI-X.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

bd4b65ee 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/pci: check constant registers on load

Add "cmask" table of constant register masks: if a bit is not writeable
and is set in cmask table, this bit is checked on load. An attempt to
load an image that would change such a register causes load to fail....

02eb84d0 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/pci: MSI-X support functions

Add functions implementing MSI-X support. First user will be virtio-pci.
Note that platform must set a flag to declare MSI supported: this
is a safety measure to avoid breaking platforms which should support
MSI-X but currently lack this in the interrupt controller emulation....

54c96da7 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/apic: minimal MSI/MSI-X implementation for PC

Implement MSI support in APIC. Note that MSI and MMIO APIC registers
are at the same memory location, but actually not on the global bus: MSI
is on PCI bus, APIC is connected directly to the CPU. We map them on the...

7055e687 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/virtio: virtio support for many interrupt vectors

Extend virtio to support many interrupt vectors, and rearrange code in
preparation for multi-vector support (mostly move reset out to bindings,
because we will have to reset the vectors in transport-specific code)....

aba800a3 06/24/2009 05:09 pm Michael S. Tsirkin

qemu/virtio: MSI-X support in virtio PCI

This enables actual support for MSI-X in virtio PCI.
First user will be virtio-net.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Anthony Liguori <>

1b64fcae 06/23/2009 09:04 pm Igor V. Kovalenko

add sparc64-softmmu to default configure targets list

Add sparc64 to default list of softmmu targets
Signed-off-by: Igor V. Kovalenko <>

6d53bfd1 06/23/2009 09:04 pm Igor V. Kovalenko

sparc64 follow pci_nic_init change

sun4u.c: correct pci_nic_init arguments following
commit 5607c38820366954c38dd702e979499486057481

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

21ebeb23 06/23/2009 08:28 pm Edgar E. Iglesias

microblaze: Support the latest mmu-kernel stat64 ABI.

Microblaze recently changed their ABI. The new is not backwards compatible
and there doesn't seem to be a way to distinguish old/new binaries.
Let's support the latest ABI for now and hope someone figures out a way to...

a139aa17 06/23/2009 08:11 pm Nathan Froyd

target-ppc: permit linux-user to read PVR

Access to the PVR SPR is normally forbidden from userspace apps. The
Linux kernel, however, fixes up reads in the appropriate trap handler.
To permit applications that read PVR to run on QEMU, then, we need to
implement the same handling of PVR reads....

913bbbca 06/23/2009 11:27 am Edgar E. Iglesias

cris: Remove unused internal flag.

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

f8e2af11 06/22/2009 06:15 pm Stefan Weil

Win32: Reduce section alignment for Windows.

Maximum alignment for Win32 is 16, so don't try
to set it to 32. Otherwise the compiler complains:

exec.c:102: warning: alignment of 'code_gen_prologue'
is greater than maximum object file alignment. Using 16...

8cad5516 06/22/2009 06:15 pm Mark McLoughlin

net: add qemu_purge_queued_packets()

If net client sends packets asynchronously, it needs to purge its queued
packets in cleanup() so as to prevent sent callbacks being invoked with
a freed client.

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

b9adce2c 06/22/2009 06:15 pm Mark McLoughlin

net: purge queued packets in tap_cleanup()

If tap has any packets queued at host_net_remove time, it needs to purge
them in order to prevent a sent callback being invoked for it.

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

b664e367 06/22/2009 06:15 pm Mark McLoughlin

net: add tap_read_poll() helper

Add a helper to enable/disable the read polling on tapfd.

We need this, because we want to start write polling on the tapfd too
and enable/disable both types of polling independently.

Signed-off-by: Mark McLoughlin <>...

1f7babf6 06/22/2009 06:15 pm Mark McLoughlin

net: handle EAGAIN from tapfd write()

If a write() on tapfd returns EAGAIN, return zero so that the packet
gets queued (in the case of async send) and enable polling tapfd for
writing.

When tapfd becomes writable, disable write polling and flush any queued...

4a77b25e 06/22/2009 06:15 pm Mark McLoughlin

net: return TAPState from net_tap_init()

net_tap_fd_init() already returns TAPState, so this is a sensible
cleanup in its own right.

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

0df0ff6d 06/22/2009 06:15 pm Mark McLoughlin

net: add '-net tap,sndbuf=nbytes'

2.6.30 adds a new TUNSETSNDBUF ioctl() which allows a send buffer limit
for the tap device to be specified. When this limit is reached, a tap
write() will return EAGAIN and poll() will indicate the fd isn't
writable.

This allows people to tune their setups so as to avoid e.g. UDP packet...

783527a9 06/22/2009 06:15 pm Mark McLoughlin

net: add packet length to NetPacketSent callback

virtio-net needs this - for the same purpose that it currently uses the
return value from qemu_sendv_packet().

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

6243375f 06/22/2009 06:15 pm Mark McLoughlin

virtio-net: implement async packet sending

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

59a36a2f 06/22/2009 06:15 pm Stefan Weil

Win32: Fix compilation with SDL.

`sdl-config --cflags` defines main = SDL_main
on some platforms. One of these platforms is
Windows with mingw32.

For those platforms, the solution already developed
for APPLE is now applied.

A compiler warning (missing return value) is fixed, too....

8c01c95a 06/22/2009 06:15 pm Stefan Weil

Win: Install keymaps for Windows, too (needed for VNC).

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

9391e4b8 06/22/2009 06:15 pm Isaku Yamahata

vmware_vga: clean up

use NULL instead of 0 for pci_register_device() argument
for consistency. Any other caller uses NULL.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

07b7d053 06/22/2009 06:15 pm Markus Armbruster

Fix do_pci_register_device() to reject devfn already in use

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

5607c388 06/22/2009 06:15 pm Markus Armbruster

Support addr=... in option argument of -net nic

Make net_client_init() accept addr=, put the value into struct
NICinfo. Use it in pci_nic_init(), and remove arguments bus and
devfn.

Don't support addr= in third argument of monitor command pci_add,
because that clashes with its first argument. Admittedly unelegant....

1f5f6638 06/22/2009 06:15 pm Markus Armbruster

Make first argument of monitor command pci_add work

Simply pass the PCI address through qemu_pci_hot_add_nic() to
pci_nic_init() and through qemu_pci_hot_add_storage() to pci_create().

Before, pci_device_hot_add() passed along the PCI bus to use, and
ignored any user-specified slot....

c2cc47a4 06/22/2009 06:15 pm Markus Armbruster

Support addr=... in option argument of -drive if=virtio

Make drive_init() accept addr=, put the value into struct DriveInfo.
Use it in all the places that create virtio-blk-pci devices:
pc_init1(), bamboo_init(), mpc8544ds_init().

Don't support addr= in third argument of monitor command pci_add and...

cd57c0f3 06/22/2009 06:15 pm Gleb Natapov

Don't register cpu reset handler for cpu with APIC.

APIC reset handler already resets cpu, no need to reset it twice.
Also register cpu_reset handler directly to make it impossible to
add additional code to main_cpu_reset() by mistake.

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

08b9d66b 06/22/2009 06:15 pm Anthony Liguori

Fix build on Mac OS X

Signed-off-by: Anthony Liguori <>

b09ea7d5 06/22/2009 06:15 pm Gleb Natapov

Handle init/sipi in a main cpu exec loop. (v2)

This should fix compilation problem in case of CONFIG_USER_ONLY.

Currently INIT/SIPI is handled in the context of CPU that sends IPI.
This patch changes this to handle them like all other events in a main
cpu exec loop. When KVM will gain thread per vcpu capability it will...

30868442 06/22/2009 06:15 pm Anthony Liguori

Instead of writing a zero page, madvise it away

Otherwise, after migration, we end up with a much larger RSS size then we
ought to have.

Signed-off-by: Anthony Liguori <>

9d5e77a2 06/22/2009 06:15 pm Isaku Yamahata

acpi.c: make qemu_system_device_hot_add piix independent.

introruce piix4_device_hot_add() for piix4 specific code
and make qemu_system_device_hot_add() generic.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

e16044ef 06/22/2009 06:15 pm Mark McLoughlin

virtio-net: enable mergeable receive buffers

When virtio-net was merged in from qemu-kvm.git, the VNET_HDR related
features were dropped from the code.

However, VIRTIO_NET_F_MRG_RXBUF appears to have accidentally been
dropped too. Re-instate that now.

Reported-by: Michael S. Tsirkin <>...

1be7daa9 06/22/2009 06:15 pm Isaku Yamahata

dot gitignore: add qemu-monitor.texi

add qemu-monitor.texi to .gitignore.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

4a244704 06/22/2009 06:10 pm Anthony Liguori

Disable _FORTIFY_SOURCE to fix Ubuntu build with -Werror

This eliminates the results unused warnings.

Signed-off-by: Anthony Liguori <>

406c8df3 06/22/2009 06:10 pm Glauber Costa

Make nic option rom loading less painful.

The code how it is today, is totally painful to read and keep.
To begin with, the code is duplicated with the option rom loading
code that linux_boot and vga are already using.

This patch introduces a "bootable" state in NICInfo structure,...

024431b3 06/22/2009 06:10 pm Filip Navara

Add O_BINARY to open call in net_dump_init.

Fix the pcap dumps on Win32 and other systems where O_BINARY is required.

Signed-off-by: Filip Navara <>
Signed-off-by: Anthony Liguori <>

5774cf98 06/22/2009 06:10 pm Mark McLoughlin

virtio: make vring_desc_*() take phys addrs

Change the vring descriptor helpers to take the physical
address of the descriptor table rather than a virtqueue.

This is needed in order to allow these helpers to be used
with an indirect descriptor table.

Signed-off-by: Mark McLoughlin <>...

efeea6d0 06/22/2009 06:10 pm Mark McLoughlin

virtio: add support for indirect ring entries

Support a new feature flag for indirect ring entries. These are ring
entries which point to a table of buffer descriptors.

The idea here is to increase the ring capacity by allowing a larger
effective ring size whereby the ring size dictates the number of...

6eaa6847 06/22/2009 06:10 pm Gleb Natapov

Add pci_bus_reset() function.

To reset internal irq handling data structures.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Yaniv Kamay <>
Signed-off-by: Anthony Liguori <>

d2e9fd8f 06/20/2009 04:51 am malc

Apply TCGV_UNUSED on variables that GCC mistakenly thinks can be used
uninitialized

d999f7e0 06/20/2009 04:13 am malc

Restore consistent formatting of audio devices

03dfe9f8 06/19/2009 01:51 am Riku Voipio

linux-user: strace now handles guest stringscorrectly [v2]

On Tue, Jun 16, 2009 at 08:19:23PM -0500, Anthony Liguori wrote:

malc wrote:

On my system the above line causes gcc to emit:

In file included from /home/malc/x/rcs/git/qemu/linux-user/strace.c:12:...

5d928867 06/19/2009 01:46 am Jean-Christophe Dubois

fix qemu_alloc/qemu_free for audio subsystem

Signed-off-by: Jean-Christophe DUBOIS <>

97f155dd 06/18/2009 09:57 pm Gerd Hoffmann

alsa: fix warning

Signed-off-by: Gerd Hoffmann <>

b20a0083 06/18/2009 11:28 am Edgar E. Iglesias

xilinx-eth: Remove debug print.

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

42f1ced2 06/17/2009 10:23 pm Blue Swirl

Don't set IRQs on device reset and loadvm/savevm

Signed-off-by: Blue Swirl <>

eae6bcbf 06/17/2009 08:36 pm Blue Swirl

Call piix4_reset() on system reset.

Also zero pci_irq_levels on reset to avoid stuck irq after reset.

Based on 15a1956af94e36105494f782a752698103addf63 by Gleb Natapov.

Signed-off-by: Blue Swirl <>

0d0a7e69 06/17/2009 08:20 pm Blue Swirl

Don't set IRQs on device reset and loadvm/savevm

Signed-off-by: Blue Swirl <>

15a1956a 06/17/2009 08:05 pm Gleb Natapov

Call piix3_reset() on system reset.

Also zero pci_irq_levels on reset to avoid stuck irq after reset.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Yaniv Kamay <>

c8075ac3 06/17/2009 08:05 pm Gleb Natapov

Register usb-uhci reset function.

The device is not reset on system reset currently.
Without this patch RHEL4.8 hangs after reboot if -usbdevice table
is in use.

Signed-off-by: Gleb Natapov <>

bc26e55a 06/17/2009 08:01 pm Blue Swirl

Revert "Update irqs on reset and device load"

This reverts commit 3dcd219f09d6c1817bf9a132899e6b925f7a0914.

It is incorrect to call qemu_irq functions (or any other functions that
access other device state) during savevm/loadvm.

Signed-off-by: Blue Swirl <>

727170b6 06/17/2009 06:49 pm Blue Swirl

Allow user to specify CPU model

Signed-off-by: Blue Swirl <>

19a3da7f 06/17/2009 06:27 pm Blue Swirl

Fix opening of read only raw images

Signed-off-by: Blue Swirl <>

5c55ff99 06/17/2009 06:22 pm Blue Swirl

Replace ELF section hack with normal table

Signed-off-by: Blue Swirl <>