Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
acpi,pc,test bug fixes
More small fixes: the issues annoy developers soI thought they are worth fixing quickly.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Merge remote-tracking branch 'remotes/kvm/uq/master' into staging
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
qemu-thread-posix: Fix build against older glibc version
pthread_setname_np was introduced with 2.12.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
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...
Merge remote-tracking branch 'remotes/spice/tags/pull-spice-4' into staging
minor spice patches.
Merge remote-tracking branch 'remotes/kraxel/tags/pull-input-5' into staging
input: fixes for the rewrite.
q35: Correct typo BRDIGE -> BRIDGE
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>Reviewed-by: Michael S. Tsirkin <mst@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
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 <peter.maydell@linaro.org>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
acpi-test: update expected SSDT files
SSDT doesn't have _SUN for non hotpluggable slotsanymore.
configure: don't modify .status on error
./configure --helpmake
will try to re-run configure with --helpwhich isn't what was intended.
The reason is that config.status was writteneven on configure error.Defer writing config.status until configurehas completed successfully....
pc: avoid duplicate names for ROM MRs
Sincecommit 04920fc0faa4760f9c4fc0e73b992b768099be70 loader: store FW CFG ROM files in RAMRAM MRs including ROM files in FW CFGs are createdand named using the file basename.
This becomes problematic if these names are...
Merge remote-tracking branch 'remotes/kraxel/tags/pull-vnc-1' into staging
vnc dirty tracking optinizations.various vnc bugfixes.
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 <jinsong.liu@intel.com>Cc: H. Peter Anvin <hpa@zytor.com>Cc: Asit K Mallick <asit.k.mallick@intel.com>...
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 <mst@redhat.com>...
s390/kvm: Add Maintainers for s390/kvm
Lets add Conny and myself as maintainers for s390/kvm andrelated code. This does not include any tcg related code,which is maintained by Richard and Alex.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>...
Merge remote-tracking branch 'remotes/riku/linux-user-for-upstream' into staging
Merge remote-tracking branch 'remotes/mcayland/qemu-openbios' into staging
hw/ssi/xilinx_spips.c: Avoid shifting left into sign bit
Add missing 'U' suffix to avoid shifting left into sign bit ofa signed integer.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Message-id: 1392988008-15938-4-git-send-email-peter.maydell@linaro.org
hw/arm/musicpal: Avoid shifting left into sign bit
Add missing 'U' suffixes to avoid shifting left into signbit of a signed integer.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Message-id: 1392988008-15938-5-git-send-email-peter.maydell@linaro.org
target-arm: Implement WFE as a yield operation
Implement WFE to yield our timeslice to the next CPU.This avoids slowdowns in multicore configurations causedby one core busy-waiting on a spinlock which can't possiblybe unlocked until the other core has an opportunity to run....
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 <rth@twiddle.net>Message-id: 1394043257-4800-1-git-send-email-rth@twiddle.netSigned-off-by: Peter Maydell <peter.maydell@linaro.org>
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 <sw@weilnetz.de>Message-id: 1394219753-26106-1-git-send-email-sw@weilnetz.deSigned-off-by: Peter Maydell <peter.maydell@linaro.org>
pxa2xx: Don't shift into sign bit
Add missing 'U' suffixes to avoid potentially shifting intothe sign bit of a signed integer.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Message-id: 1392988008-15938-2-git-send-email-peter.maydell@linaro.org
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 <peter.maydell@linaro.org>Message-id: 1392988008-15938-3-git-send-email-peter.maydell@linaro.org
target-arm: Fix incorrect setting of E bit in CPSR
Commit 4cc35614a moved the exception mask bits out of env->uncached_cpsrand into env->daif. However the env->daif contents are AArch64 stylemask bits, which include not just the AArch32 AIF bits but also the...
target-arm: Implements the ARM PMCCNTR register
This patch implements the ARM PMCCNTR register includingthe disable and reset components of the PMCR register.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>Message-id: bbf405e1feaf352cf39d5db402c9efcbd0f57c78.1393459802.git.alistair.francis@xilinx.com...
configure: Prettify message for hosts without spice support
Instead of
spice support no (/)
configure now prints
spice support no
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
spice: QemuUIInfo windup
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
spice: fix simple display surface handling
input: sdl: fix guest_cursor logic.
Unbreaks relative mouse mode with SDL.
Reported-by: Gabriel L. Somlo <gsomlo@gmail.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
input: map INPUT_BUTTON_WHEEL_{UP,DOWN} to legacy input z axis moves.
Unbreaks mouse wheel.
Reported-by: BALATON Zoltan <balaton@eik.bme.hu>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Merge remote-tracking branch 'remotes/rth/tcg-aarch-6-1' into staging
linux-user: set minimum kernel version to 2.6.32
Popular glibc based distributions1 require minimum2.6.32 as kernel version. For some targets 2.6.18would be enough, but dropping so low would mean somesuboptimal system calls could get used.
Set the minimum kernel advertized to 2.6.32 for...
Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20140308-1' into staging
migration/next for 20140308
vnc: Fix tight_detect_smooth_image() for lossless case
VncTight member uint8_t quality is either (uint8_t)-1 for lossless orless than 10 for lossy.
tight_detect_smooth_image() first promotes it to int, then compareswith -1. Always unequal, so we always execute the lossy code. Reads...
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...
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]...
ui/vnc: introduce VNC_DIRTY_PIXELS_PER_BIT macro
Signed-off-by: Peter Lieven <pl@kamp.de>Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/vnc: derive cmp_bytes from VNC_DIRTY_PIXELS_PER_BIT
this allows for setting VNC_DIRTY_PIXELS_PER_BIT to differentvalues than 16 if desired.
Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>Signed-off-by: Peter Lieven <pl@kamp.de>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/vnc: optimize dirty bitmap tracking
vnc_update_client currently scans the dirty bitmap of each clientbitwise 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...
ui/vnc: optimize clearing in find_and_clear_dirty_height()
The following artifical test (just the bitmap operation part) runningvnc_update_client 65536 times on a 2560x2048 surface illustrates theperformance difference:
All bits clean - vnc_update_client_new: 0.07 secs...
ui/vnc: optimize setting in vnc_dpy_update()
ui/vnc: disable adaptive update calculations if not needed
Signed-off-by: Peter Lieven <pl@kamp.de>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Update OpenBIOS images
Update OpenBIOS images to SVN r1280 built from submodule.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
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 <dgilbert@redhat.com>Acked-by: Michael S. Tsirkin <mst@redhat.com>...
MAINTAINERS: drop an out of date address
Gleb's address seems to be out of date. Since it stayed like that for awhile now, I'm guessing he's no longer interested in getting mail.
acpi-test: retain both asl and aml files on failure
Updated the error message while at it.
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>Reviewed-by: Michael S. Tsirkin <mst@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
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 andissue an error if the actual tables failed to load.
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>...
pam: partly fix write-only mode
In write-only mode, writes are forwarded to RAM, while reads should not behandled (ie should return 0xff).Assume that in this mode, no read access is ever done, as they shouldn'tgive any sensible result.
So, in write-only mode, alias PAM region to RAM, instead of PCI memory...
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 bootingan 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