[Qemu-devel] [PATCH] xen: remove unused global, xen_xcg

2014-05-03 Thread Stefan Weil
From: Jim Meyering meyer...@redhat.com Reviewed-by: Stefan Weil s...@weilnetz.de Signed-off-by: Jim Meyering meyer...@redhat.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- I rebased this rather old trivial patch - it still applies. Stefan hw/xen/xen_backend.c |1 -

[Qemu-devel] [PATCH] qemu-timer: Add missing 'static' attribute

2014-05-03 Thread Stefan Weil
This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil s...@weilnetz.de --- qemu-timer.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-timer.c b/qemu-timer.c index e15ce47..9be1a41 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@

Re: [Qemu-devel] [Qemu-trivial] [PATCH] docs/memory.txt: old_portio has gone, so don't mention it

2014-05-03 Thread Michael Tokarev
28.04.2014 14:53, Peter Maydell wrote: The old_portio mechanism in the memory API has been removed, but we forgot to update the documentation to match. Remove the stray reference to this now-vanished bit of back-compatibility API. Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] qmp: Report path ambiguity error.

2014-05-03 Thread Michael Tokarev
29.04.2014 02:46, Hani Benhabiles wrote: Signed-off-by: Hani Benhabiles h...@linux.com Suggested-by: Andreas Färber afaer...@suse.de --- qmp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qmp.c b/qmp.c index 74107be..0d49abf 100644 --- a/qmp.c +++ b/qmp.c @@

Re: [Qemu-devel] [Qemu-trivial] [PATCH] qga: Fix typo (plural) in comment

2014-05-03 Thread Michael Tokarev
Applies, thank you! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] tests/tcg: Fix compilation of test_path

2014-05-03 Thread Michael Tokarev
29.04.2014 15:09, Peter Maydell wrote: The test_path binary is (unlike the other test binaries in tests/tcg) actually intended to be compiled with the same compiler used to build the main QEMU executables. It actually #includes a number of the QEMU source files in an attempt to unit-test the

Re: [Qemu-devel] [Qemu-trivial] [PATCH] arch_init: Be sure of only one exit entry with DPRINTF() for ram_load()

2014-05-03 Thread Michael Tokarev
01.05.2014 17:28, Chen Gang wrote: When DPRINTF() has effect, the original author wants to print all ram_load() calling results. So need use 'goto' instead of 'return' within ram_load(), just like other areas have done. Applied to -trivial, thank you! /mjjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] xen: remove unused global, xen_xcg

2014-05-03 Thread Michael Tokarev
Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw/mips: Add missing 'static' and 'const' attributes

2014-05-03 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw/9pfs: Add include file for exported symbol

2014-05-03 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw/9pfs: Add missing 'static' attributes

2014-05-03 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] monitor: Add missing 'static' attribute

2014-05-03 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw: Add missing 'static' attributes

2014-05-03 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw/s390x: Add missing 'static' attribute

2014-05-03 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] qemu-timer: Add missing 'static' attribute

2014-05-03 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] ui: Add missing 'static' attribute

2014-05-03 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH v2 1/7] do not call g_thread_init() for glib = 2.31

2014-05-03 Thread Michael Tokarev
02.05.2014 18:35, Michael Tokarev wrote: glib = 2.31 always enables thread support and g_thread_supported() is #defined to 1, there's no need to call g_thread_init() anymore, and it definitely does not need to report error which never happens. Keep code for old 2.31 glibc anyway for now, just

Re: [Qemu-devel] [Qemu-trivial] [PATCH v2 2/7] glib: move g_poll() replacement into glib-compat.h

2014-05-03 Thread Michael Tokarev
02.05.2014 18:35, Michael Tokarev wrote: From: Stefan Hajnoczi stefa...@redhat.com We have a dedicated header file for wrappers to smooth over glib version differences. Move the g_poll() definition into glib-compat.h for consistency. Signed-off-by: Stefan Hajnoczi stefa...@redhat.com

[Qemu-devel] [Bug 1307225] Re: Running a virtual machine on a Haswell system produces machine check events

2014-05-03 Thread Tobias-leupold
Running the VM with -cpu Haswell set still causes those Internal Parity Errors, but not so many … ** Description changed: I'm running a virtual Windows SBS 2003 installation on a Xeon E3 Haswell system running Gentoo Linux. First, I used Qemu 1.5.3 (the latest stable version on Gentoo). I

[Qemu-devel] [Bug 1285508] Re: [ppa 2.0~git-20140225] mouse cursor invisible with Ubuntu live system

2014-05-03 Thread Huck-bernhard
i have the same, I don't see any mouse cursor. System is working. Host: Ubuntu release 14.04 x86_64 Gast: Ubuntu release 14.04 x86_64 Graphic: GeForce GTX 650 Ti BOOST/PCIe/SSE2 Driver: nvidia 331.38 -- You received this bug notification because you are a member of qemu- devel-ml, which is

[Qemu-devel] [Bug 1285508] Re: [ppa 2.0~git-20140225] mouse cursor invisible with Ubuntu live system

2014-05-03 Thread Huck-bernhard
there are my terminal commands: $ qemu-img create -f qcow2 BOOTSYSTEM.img 10G $ qemu-system-x86_64 -enable-kvm -hda BOOTSYSTEM.img -cdrom /dev/cdrom -boot d -m 1024 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [Bug 1285508] Re: [ppa 2.0~git-20140225] mouse cursor invisible with Ubuntu live system

2014-05-03 Thread Martin Pitt
I still regularly get this. The workaround is to open a terminal, which causes the cursor shape to change. Once that is done, the cursor stays visible. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [PATCH 2/9] tcg-s390: Integrate endianness into TCGMemOp

2014-05-03 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/s390/tcg-target.c | 124 -- 1 file changed, 60 insertions(+), 64 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index 131eec3..c6d86f5 100644 ---

[Qemu-devel] [PATCH 3/9] tcg-s390: Convert to new ldst opcodes

2014-05-03 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/s390/tcg-target.c | 170 -- tcg/s390/tcg-target.h | 2 +- 2 files changed, 56 insertions(+), 116 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index

[Qemu-devel] [PATCH 1/9] tcg-s390: Convert to TCGMemOp

2014-05-03 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/s390/tcg-target.c | 82 ++- 1 file changed, 36 insertions(+), 46 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index ebdd074..131eec3 100644 ---

[Qemu-devel] [PATCH 5/9] tcg-s390: Use more risbg in the tlb sequence

2014-05-03 Thread Richard Henderson
Elides two insns from the sequence. Also note the error in the computation of the parameters for its use as and w/ wraparound. The resulting tlb compare sequence is satisfyingly minimal: risbg %r2,%r8,51,186,56 risbg %r3,%r8,61,178,0 cg %r3,904(%r10,%r2) lg

[Qemu-devel] [PATCH 4/9] tcg-s390: Move ldst helpers out of line

2014-05-03 Thread Richard Henderson
That is, the old LDST_OPTIMIZATION. Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/s390/tcg-target.c | 210 -- 1 file changed, 118 insertions(+), 92 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index

[Qemu-devel] [PATCH 0/9] tcg/s390 improvements

2014-05-03 Thread Richard Henderson
Most of these relate to converting to the new ldst opcodes. (Two unconverted backends remaining...) In addition, some other minor improvements to the generated code. Tested on a z10 system, where the LOAD ON CONDITION insn is supported. r~ Richard Henderson (9): tcg-s390: Convert to

[Qemu-devel] [PATCH 6/9] tcg-s390: Implement tcg_register_jit

2014-05-03 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/s390/tcg-target.c | 62 +-- 1 file changed, 55 insertions(+), 7 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index cd60c01..2f0cdf8 100644 ---

[Qemu-devel] [PATCH 7/9] tcg-s390: Allow immediate operands to add2 and sub2

2014-05-03 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/s390/tcg-target.c | 64 +-- 1 file changed, 52 insertions(+), 12 deletions(-) diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index 2f0cdf8..54d6dc1 100644 ---

[Qemu-devel] [PATCH 8/9] tcg-s390: Improve setcond

2014-05-03 Thread Richard Henderson
There are a variety of common cases for which we can use carry tricks to avoid a conditional branch. On very new hardware, use LOAD ON CONDITION instead of a conditional branch. Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/s390/tcg-target.c | 97

[Qemu-devel] [PATCH 9/9] tcg-s390: Don't force -march=z990

2014-05-03 Thread Richard Henderson
While we still require the LONG DISPLACEMENT facility, defaults have moved on since then. Don't override the system compiler, whose default may be set to z9-109 or later. Signed-off-by: Richard Henderson r...@twiddle.net --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[Qemu-devel] [PATCH] iotests: Use configured python

2014-05-03 Thread Max Reitz
Currently, QEMU's iotests rely on /usr/bin/env to start the correct Python (that is, at least Python 2.4, but not 3). On systems where Python 3 is the default, the user has no clean way of making the iotests use the correct binary. This commit makes the iotests use the Python selected by

Re: [Qemu-devel] [PATCH] i8259: don't abort when trying to use level sensitive irqs

2014-05-03 Thread Hervé Poussineau
Ping. Le 22/04/2014 23:00, Hervé Poussineau a écrit : This is a guest-triggerable error, as seen when using Xenix 2.3.4. Replace hw_error by LOG_UNIMPL, so that guests have at least a chance to continue. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/intc/i8259.c |3 ++- 1

[Qemu-devel] [Bug 1315747] [NEW] Qemu on Windows

2014-05-03 Thread Nigel Horne
Public bug reported: I have a problem with the latest snapshot from http://qemu.weilnetz.de/. Where should I raise it? Here? It's not clear to me that I should do it since that's probably an unsupported build, whereas there is no support forum or e-mail address on that website. THanks. **

[Qemu-devel] [Bug 1262650] Re: Latest git version fails to compile in block/iscsi.o

2014-05-03 Thread Nigel Horne
** Changed in: qemu Status: New = Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1262650 Title: Latest git version fails to compile in block/iscsi.o Status in QEMU: Fix

[Qemu-devel] [Bug 1315747] Re: Qemu on Windows

2014-05-03 Thread Stefan Weil
Please describe the problem, maybe I can help you then. Yes, qemu.weilnetz.de contains experimental software which might contain bugs - see the comments on that site. If I get a qualified problem report, I usually try to fix it. ** Changed in: qemu Status: New = Incomplete -- You

Re: [Qemu-devel] [PATCH] configure: remove bashism

2014-05-03 Thread Fam Zheng
On Fri, 05/02 15:41, Michael Tokarev wrote: Commit e26110cfc67d48 added a check for shacmd to create a hash for modules. This check in configure is using bash construct to redirect both stdout and stderr, whcih does fun things on some s/whcih/which shells. Get rid of it, use standard

Re: [Qemu-devel] [PATCH] Makefiles: convert some obj-specific CFLAGS to use new foo.o-cflags syntax

2014-05-03 Thread Fam Zheng
On Fri, 05/02 15:40, Michael Tokarev wrote: Current Makefile system allows using foo.o-cflags variables to store object-specific CFLAGS. Convert some usages of old syntax (using QEMU_CFLAGS += construct) to the new syntax. Thanks for doing this! Two minor comments below, but not showstopper,

Re: [Qemu-devel] [PATCH 01/13] qapi: Update qapi-code-gen.txt example to match current code

2014-05-03 Thread Eric Blake
On 05/02/2014 06:44 AM, Markus Armbruster wrote: Signed-off-by: Markus Armbruster arm...@redhat.com --- docs/qapi-code-gen.txt | 146 ++--- 1 file changed, 90 insertions(+), 56 deletions(-) Reviewed-by: Eric Blake ebl...@redhat.com I checked

Re: [Qemu-devel] [PATCH v2 2/2] qapi: Allow setting default values for optional parameters

2014-05-03 Thread Fam Zheng
On Tue, 04/29 06:51, Eric Blake wrote: On 04/29/2014 05:24 AM, Kevin Wolf wrote: Am 29.04.2014 um 11:44 hat Fam Zheng geschrieben: In command definition, 'defaults' is now parsed as a dict of default values. Only optional parameters will have effect in generated code. 'str' and 'int'

Re: [Qemu-devel] [PATCH V26 03/32] QemuOpts: repurpose qemu_opts_print to replace print_option_parameters

2014-05-03 Thread Chun Yan Liu
On 4/30/2014 at 12:30 AM, in message 535fd3b6.6020...@redhat.com, Eric Blake ebl...@redhat.com wrote: On 04/29/2014 03:10 AM, Chunyan Liu wrote: Currently this function is not used anywhere. In later patches, it will replace print_option_parameters. To avoid print info changes, change

[Qemu-devel] [PATCH] qcow2: Fix alloc_clusters_noref() overflow detection

2014-05-03 Thread Max Reitz
If the very first allocation has a length of 0, the free_cluster_index is still 0 after the for loop, which means that subtracting one from it will underflow and signal an invalid range of clusters by returning -EFBIG. However, there is no such range, as its length is 0. Fix this by preventing

Re: [Qemu-devel] [PATCH V26 12/32] change block layer to support both QemuOpts and QEMUOptionParamter

2014-05-03 Thread Chun Yan Liu
On 4/30/2014 at 09:57 AM, in message 5360587e.5050...@redhat.com, Eric Blake ebl...@redhat.com wrote: On 04/29/2014 03:10 AM, Chunyan Liu wrote: Change block layer to support both QemuOpts and QEMUOptionParameter. After this patch, it will change backend drivers one by one. At the