Revision:

Revisions

# Date Author Comment
be813ef0 03/11/2014 09:52 pm Peter Maydell

Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging

acpi,pc,test bug fixes

More small fixes: the issues annoy developers so
I thought they are worth fixing quickly.

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

  1. gpg: Signature made Tue 11 Mar 2014 11:27:44 GMT using RSA key ID D28D5469...
23961870 03/11/2014 09:39 pm Peter Maydell

Merge remote-tracking branch 'remotes/kvm/uq/master' into staging

  • remotes/kvm/uq/master:
    target-i386: bugfix of Intel MPX
    file_ram_alloc: unify mem-path,mem-prealloc error handling
    kvm-all: exit in case max vcpus exceeded

Signed-off-by: Peter Maydell <>

01207d0b 03/11/2014 08:19 pm Jan Kiszka

qemu-thread-posix: Fix build against older glibc version

pthread_setname_np was introduced with 2.12.

Signed-off-by: Jan Kiszka <>
Reviewed-by: Dr. David Alan Gilbert <>
Signed-off-by: Peter Maydell <>

0ca540db 03/11/2014 03:20 pm Peter Maydell

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140310' into staging

target-arm queue: * implement WFE as yield (improves performance with emulated SMP) * fixes to avoid undefined behaviour shifting left into sign bit * libvixl format string fixes for 32 bit hosts...

ed9b103d 03/11/2014 03:03 pm Peter Maydell

Merge remote-tracking branch 'remotes/spice/tags/pull-spice-4' into staging

minor spice patches.

  1. gpg: Signature made Mon 10 Mar 2014 13:13:14 GMT using RSA key ID D3E87138
  2. gpg: Good signature from "Gerd Hoffmann (work) <>"
  3. gpg: aka "Gerd Hoffmann <>"...
c57ec324 03/11/2014 02:52 pm Peter Maydell

Merge remote-tracking branch 'remotes/kraxel/tags/pull-input-5' into staging

input: fixes for the rewrite.

  1. gpg: Signature made Mon 10 Mar 2014 12:50:25 GMT using RSA key ID D3E87138
  2. gpg: Good signature from "Gerd Hoffmann (work) <>"...
263cf436 03/11/2014 01:27 pm BALATON Zoltan

q35: Correct typo BRDIGE -> BRIDGE

Signed-off-by: BALATON Zoltan <>
Reviewed-by: Michael S. Tsirkin <>
Signed-off-by: Michael S. Tsirkin <>

b4e5a4bf 03/11/2014 01:27 pm Michael S. Tsirkin

acpi-build: don't access unaligned addresses

casting an unaligned address to e.g.
uint32_t can trigger undefined behaviour in C.
Replace cast + assignment with memcpy.

Reported-by: Peter Maydell <>
Signed-off-by: Michael S. Tsirkin <>

13f65b2e 03/11/2014 01:27 pm Michael S. Tsirkin

acpi-test: update expected SSDT files

SSDT doesn't have _SUN for non hotpluggable slots
anymore.

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

dc655404 03/11/2014 01:27 pm Michael S. Tsirkin

configure: don't modify .status on error

./configure --help
make

will try to re-run configure with --help
which isn't what was intended.

The reason is that config.status was written
even on configure error.
Defer writing config.status until configure
has completed successfully....

ac41881b 03/11/2014 01:25 pm Michael S. Tsirkin

pc: avoid duplicate names for ROM MRs

Since
commit 04920fc0faa4760f9c4fc0e73b992b768099be70
loader: store FW CFG ROM files in RAM
RAM MRs including ROM files in FW CFGs are created
and named using the file basename.

This becomes problematic if these names are...

fe6c53b4 03/11/2014 12:53 pm Peter Maydell

Merge remote-tracking branch 'remotes/kraxel/tags/pull-vnc-1' into staging

vnc dirty tracking optinizations.
various vnc bugfixes.

  1. gpg: Signature made Mon 10 Mar 2014 12:39:54 GMT using RSA key ID D3E87138
  2. gpg: Good signature from "Gerd Hoffmann (work) <>"...
b0f15a5d 03/11/2014 12:49 pm Liu, Jinsong

target-i386: bugfix of Intel MPX

The correct size of cpuid 0x0d sub-leaf 4 is 0x40, not 0x10.
This is confirmed by Anvin H Peter and Mallick Asit K.

Signed-off-by: Liu Jinsong <>
Cc: H. Peter Anvin <>
Cc: Asit K Mallick <>...

118760df 03/10/2014 09:14 pm Peter Maydell

Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging

acpi,pc,pci,virtio,memory bug fixes

This collects several small fixes from all over the place.
Additionally, Marcel's changes make acpi unit tests more robust.

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

b304bf00 03/10/2014 06:43 pm Christian Borntraeger

s390/kvm: Add Maintainers for s390/kvm

Lets add Conny and myself as maintainers for s390/kvm and
related code. This does not include any tcg related code,
which is maintained by Richard and Alex.

Signed-off-by: Christian Borntraeger <>...

3f150670 03/10/2014 06:22 pm Peter Maydell

Merge remote-tracking branch 'remotes/riku/linux-user-for-upstream' into staging

  • remotes/riku/linux-user-for-upstream:
    linux-user: set minimum kernel version to 2.6.32
    linux-user: correct handling of break exception for MIPS
    linux-user: translate signal number on return from sigtimedwait...
0c126db2 03/10/2014 05:36 pm Peter Maydell

Merge remote-tracking branch 'remotes/mcayland/qemu-openbios' into staging

  • remotes/mcayland/qemu-openbios:
    Update OpenBIOS images

Signed-off-by: Peter Maydell <>

c8f8f9fb 03/10/2014 04:56 pm Peter Maydell

hw/ssi/xilinx_spips.c: Avoid shifting left into sign bit

Add missing 'U' suffix to avoid shifting left into sign bit of
a signed integer.

Signed-off-by: Peter Maydell <>
Message-id:

2b194951 03/10/2014 04:56 pm Peter Maydell

hw/arm/musicpal: Avoid shifting left into sign bit

Add missing 'U' suffixes to avoid shifting left into sign
bit of a signed integer.

Signed-off-by: Peter Maydell <>
Message-id:

72c1d3af 03/10/2014 04:56 pm Peter Maydell

target-arm: Implement WFE as a yield operation

Implement WFE to yield our timeslice to the next CPU.
This avoids slowdowns in multicore configurations caused
by one core busy-waiting on a spinlock which can't possibly
be unlocked until the other core has an opportunity to run....

0624976f 03/10/2014 04:56 pm Richard Henderson

target-arm: Fix intptr_t vs tcg_target_long

Fixes a build error when these are different, e.g. x32.

Signed-off-by: Richard Henderson <>
Message-id:
Signed-off-by: Peter Maydell <>

b29c8f11 03/10/2014 04:56 pm Stefan Weil

libvixl: Fix format strings for several int64_t values

"%d" or "%x" won't work on hosts where int values are smaller than 64 bit.

Signed-off-by: Stefan Weil <>
Message-id:
Signed-off-by: Peter Maydell <>

43a32ed6 03/10/2014 04:56 pm Peter Maydell

pxa2xx: Don't shift into sign bit

Add missing 'U' suffixes to avoid potentially shifting into
the sign bit of a signed integer.

Signed-off-by: Peter Maydell <>
Message-id:

d2f41a11 03/10/2014 04:56 pm Peter Maydell

hw/arm/omap1.c: Avoid shifting left into sign bit

Add missing 'U' suffix to avoid shifting left into sign bit.

Signed-off-by: Peter Maydell <>
Message-id:

af519934 03/10/2014 04:56 pm Peter Maydell

target-arm: Fix incorrect setting of E bit in CPSR

Commit 4cc35614a moved the exception mask bits out of env->uncached_cpsr
and into env->daif. However the env->daif contents are AArch64 style
mask bits, which include not just the AArch32 AIF bits but also the...

7c2cb42b 03/10/2014 04:56 pm Alistair Francis

target-arm: Implements the ARM PMCCNTR register

This patch implements the ARM PMCCNTR register including
the disable and reset components of the PMCR register.

Signed-off-by: Alistair Francis <>
Message-id: ...

c9dd4074 03/10/2014 02:57 pm Stefan Weil

configure: Prettify message for hosts without spice support

Instead of

spice support     no (/)

configure now prints

spice support     no

Signed-off-by: Stefan Weil <>
Signed-off-by: Gerd Hoffmann <>

9b74d0d5 03/10/2014 02:55 pm Gerd Hoffmann

spice: QemuUIInfo windup

Signed-off-by: Gerd Hoffmann <>

4b87dc4c 03/10/2014 02:55 pm Gerd Hoffmann

spice: fix simple display surface handling

Signed-off-by: Gerd Hoffmann <>

c3aa84b6 03/10/2014 02:49 pm Gerd Hoffmann

input: sdl: fix guest_cursor logic.

Unbreaks relative mouse mode with SDL.

Reported-by: Gabriel L. Somlo <>
Signed-off-by: Gerd Hoffmann <>

dbb2a132 03/10/2014 02:49 pm Gerd Hoffmann

input: map INPUT_BUTTON_WHEEL_{UP,DOWN} to legacy input z axis moves.

Unbreaks mouse wheel.

Reported-by: BALATON Zoltan <>
Signed-off-by: Gerd Hoffmann <>

e9d818b8 03/10/2014 02:34 pm Peter Maydell

Merge remote-tracking branch 'remotes/rth/tcg-aarch-6-1' into staging

  • remotes/rth/tcg-aarch-6-1:
    tcg-aarch64: Remove nop from qemu_st slow path
    tcg-aarch64: Simplify tcg_out_ldst_9 encoding
    tcg-aarch64: Use intptr_t apropriately
    tcg-aarch64: Remove the shift_imm parameter from tcg_out_cmp...
cbc14e6f 03/10/2014 01:55 pm Riku Voipio

linux-user: set minimum kernel version to 2.6.32

Popular glibc based distributions1 require minimum
2.6.32 as kernel version. For some targets 2.6.18
would be enough, but dropping so low would mean some
suboptimal system calls could get used.

Set the minimum kernel advertized to 2.6.32 for...

16513b1b 03/10/2014 01:48 pm Peter Maydell

Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20140308-1' into staging

migration/next for 20140308

  1. gpg: Signature made Sat 08 Mar 2014 21:26:01 GMT using RSA key ID 5872D723
  2. gpg: Can't check signature: public key not found
  • remotes/juanquintela/tags/migration/20140308-1:...
2e7bcdb9 03/10/2014 01:35 pm Markus Armbruster

vnc: Fix tight_detect_smooth_image() for lossless case

VncTight member uint8_t quality is either (uint8_t)-1 for lossless or
less than 10 for lossy.

tight_detect_smooth_image() first promotes it to int, then compares
with -1. Always unequal, so we always execute the lossy code. Reads...

e3c1adf1 03/10/2014 01:35 pm Gonglei (Arei)

vnc: Fix qemu crashed when vnc client disconnect suddenly

Hi,

When I use RealVNC viewer client (http://www.realvnc.com/) to connect vnc server,
the client disconnect suddenly, and I click reconnect button immediately, then the Qemu crashed.

In the function vnc_worker_thread_loop, will call vnc_async_encoding_start...

38ee14f4 03/10/2014 01:35 pm Gerd Hoffmann

vnc: fix use-after-free in vnc_update_client_sync

Spotted by Coverity:

876 static int vnc_update_client_sync(VncState *vs, int has_dirty)
877 {

(1) Event freed_arg: "vnc_update_client(VncState *, int)" frees "vs". [details]
Also see events: [deref_arg]...

b4c85ddc 03/10/2014 01:35 pm Peter Lieven

ui/vnc: introduce VNC_DIRTY_PIXELS_PER_BIT macro

Signed-off-by: Peter Lieven <>
Reviewed-by: Wenchao Xia <>
Signed-off-by: Gerd Hoffmann <>

6cd859aa 03/10/2014 01:35 pm Peter Lieven

ui/vnc: derive cmp_bytes from VNC_DIRTY_PIXELS_PER_BIT

this allows for setting VNC_DIRTY_PIXELS_PER_BIT to different
values than 16 if desired.

Reviewed-by: Wenchao Xia <>
Signed-off-by: Peter Lieven <>
Signed-off-by: Gerd Hoffmann <>

12b316d4 03/10/2014 01:35 pm Peter Lieven

ui/vnc: optimize dirty bitmap tracking

vnc_update_client currently scans the dirty bitmap of each client
bitwise which is a very costly operation if only few bits are dirty.
vnc_refresh_server_surface does almost the same.
this patch optimizes both by utilizing the heavily optimized...

863d7c91 03/10/2014 01:35 pm Peter Lieven

ui/vnc: optimize clearing in find_and_clear_dirty_height()

The following artifical test (just the bitmap operation part) running
vnc_update_client 65536 times on a 2560x2048 surface illustrates the
performance difference:

All bits clean - vnc_update_client_new: 0.07 secs...

91937225 03/10/2014 01:35 pm Peter Lieven

ui/vnc: optimize setting in vnc_dpy_update()

Signed-off-by: Peter Lieven <>
Reviewed-by: Wenchao Xia <>
Signed-off-by: Gerd Hoffmann <>

e22492d3 03/10/2014 01:35 pm Peter Lieven

ui/vnc: disable adaptive update calculations if not needed

Signed-off-by: Peter Lieven <>
Signed-off-by: Gerd Hoffmann <>

5264917b 03/10/2014 10:48 am Mark Cave-Ayland

Update OpenBIOS images

Update OpenBIOS images to SVN r1280 built from submodule.

Signed-off-by: Mark Cave-Ayland <>

4900116e 03/09/2014 09:09 pm Dr. David Alan Gilbert

Add a 'name' parameter to qemu_thread_create

If enabled, set the thread name at creation (on GNU systems with
pthread_set_np)
Fix up all the callers with a thread name

Signed-off-by: Dr. David Alan Gilbert <>
Acked-by: Michael S. Tsirkin <>...

4a4fcdf6 03/09/2014 09:09 pm Michael S. Tsirkin

MAINTAINERS: drop an out of date address

Gleb's address seems to be out of date. Since it stayed like that for a
while now, I'm guessing he's no longer interested in getting mail.

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

262f6f51 03/09/2014 09:09 pm Marcel Apfelbaum

acpi-test: retain both asl and aml files on failure

Updated the error message while at it.

Signed-off-by: Marcel Apfelbaum <>
Reviewed-by: Michael S. Tsirkin <>
Signed-off-by: Michael S. Tsirkin <>

15d914b1 03/09/2014 09:09 pm Marcel Apfelbaum

acpi-test: issue errors instead of warnings when possible

If the expected (offline) acpi tables loaded correctly,
it is safe to assume the iasl installation is OK and
issue an error if the actual tables failed to load.

Signed-off-by: Marcel Apfelbaum <>...

175f099b 03/09/2014 09:09 pm Hervé Poussineau

pam: partly fix write-only mode

In write-only mode, writes are forwarded to RAM, while reads should not be
handled (ie should return 0xff).
Assume that in this mode, no read access is ever done, as they shouldn't
give any sensible result.

So, in write-only mode, alias PAM region to RAM, instead of PCI memory...

f1b7e0e4 03/09/2014 09:09 pm Hervé Poussineau

pckbd: return 'keyboard enabled' on read input port command

Bit 7 of Input Port is the keyboard inhibit switch.
0 means keyboard inhibited, while 1 means keyboard enabled.

Incidentaly, this also fixes an error encountered while booting
an Award BIOS: "Keyboard is locked out - Unlock the key"....

1 2 3 ... 631 Next » (1-50/31548) | Per page: 25, 50, 100

Also available in: Atom