Statistics
| Branch: | Revision:

root @ 5ee8ad71

# Date Author Comment
5ee8ad71 04/18/2011 08:46 pm Alex Williamson

PXE: Use consistent naming for PXE ROMs

And add missing ROMs to tarbin build target.

Signed-off-by: Alex Williamson <>

31a44434 04/08/2011 10:03 pm Alex Williamson

Add ipxe submodule

Signed-off-by: Alex Williamson <>

69577857 04/08/2011 01:20 pm David Gibson

ppce500_mpc8544ds: Fix compile with --enable-debug and --disable-kvm

When configured with --enable-debug, we compile without optimization.
This means that the function mpc8544_copy_soc_cell() in ppce500_mpc8544ds.c
is not optimized out, even though it is never called without kvm. That in...

c7a5c0c9 04/08/2011 12:32 pm David Gibson

pseries: Abolish envs array

Currently the pseries machine init code builds up an array, envs, of
CPUState pointers for all the cpus in the system. This is kind of
pointless, given the generic code already has a perfectly good linked list
of the cpus.

In addition, there are a number of places which assume that the cpu's...

a3467baa 04/08/2011 12:32 pm David Gibson

Delay creation of pseries device tree until reset

At present, the 'pseries' machine creates a flattened device tree in the
machine->init function to pass to either the guest kernel or to firmware.

However, the machine->init function runs before processing of -device...

3601ff11 04/08/2011 12:32 pm David Gibson

Use existing helper function to implement popcntd instruction

The recent patches adding partial support for POWER7 cpu emulation included
implementing the popcntd instruction. The support for this was open coded,
but host-utils.h already included a function implementing an equivalent...

64a4d100 04/08/2011 12:32 pm Scott Wood

Don't call cpu_synchronize_state() from machine init.

This will deadlock when the I/O thread is used, since the
CPU thread is blocked waiting for qemu_system_ready.

The synchronization is unnecessary since this is before
cpu_synchronize_all_post_init()....

8804f57b 04/08/2011 12:32 pm Stefan Weil

spapr_vscsi: Set uninitialized variable

cppcheck reports this error:

hw/spapr_vscsi.c:274: error: Uninitialized variable: rc

If llen == 0, rc was indeed used without being initialized.

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

f124a410 04/07/2011 05:56 pm Anthony Liguori

Merge remote branch 'kwolf/for-anthony' into staging

52c05023 04/07/2011 04:55 pm Christoph Hellwig

virtio-blk: fail unaligned requests

Like all block drivers virtio-blk should not allow small than block size
granularity access. But given that the protocol specifies a
byte unit length field we currently accept such requests, which cause
qemu to abort() in lower layers. Add checks to the main read and...

62a2ab6a 04/07/2011 04:25 pm Brad Hards

usb-ccid: Spelling fixes

While looking at David Gibson's build-fix for hw/usb-ccid.c, I noticed a spello
in a comment on the following (unchanged) line.

Signed-off-by: Brad Hards <>
Signed-off-by: Stefan Hajnoczi <>

3b29a101 04/07/2011 04:25 pm Michael Tokarev

qdev: Fix comment around qdev_init_nofail()

In previous life qdev_init_nofail() used to call hw_error() which
did register dump and other scary things. Now it calls
error_report() and does a regular exit(1). Fix the comment
to match reality.

Signed-off-by: Michael Tokarev <>...

fa227023 04/07/2011 04:25 pm Alexey Kardashevskiy

spapr_llan: Fix warning when compiled with -dDEBUG

Compiling with the DEBUG macro causes leaves hw/spapr_llan.c with an
unused variable, which is treated as an error in the qemu build.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: David Gibson <>...

4e37bfc1 04/07/2011 04:25 pm Alexey Kardashevskiy

virtio-9p: fixed LE-to-host conversion bug when QEMU is called from guest

The 9p code already contains an attempt at the necessary endian
conversions, but it's broken.

The code which does conversion from host to guest does it correctly
and this code was copied to the function which does guest to host...

e54f1771 04/07/2011 04:25 pm Alexey Kardashevskiy

virtio-balloon: fixed endianness bug in the config space

The specification for the virtio balloon device requres that the values
in the config space be encoded little-endian. This differs from most
virtio things, where guest-native endian is the norm.

Currently, the qemu virtio-balloon code correctly makes the conversion...

eb863add 04/07/2011 02:51 pm Kevin Wolf

qemu-img rebase: Fix segfault if backing file can't be opened

bdrv_delete must not be called for a NULL BlockDriverState.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

e2982c3a 04/07/2011 02:51 pm Michael Tokarev

exit if -drive specified is invalid instead of ignoring the "wrong" -drive

This fixes the problem when qemu continues even if -drive specification
is somehow invalid, resulting in a mess. Applicable for both current
master and for stable-0.14 (and the same issue exist 0.13 and 0.12 too)....

75717903 04/07/2011 02:51 pm Isaku Yamahata

ide: consolidate drive_get(IF_IDE)

factor out ide initialization to call drive_get(IF_IDE)

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Kevin Wolf <>

b2e3d87f 04/07/2011 02:51 pm Nick Thomas

NBD library: whitespace changes

Signed-off-by: Nick Thomas <>
Signed-off-by: Kevin Wolf <>

b82eac92 04/07/2011 02:51 pm Nick Thomas

Set errno=ENOTSUP for attempts to use UNIX sockets on Windows platforms

Signed-off-by: Nick Thomas <>
Signed-off-by: Kevin Wolf <>

c12504ce 04/07/2011 02:51 pm Nick Thomas

NBD: Use qemu_socket functions to open TCP and UNIX sockets

This commit has the side-effect of making the qemu-nbd binary
capable of binding to IPv6 addresses. ("-b ::1", for instance).
block/nbd.c fails to parse IPv6 IP addresses correctly at this
point, but will work over IPv6 when given a hostname. It still...

33897dc7 04/07/2011 02:51 pm Nick Thomas

NBD device: Separate out parsing configuration and opening sockets.

We also change the way the file parameter is parsed so IPv6 IP
addresses can be used, e.g.: "drive=nbd:[::1]:5000"

Signed-off-by: Nick Thomas <>
Signed-off-by: Kevin Wolf <>

7d905f71 04/07/2011 02:51 pm Jason Wang

floppy: save and restore DIR register

We need to keep DIR register unchanged across migration, but currently it
depends on the media_changed flags from block layer. Since we do not
save/restore it and the bdrv_open() called in dest node may set the
media_changed flag when trying to open floppy image, guest driver may think the...

155eb9aa 04/07/2011 02:51 pm Avishay Traeger

Fix integer overflow in block migration bandwidth calculation

block_mig_state.reads is an int, and multiplying by BLOCK_SIZE yielded a
negative number, resulting in a negative bandwidth (running on a 32-bit
machine). Change order to avoid.

Signed-off-by: Avishay Traeger <>...

f6ec953c 04/07/2011 02:51 pm Feiran Zheng

hw/xen_disk: ioreq not finished on error

Bug fix: routines 'ioreq_runio_qemu_sync' and 'ioreq_runio_qemu_aio'
won't call 'ioreq_unmap' or 'ioreq_finish' on errors, leaving ioreq in
the blkdev->inflight list and a leak.

Signed-off-by: Feiran Zheng <>...

d22b2f41 04/07/2011 02:51 pm Ryan Harper

Do not delete BlockDriverState when deleting the drive

When removing a drive from the host-side via drive_del we currently have
the following path:

drive_del
qemu_aio_flush()
bdrv_close() // zaps bs->drv, which makes any subsequent I/O get
// dropped. Works as designed...

b8c6d095 04/07/2011 02:51 pm Stefan Hajnoczi

trace: Trace bdrv_set_locked()

It can be handy to know when the guest locks/unlocks the CD-ROM tray.
This trace event makes that possible.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

46a4e4e6 04/07/2011 02:51 pm Stefan Hajnoczi

block: Do not cache device size for removable media

The block layer caches the device size to avoid doing lseek(fd, 0,
SEEK_END) every time this value is needed. For removable media the
device size becomes stale if a new medium is inserted. This patch
simply prevents device size caching for removable media....

6b837bc4 04/07/2011 02:51 pm Jes Sorensen

qemu-img: Initial progress printing support

This adds the basic infrastructure for supporting progress output
on the command line, as well as progress support for qemu-img commands
'rebase' and 'convert'.

Signed-off-by: Jes Sorensen <>...

3b8e6a2d 04/07/2011 11:53 am Edgar E. Iglesias

exec: Handle registrations of the entire address space

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

99123e13 04/07/2011 11:50 am Mike Frysinger

configure: add --version flag

Standard autoconf scripts include a --version flag so people can easily
query things. Add this to qemu's configure so it too can integrate with
build systems that have standard autotool helpers.

Signed-off-by: Mike Frysinger <>...

c8f930c0 04/04/2011 10:14 pm Peter Maydell

cpu-all.h: Remove unnecessary target-specific ifdef for CPU_QuadU

CPU_QuadU isn't used on all targets, but there's no harm in defining the
typedef anyway. It only needs to be guarded by CONFIG_SOFTFLOAT, because
softfloat-native doesn't have a float128 type. This avoids the need for...

947a2fa2 04/04/2011 09:18 pm Peter Maydell

target-arm: Use global env in iwmmxt_helper.c helpers

Use the global 'env' variable in the helper functions in iwmmxt_helper.c.
This means we don't need to pass env as an argument to them any more.

Signed-off-by: Peter Maydell <>...

cc49f217 04/04/2011 09:18 pm Peter Maydell

target-arm: Make Neon helper routines use correct FP status

Make the Neon helper routines use the correct FP status from
the CPUEnv rather than using a dummy static one. This means
they will correctly handle denormals and NaNs and will set
FPSCR exception bits properly....

348883d4 04/04/2011 09:18 pm Peter Maydell

Makefile.target: Allow target helpers to be in any *_helper.c file

Build all files matching *_helper.c with HELPER_CFLAGS, not just
op_helper.c. This allows you to put target helper functions which
use the global 'env' variable in multiple source files.
...

2a3f75b4 04/04/2011 09:18 pm Peter Maydell

target-arm: Use global env in neon_helper.c helpers

Use the global 'env' variable in the helper functions in neon_helper.c.
This means we don't need to pass env as an argument to them any more.

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

c53c1258 04/04/2011 03:43 pm David Gibson

Fix non-portable format string in usb-ccid.c

At one point, usb-ccid.c attempts to use a %lX format specifier to print
a uint64_t, which is only correct on some host platforms. This patch
corrects the statement to use the stdint specified PRIX64 constant instead....

5052d227 04/04/2011 11:26 am Michael Walle

lm32: add support for the Milkymist board

This patch adds almost complete support for the Milkymist system-on-chip
(http://www.milkymist.org).

Additional to running bare metal applications, booting a linux kernel with
initrd is supported.

Signed-off-by: Michael Walle <>...

d118aa6b 04/04/2011 11:26 am Michael Walle

MAINTAINERS: add Milkymist board

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

25a8bb96 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist AC97 support

This patch adds support for the Milkymist AC97 compatible sound output and
input core.

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

e4dc6d2c 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist HPDMC support

This patch adds support for the Milkymist's High Performance Dynamic Memory
Controller. This is just a dumb model without any functionality. While the
real hardware acts for example as a bridge between software and hardware...

b4e37d98 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist memory card support

This patch adds support for Milkymist's memory card core.

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

07424544 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist Minimac support

This patch adds support for Milkymist's minimal Ethernet MAC.

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

5ee18b9c 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist PFPU support

This patch adds support for Milkymist's Programmable FPU.

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

87a381ec 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist SoftUSB support

This patch adds support for Milkymist's SoftUSB core. This model differ
from the real hardware in its functionality. The real hardware consits of a
tiny freely programmable microcontroller which controls the USB ports. For...

96832424 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist System Controller support

This patch adds support for Milkymist's System Controller core. The model
has the following features:
- support for shutting down and restarting the board
- provide two timers and GPIO
- provide registers for system identification and reading the boards...

20ff075b 04/04/2011 11:26 am Michael Walle

configure: add opengl detection

This patch introduce a new config option CONFIG_OPENGL.

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

0670dadd 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist TMU2 support

This patch adds support for Milkymist's texture mapping unit. For fast
computation this model needs hardware accelerated 3D graphics support
(OpenGL). There is no graphical output, all computations belong to internal
framebuffers only....

883de16b 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist UART support

This patch adds support for Milkymist's simple UART.

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

d23948b1 04/04/2011 11:26 am Michael Walle

lm32: add Milkymist VGAFB support

This patch adds support for Milkymist's VGA framebuffer.

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

38d33393 04/04/2011 11:26 am Michael Walle

lm32: add milkymist hw support functions

This patch adds wrappers for easy creation of the qdev devices.

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

449aa4a4 04/04/2011 08:14 am Aurelien Jarno

Revert "ioapic: when switches to level trigger mode, interrupts raised repeatedly."

This reverts commit 9bcfc7daabb138b0fe3d64d74892942d482e5bbd.

490f4edc 04/04/2011 01:34 am Ulrich Hecht

s390x: enable CPU_QuadU

S390x uses the QuadU type, so let's enable it.

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Aurelien Jarno <>

db500609 04/04/2011 01:34 am Ulrich Hecht

s390x: Enable disassembler for s390x

This patch enables the instruction disassembler when using an
S390x target.

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Aurelien Jarno <>

bc434676 04/04/2011 01:34 am Ulrich Hecht

s390x: Enable nptl for s390x

S390x user emulation can do nptl. Reflect this in the configure script.

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Aurelien Jarno <>

359507ee 04/04/2011 01:34 am Alexander Graf

s390x: fix KVM target

During Jan's rework of the generic KVM layer, he added some more error checks
and actually aborted if something went wrong. Unfortunately, one of the s390
internal error codes slipped through, aborting the VM without needing to.

This patch fixes booting of S390x virtual machines in KVM....

6be9b414 04/04/2011 01:34 am Alexander Graf

s390x: fix s390-virtio-serial

Commit 6b331efb733a0f913ddc0b7762a1307dec304061 broke the s390 proxy version
of virtio-serial by only taking its PCI brother into account.

So let's adjust s390-virtio-serial the same way as its PCI counterpart, making
it compile and work again....

29f82b37 04/04/2011 01:34 am Alexander Graf

virtio: use generic name when possible

We have two different virtio buses: pci and s390. The abstraction path
taken in qemu is to have generic aliases for each device type in the
architecture specific qdev devices.

So let's make use of these aliases whenever we can and define them...

1b01b4e7 04/04/2011 01:34 am Alexander Graf

Only build ivshmem when CONFIG_PCI && CONFIG_KVM

The ivshmem depends on PCI and KVM, not only KVM. Reflect this
in the Makefile, so we don't get build errors on s390x.

Signed-off-by: Alexander Graf <>
CC: Cam Macdonell <>
CC: Juan Quintela <>...

6d65516f 04/04/2011 01:29 am Stefan Weil

w32: Fix compilation (wrong include file)

arpa/inet.h is not available for w32, so commit
edbb21363fbfe40e050f583df921484cbc31c79d breaks
w32 compilations.

This is fixed by using qemu_socket.h.

Signed-off-by: Stefan Weil <>
Reviewed-by: Alon Levy <>...

0ce235a7 04/04/2011 01:26 am Gleb Natapov

register signal handler after initializing SDL.

SDL library initialization mangles signal handlers, so QEMU should
register them after initializing SDL. This was the case before and code
even have a comment about that. Fix it to be so again.

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

f1d3fb04 04/04/2011 01:24 am Peter Maydell

vl.c: Tidy up message printed when we exit on a signal

Tidy up the message printed when qemu exits due to a signal, so that
it's clearer where the message is coming from and that it's not just
stray debug output.

Signed-off-by: Peter Maydell <>...

22156ab4 04/04/2011 01:17 am Stefan Hajnoczi

net: Remove unused net-checksum.c file

The common checksum functions were moved to net/checksum.c in commit
7200ac3c7c8eefe574193b49eeff09f120e11ec7 but the original net-checksum.c
was never deleted from the source tree. Remove it now since all users
of the checksum functions link against net/checksum.o and net-checksum.c...

d17161f6 04/04/2011 01:15 am Kevin Wolf

e1000: Mask out lower bits of RDBAL/TDBAL

Rx and Tx descriptors are 16 byte aligned, so the lower bits are
ignored by real hardware. In fact, they always read back as zero on real
hardware, but probably nobody relies on that.

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

425189a8 04/04/2011 12:57 am Jan Kiszka

gdbstub: Catch and report more vmstop reasons

When the VM goes into stop state while there is a gdb frontend attached,
it makes sense to inform gdb about this fact and at least a bit about
the stop reason. Basically, all stops are interesting except for the...

2917dce4 04/03/2011 10:58 pm Stefan Weil

tests/cris: Fix some errors and potential crashes

These errors were reported by cppcheck:

tests/cris/check_openpf1.c:30: error:
Mismatching allocation and deallocation: f

tests/cris/check_openpf2.c:13: error:
Mismatching allocation and deallocation: f
...

9bcfc7da 04/03/2011 10:52 pm Isaku Yamahata

ioapic: when switches to level trigger mode, interrupts raised repeatedly.

- the trigger mode is edge at first
- During initializatoin, the interrupt is raised as edge which is masked.
The corresponding bit of irr is set.
- Then the mode is switched to level and it's unmasked....

4ff9786c 04/03/2011 10:42 pm Stefan Weil

Fix trivial "endianness bugs"

Replace endianess -> endianness.

Signed-off-by: Stefan Weil <>
Signed-off-by: Aurelien Jarno <>

2055283b 04/03/2011 07:04 pm Peter Maydell

hw/vexpress.c: Add model of ARM Versatile Express board

Add a model of the ARM Versatile Express board (with A9MPx4
daughterboard).

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

0e326109 04/03/2011 06:19 pm Peter Maydell

target-arm: Fix VCLE.F32 #0, VCLT.F32 #0 NaN handling

Implementing the floating-point versions of VCLE #0 and VCLT #0 by
doing a GT comparison and inverting the result gives the wrong
result if the input is a NaN. Implement as a GT comparison with the
operands swapped instead....

79c18be7 04/03/2011 06:19 pm Peter Maydell

target-arm: Correct ABD's handling of negative zeroes

Implement ABD by taking the absolute value of the difference
of the operands (as the ARM ARM specifies) rather than by
flipping the order of the operands to the subtract based
on the results of a comparison. The latter approch gives...

274f1b04 04/03/2011 06:19 pm Peter Maydell

softfloat: Add float*_min() and float*_max() functions

Add min and max operations to softfloat. This allows us to implement
propagation of NaNs and handling of negative zero correctly (unlike
the approach of having target helper routines return one of the operands...

4a9f9cb2 04/03/2011 06:19 pm Peter Maydell

target-arm: Use new softfloat min/max functions for VMAX, VMIN

Use the new softfloat min/max functions to implement the Neon VMAX
and VMIN instructions. This allows us to get the right behaviour
for NaN and negative zero.

Signed-off-by: Peter Maydell <>...

622465e1 04/03/2011 06:19 pm Peter Maydell

target-arm/helper.c: For float-int conversion helpers pass ints as ints

Correct the argument and return types for the float<->int conversion helper
functions so that integer arguments and return values are declared as
uint32_t/uint64_t, not float32/float64. This allows us to remove the...

c7498dae 04/03/2011 06:05 pm Peter Maydell

target-arm: Return right result for Neon comparison with NaNs

Fix the helper functions implementing the Neon floating point comparison
ops (VCGE, VCGT, VCEQ, VACGT, VACGE) to return the right answer when
one of the values being compared is a NaN.

Signed-off-by: Peter Maydell <>...

51d85267 04/03/2011 06:04 pm Peter Maydell

target-arm/neon_helper.c: Use make_float32/float32_val macros

Use the softfloat make_float32 and float32_val macros to convert between
softfloat's float32 type and raw uint32_t types, rather than private
conversion functions.

Signed-off-by: Peter Maydell <>...

2ac85b93 04/02/2011 03:07 am Robert Relyea

libcacard: add vscclient

client to talk to ccid-card-passthru and use smartcard on client to
perform actual operations.

v23->v24 changes: (Jes Sorensen review 2) * use qemu_socket instead of socket * use fprintf(stderr,..) for errors * remove unneccessary includes since using qemu_common.h

65794b43 04/02/2011 03:07 am Robert Relyea

libcacard: add docs

585738a6 04/02/2011 03:07 am Alon Levy

ccid: add ccid-card-emulated device

This devices uses libcacard (internal) to emulate a smartcard conforming
to the CAC standard. It attaches to the usb-ccid bus. Usage instructions
(example command lines) are in the following patch in docs/ccid.txt. It
uses libcacard which uses nss, so it can work with both hw cards and...

1056c02b 04/02/2011 03:07 am Alon Levy

ccid: add docs

Add documentation for the usb-ccid device and accompanying two card
devices, ccid-card-emulated and ccid-card-passthru.

Signed-off-by: Alon Levy <>

f20600f2 04/02/2011 03:07 am Alon Levy

trace: move trace objects from Makefile to Makefile.objs

65097429 04/02/2011 03:07 am Alon Levy

qemu-thread.h: include inttypes.h

qemu-thread.h relies on uint64_t being defined, but doesn't include
inttypes.h explicitly. This makes it easier to use it from vscclient (part
of libcacard).

36707144 04/02/2011 03:07 am Alon Levy

usb-ccid: add CCID bus

A CCID device is a smart card reader. It is a USB device, defined at [1].
This patch introduces the usb-ccid device that is a ccid bus. Next patches will
introduce two card types to use it, a passthru card and an emulated card.

[1] http://www.usb.org/developers/devclass_docs/DWG_Smart-Card_CCID_Rev110....
0c165247 04/02/2011 03:07 am Alon Levy

introduce libcacard/vscard_common.h


Signed-off-by: Alon Levy <>

v20->v21 changes: (Jes Sorensen review) * license set to 2+ * long comment fixes, remove empty line at eof. * add reference to COPYING

v19->v20 changes: * checkpatch.pl...

edbb2136 04/02/2011 03:07 am Alon Levy

ccid: add passthru card device

The passthru ccid card is a device sitting on the usb-ccid bus and
using a chardevice to communicate with a remote device using the
VSCard protocol defined in libcacard/vscard_common.h

Usage docs available in following patch in docs/ccid.txt...

111a38b0 04/02/2011 03:07 am Robert Relyea

libcacard: initial commit

libcacard emulates a Common Access Card (CAC) which is a standard
for smartcards. It is used by the emulated ccid card introduced in
a following patch. Docs are available in docs/libcacard.txt

Signed-off-by: Alon Levy <>...

f68b9d67 04/01/2011 11:53 pm Peter Maydell

net: Improve the warnings for dubious command line option combinations

Improve the warnings we give if the user specified a combination of -net
options which don't make much sense: * Don't warn about anything if the config is the implicit default
"-net user -net nic" rather than one specified by the user (this will...

e6b3c8ca 04/01/2011 11:42 pm Peter Maydell

hw/versatilepb, realview: Fix condition for instantiation of onboard NIC

Correct the condition determining whether we instantiate the onboard
NIC or a PCI card NIC on VersatilePB and Realview boards. This was broken
in two ways:
(1) if the user asked for two default NICs ("-net nic -net nic") we would...

366c9332 04/01/2011 11:35 pm Michael Brown

pcnet: Fix sign extension: make ipxe work with >2G RAM

The problem is with definitions in hw/pcnet.c such as:

#define CSR_CRDA(S)      ((S)->csr[28] | ((S)->csr[29] << 16))

"(S)->csr29" is a uint16_t, but "(S)->csr29 << 16" gets promoted to
int, so the overall CSR_CRDA(s) is a (signed) int rather than a uint32_t....

8e18cde3 04/01/2011 11:33 pm Peter Maydell

target-arm: Fix VLD of single element to all lanes

Fix several bugs in VLD of single element to all lanes:

The "single element to all lanes" form of VLD1 differs from those for
VLD2, VLD3 and VLD4 in that bit 5 indicates whether the loaded element
should be written to one or two Dregs (rather than being a register...

e318a60b 04/01/2011 11:33 pm Peter Maydell

target-arm: Don't leak TCG temp for UNDEFs in Neon load/store space

Move the allocation and freeing of the TCG temp used for the address for
Neon load/store instructions so that we don't allocate the temporary
until we've done enough decoding to know that the instruction is not...

ac60cc18 04/01/2011 11:32 pm Tristan Gingold

Fix net_check_clients warnings: make it per vlan.

Signed-off-by: Tristan Gingold <>
Reviewed-by: Markus Armbruster <>
Signed-off-by: Aurelien Jarno <>

ee7495d3 04/01/2011 11:29 pm Leszek Grzegorek

vnc: added missing name->keysym pairs for Polish national characters

There are no { name, keysym } values in name2keysym[] array for Polish
national characters so "-k pl" option has no effect.

Signed-off-by: Leszek Grzegorek <>...

8cffde73 04/01/2011 11:23 pm Michael Tokarev

get rid of private bitmap functions in block/sheepdog.c, use generic ones

qemu now has generic bitmap functions,
so don't redefine them in sheepdog.c,
use common header instead. A small cleanup.

Here's only one function which is actually
used in sheepdog and gets replaced with...

508240c0 04/01/2011 11:14 pm Bernhard Kohl

lsi53c895a: add support for ABORT messages

If these messages are not handled correctly the guest driver may hang.

Always mandatory:
- ABORT
- BUS DEVICE RESET

Mandatory if tagged queuing is implemented (which disks usually do):
- ABORT TAG
- CLEAR QUEUE...

59df4c11 04/01/2011 11:08 pm Wen Congyang

fix build errors when we enable acpi_piix4 debug

I enable acpi_piix4 debug, and got the following build errors:
  1. make
    CC libhw64/acpi_piix4.o
    cc1: warnings being treated as errors
    /home/wency/source/qemu/hw/acpi_piix4.c: In function ‘pm_ioport_write’:...
09cec717 04/01/2011 10:53 pm Stefan Weil

ui/sdl: Load optional QEMU icon

Load an optional QEMU icon file. If there is no icon file named
qemu.bmp in QEMU's default search path, QEMU will run with
the usual system default icon.

A matching icon file will be loaded and used by X Windows managers...

d818bfc5 04/01/2011 09:04 pm Aurelien Jarno

pc-bios/spapr-rtas.bin: remove executable flag

Signed-off-by: Aurelien Jarno <>

ed120055 04/01/2011 07:34 pm David Gibson

Implement PAPR VPA functions for pSeries shared processor partitions

Shared-processor partitions are those where a CPU is time-sliced between
partitions, rather than being permanently dedicated to a single
partition. qemu emulated partitions, since they are just scheduled with...

a9f8ad8f 04/01/2011 07:34 pm David Gibson

Add SLOF-based partition firmware for pSeries machine, allowing more boot options

Currently, the emulated pSeries machine requires the use of the
-kernel parameter in order to explicitly load a guest kernel. This
means booting from the virtual disk, cdrom or network is not possible....