[Qemu-devel] [Bug 962880] Re: having a tr_TR.UTF-8 locale creates problems during compile

2012-03-24 Thread Stefan Weil
This should be fixed with the appended patch - please test. ** Changed in: qemu Assignee: (unassigned) = Stefan Weil (ubuntu-weilnetz) ** Patch added: Always set locale C https://bugs.launchpad.net/qemu/+bug/962880/+attachment/2924541/+files/0001-Makefile-Set-default-locale-C.patch --

[Qemu-devel] [PATCH] trace-events: Fix broken build caused by wrong format specifier

2012-03-24 Thread Stefan Weil
mem is an uint64_t value, so %lx was wrong. Signed-off-by: Stefan Weil s...@weilnetz.de --- trace-events |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/trace-events b/trace-events index 70f059d..db2cd39 100644 --- a/trace-events +++ b/trace-events @@ -726,7 +726,7 @@

[Qemu-devel] Moniter The Ram Access On QEMU

2012-03-24 Thread stefan weids
Dear All, Now I want to moniter memory access on QEMU (guest virtual or guest physical). I found that QEMU will translate arm instructions into TCG instructions, and the TCG instructions will be translated into X86 instructions. The function tcg_out_op(tcg/i386/tcg_target.c) will translate the

Re: [Qemu-devel] [PATCH 16/36] vmstate: port sparc cpu

2012-03-24 Thread Blue Swirl
On Wed, Mar 21, 2012 at 22:46, Michael Roth mdr...@linux.vnet.ibm.com wrote: On Mon, Mar 19, 2012 at 11:57:44PM +0100, Juan Quintela wrote: Signed-off-by: Juan Quintela quint...@redhat.com ---  hw/sun4u.c             |   20 --  target-sparc/cpu.h     |    9 +-  target-sparc/machine.c |  474

Re: [Qemu-devel] [PATCH 0/9] Alpha updates

2012-03-24 Thread Blue Swirl
On Fri, Mar 23, 2012 at 15:22, Richard Henderson r...@twiddle.net wrote: Patch 1 has been seen before but not picked up. Patches 2-8 convert the target away from areg0. Cool. Could you fix style issues while moving code around? I used a three phase patching approach in Sparc: 1) fix style 2)

Re: [Qemu-devel] [PATCH 6/6] arm: move load and store helpers, switch to AREG0 free mode

2012-03-24 Thread Blue Swirl
On Fri, Mar 23, 2012 at 15:25, Richard Henderson r...@twiddle.net wrote: On 03/19/12 14:57, Blue Swirl wrote: Add an explicit CPUARMState parameter instead of relying on AREG0 and move load and store helpers to helper.c. Remove AREG0 swapping in tlb_fill(). Remove now empty op_helper.c.

Re: [Qemu-devel] [PATCH] Makefile: Set default locale C

2012-03-24 Thread Peter Maydell
On 23 March 2012 20:05, Stefan Weil s...@weilnetz.de wrote: +# Set default locale for commands like tr and others. +LANG=C +LC_ALL=C +LC_CTYPE=C You don't export these, which leads to an obscure corner case: if the user has no LANG variable set in their environment when they run make then we

Re: [Qemu-devel] [PATCH v2] Basic Illumos support

2012-03-24 Thread Blue Swirl
On Sat, Mar 17, 2012 at 08:04, Lee Essen lee.es...@nowonline.co.uk wrote: (third email attempt, apologies if you get duplicates) The patch does not apply: git am: Applying: Basic Illumos support fatal: corrupt patch at line 19 Patch failed at 0001 Basic Illumos support patch: patching file

Re: [Qemu-devel] [RFC 11/12] target-sparc: QOM'ify CPU

2012-03-24 Thread Blue Swirl
On Fri, Mar 23, 2012 at 17:27, Andreas Färber afaer...@suse.de wrote: Am 14.03.2012 21:16, schrieb Blue Swirl: On Wed, Mar 14, 2012 at 17:53, Andreas Färber afaer...@suse.de wrote: diff --git a/target-sparc/cpu-qom.h b/target-sparc/cpu-qom.h new file mode 100644 index 000..15dcf84 ---

Re: [Qemu-devel] [PATCH 1/2] w64: Fix data type of tb_next and other variables used for host addresses

2012-03-24 Thread Blue Swirl
On Mon, Mar 19, 2012 at 21:12, Stefan Weil s...@weilnetz.de wrote: QEMU host addresses must use uintptr_t to be portable for hosts with an unusual size of long (w64). tb_jmp_offset is an uint16_t value, therefore the local variable offset in function tb_set_jmp_target was changed from

Re: [Qemu-devel] QEMU fstatfs(2) and libvirt SELinux policy

2012-03-24 Thread Christoph Hellwig
On Fri, Mar 09, 2012 at 04:07:43PM +, Stefan Hajnoczi wrote: Paolo, your discard improvements in QEMU add FALLOC_FL_PUNCH_HOLE support. XFS supports this fallocate() flag in current kernels, thereby making the XFS-specific support obsolete. I'm wondering whether it's worth expanding the

Re: [Qemu-devel] QEMU fstatfs(2) and libvirt SELinux policy

2012-03-24 Thread Christoph Hellwig
On Fri, Mar 09, 2012 at 06:16:54PM +0100, Paolo Bonzini wrote: I'm wondering whether it's worth expanding the SELinux policy if we will have no fstatfs(2) callers in QEMU. Are you planning to drop the XFS code? Chris Wedgwood said that on XFS you want to do discard even if the file is

Re: [Qemu-devel] [PATCH v2] Basic Illumos support

2012-03-24 Thread Lee Essen
On 24 Mar 2012, at 12:56, Blue Swirl wrote: On Sat, Mar 17, 2012 at 08:04, Lee Essen lee.es...@nowonline.co.uk wrote: (third email attempt, apologies if you get duplicates) The patch does not apply: git am: Applying: Basic Illumos support fatal: corrupt patch at line 19 Patch failed at

Re: [Qemu-devel] [RFC PATCH 06/17] block: use bdrv_{co, aio}_discard for write_zeroes operations

2012-03-24 Thread Christoph Hellwig
On Sat, Mar 10, 2012 at 12:02:40PM -0600, Richard Laager wrote: If we could probe for FALLOC_FL_PUNCH_HOLE support, then we could avoid advertising discard support based on FALLOC_FL_PUNCH_HOLE when it is not going to work. This would side step these problems. You said it wasn't possible to

Re: [Qemu-devel] [RFC PATCH 06/17] block: use bdrv_{co, aio}_discard for write_zeroes operations

2012-03-24 Thread Christoph Hellwig
On Wed, Mar 14, 2012 at 01:01:35PM +0100, Kevin Wolf wrote: Paolo mentioned a use case as a fast way for guests to write zeros, but is it really faster than a normal write when we have to emulate it by a bdrv_write with a temporary buffer of zeros? On the other hand we have the cases where

Re: [Qemu-devel] [RFC PATCH 06/17] block: use bdrv_{co, aio}_discard for write_zeroes operations

2012-03-24 Thread Christoph Hellwig
On Wed, Mar 14, 2012 at 01:14:18PM +0100, Paolo Bonzini wrote: Note that the discard granularity is only a hint, so it's really more a maximum suggested value than a granularity. Outside of a cluster boundary the format would still have to write zeros manually. Also, Linux for example

Re: [Qemu-devel] [RFC PATCH 06/17] block: use bdrv_{co, aio}_discard for write_zeroes operations

2012-03-24 Thread Christoph Hellwig
On Wed, Mar 14, 2012 at 01:49:48PM +0100, Paolo Bonzini wrote: It does make the distinction. I don't care is UNMAP (or WRITE SAME(16) with the UNMAP bit set); I want to have zeroes is WRITE SAME(10) or WRITE SAME(16) with an all-zero payload. But once the taget sets the unmap zeroes data bit

Re: [Qemu-devel] [RFC PATCH 13/17] block: fallback from discard to writes

2012-03-24 Thread Christoph Hellwig
On Thu, Mar 08, 2012 at 06:15:13PM +0100, Paolo Bonzini wrote: Allow discard to fail, and fall back to the write operation. This is needed because there's no simple way to probe for availability of FALLOC_FL_PUNCH_HOLE. So you switch on advertising TRIM support in the patch before, and then

Re: [Qemu-devel] [RFC PATCH 14/17] block: support FALLOC_FL_PUNCH_HOLE trimming

2012-03-24 Thread Christoph Hellwig
On Fri, Mar 09, 2012 at 02:36:50PM -0600, Richard Laager wrote: I'm not sure if fallocate() and/or BLKDISCARD always guarantee that the discard has made it to stable storage. If they don't, does O_DIRECT or O_DSYNC on open() cause them to make any such guarantee? If not, should you be calling

Re: [Qemu-devel] [RFC PATCH 17/17] raw: implement is_allocated

2012-03-24 Thread Christoph Hellwig
On Thu, Mar 08, 2012 at 06:15:17PM +0100, Paolo Bonzini wrote: SEEK_DATA and SEEK_HOLE can be used to implement the is_allocated callback for raw files. These currently work on btrfs, with an XFS implementation also coming soon. Btw - if you're interested in a bit more kernel hacking it would

Re: [Qemu-devel] [PATCH 1/5] block: Virtual Bridges VERDE GOW disk image format documentation

2012-03-24 Thread Christoph Hellwig
On Sun, Mar 11, 2012 at 04:03:01PM -0500, Leonardo E. Reiter wrote: indeed mmap() is used in the code. This is unfortunate that it cannot be used. It's a really high performance way to achieve what we want here, and very safe for the use-case. Of course the only medium we support in the

Re: [Qemu-devel] [PATCH v2] Basic Illumos support

2012-03-24 Thread Andreas Färber
Am 24.03.2012 15:51, schrieb Lee Essen: On 24 Mar 2012, at 12:56, Blue Swirl wrote: On Sat, Mar 17, 2012 at 08:04, Lee Essen lee.es...@nowonline.co.uk wrote: (third email attempt, apologies if you get duplicates) I did receive all three fine btw. [...] Me and patches just aren't working

Re: [Qemu-devel] [PATCH v2] Basic Illumos support

2012-03-24 Thread Lee Essen
On 24 Mar 2012, at 15:44, Andreas Färber wrote: Am 24.03.2012 15:51, schrieb Lee Essen: On 24 Mar 2012, at 12:56, Blue Swirl wrote: On Sat, Mar 17, 2012 at 08:04, Lee Essen lee.es...@nowonline.co.uk wrote: (third email attempt, apologies if you get duplicates) I did receive all three

Re: [Qemu-devel] [PATCH] scripts: add gdb support script

2012-03-24 Thread Blue Swirl
Thanks, applied. On Sun, Mar 18, 2012 at 14:48, Avi Kivity a...@redhat.com wrote: Add a script that enhances gdb to be aware of QEMU data structures. This patch adds a single gdb command, 'qemu mtree'.  The command is similar to the monitor's 'info mtree', except that it prints MemoryRegion

Re: [Qemu-devel] [PATCH] Makefile: Set default locale C

2012-03-24 Thread Emre Ersin
It has to be set before configure. Because configure script creates wrong .h file. On Sat, Mar 24, 2012 at 2:44 PM, Peter Maydell peter.mayd...@linaro.orgwrote: On 23 March 2012 20:05, Stefan Weil s...@weilnetz.de wrote: +# Set default locale for commands like tr and others. +LANG=C

Re: [Qemu-devel] [PATCH] fix screendump

2012-03-24 Thread Blue Swirl
Thanks, applied. On Thu, Mar 1, 2012 at 07:34, Gerd Hoffmann kra...@redhat.com wrote: Commit 45efb16124efef51de5157afc31984b5a47700f9 optimized a bit too much.  We can skip the vga_invalidate_display() in case no console switch happened because we don't need a full redraw then.  We can *not*

Re: [Qemu-devel] [PATCH] tcg: Use the GDB JIT debugging interface.

2012-03-24 Thread Blue Swirl
Thanks, applied. On Mon, Mar 19, 2012 at 19:25, Richard Henderson r...@twiddle.net wrote: This allows us to generate unwind info for the dynamicly generated code in the code_gen_buffer.  Only i386 is converted at this point. Signed-off-by: Richard Henderson r...@twiddle.net ---  elf.h      

Re: [Qemu-devel] [PATCH] Support utf8 chars in pod docs

2012-03-24 Thread Blue Swirl
Thanks, applied. On Mon, Mar 19, 2012 at 22:25, Michael Tokarev m...@tls.msk.ru wrote: We've at least one UTF8 char in the qemu texi doc:  $ grep Tibor qemu-doc.texi  by Tibor TS Schütz.  $ man ./qemu.1 | grep Tibor        by Tibor TS SchA~Xtz. This patch allows utf8 in man/pod docs.

Re: [Qemu-devel] [PATCH] gdbserver: Don't send a GDB syscall until the system CPU is stopped

2012-03-24 Thread Blue Swirl
Thanks, applied. On Thu, Mar 15, 2012 at 17:49, Peter Maydell peter.mayd...@linaro.org wrote: From: Meador Inge mead...@codesourcery.com Fix an issue where the GDB server implementation was sending GDB syscall requests while the system CPU was still running.  Syscall requests must be sent

[Qemu-devel] [PATCH 2/4] Enable sigbus_reraise for Solaris

2012-03-24 Thread Lee Essen
sigbus_reraise is used by the kvm_wait_io_event function and is needed on both Linux and Solaris. This patch adds CONFIG_SOLARIS to the current CONFIG_LINUX only ifdef. Signed-off-by: Lee Essen lee.es...@nowonline.co.uk --- cpus.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)

[Qemu-devel] [PATCH 3/4] Enable qemu-timer dynticks for Solaris

2012-03-24 Thread Lee Essen
Dynticks was limited to linux. This patch adds Solaris support and ensures a CLOCK_HIGHRES clock is used which is the optimal setup for Solaris systems. Signed-off-by: Lee Essen lee.es...@nowonline.co.uk --- qemu-timer.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-)

[Qemu-devel] [PATCH 4/4] qga/channel-posix: provide Solaris alternative to O_ASYNC

2012-03-24 Thread Lee Essen
Solaris does not support the O_ASYNC option to open, this patch adds the same functionality through the I_SETSIG ioctl. Signed-off-by: Lee Essen lee.es...@nowonline.co.uk --- qga/channel-posix.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git

[Qemu-devel] [PATCH 1/4] Add socket/xnet libs to configure for Solaris

2012-03-24 Thread Lee Essen
libsocket and libxnet are required for base network functionality used in os_dep.c, qemu-socket.c, qga/commands-posix.c and cutils.c Signed-off-by: Lee Essen lee.es...@nowonline.co.uk --- configure |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/configure b/configure

[Qemu-devel] [PATCH v2 00/10] Alpha updates

2012-03-24 Thread Richard Henderson
Changes v1-v2: * Formatting fixed during the move to new files. It might have been cleaner to fix it before the move, but it was easier to run the existing patches through checkpatch.pl. * Add noreturn marker, now that it's available. r~ Richard Henderson (10):

[Qemu-devel] [PATCH 05/10] target-alpha: Move fpcr helpers from op_helper.c to helper.c.

2012-03-24 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- target-alpha/helper.c| 14 -- target-alpha/helper.h|4 ++-- target-alpha/op_helper.c | 10 -- target-alpha/translate.c |6 +++--- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git

[Qemu-devel] [PATCH 02/10] target-alpha: Move integer helpers to int_helper.c.

2012-03-24 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- Makefile.target |1 + target-alpha/int_helper.c | 257 + target-alpha/op_helper.c | 233 3 files changed, 258 insertions(+), 233 deletions(-)

[Qemu-devel] [PATCH 01/10] alpha-linux-user: Initialize fpu to round-to-normal.

2012-03-24 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- target-alpha/translate.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index b51fe5c..2c24619 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c

[Qemu-devel] [PATCH 03/10] target-alpha: Move exception helpers to helper.c.

2012-03-24 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- target-alpha/cpu.h |3 ++ target-alpha/helper.c| 39 target-alpha/helper.h|2 +- target-alpha/op_helper.c | 73 -- target-alpha/translate.c |2

[Qemu-devel] [PATCH 09/10] target-alpha: Make use of fp_status.flush_inputs_to_zero.

2012-03-24 Thread Richard Henderson
This softfp feature post-dates the last major update to the Alpha fpu translation. We can make use of this to eliminate at least one helper function that was performing this operation by hand. Signed-off-by: Richard Henderson r...@twiddle.net --- target-alpha/cpu.h|1 -

[Qemu-devel] [PATCH 06/10] target-alpha: Move integer overflow helpers to int_helper.c.

2012-03-24 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- target-alpha/helper.h | 12 target-alpha/int_helper.c | 63 + target-alpha/op_helper.c | 62 target-alpha/translate.c | 45

Re: [Qemu-devel] [PATCH] tcg: Use the GDB JIT debugging interface.

2012-03-24 Thread Peter Maydell
Er, this is the v2 patch, which Richard updated based on review comments, can you apply the later v3 one instead? thanks -- PMM On 24 March 2012 16:11, Blue Swirl blauwir...@gmail.com wrote: Thanks, applied. On Mon, Mar 19, 2012 at 19:25, Richard Henderson r...@twiddle.net wrote: This allows

[Qemu-devel] [PATCH 07/10] target-alpha: Move palcode support helpers to sys_helper.c.

2012-03-24 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- Makefile.target |2 +- target-alpha/helper.h | 10 +++--- target-alpha/op_helper.c | 65 - target-alpha/sys_helper.c | 87 +

[Qemu-devel] [PATCH 08/10] target-alpha: Move memory helpers to mem_helper.c.

2012-03-24 Thread Richard Henderson
This completes the transition away from AREG0. This patch must be last because it requires CONFIG_TCG_PASS_AREG0 set too. Signed-off-by: Richard Henderson r...@twiddle.net --- Makefile.target |4 +- configure |2 +- target-alpha/helper.h |8 +-

[Qemu-devel] [PATCH 10/10] target-alpha: Use noreturn marker in helper.h.

2012-03-24 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- target-alpha/helper.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index 9f97c5d..a184def 100644 --- a/target-alpha/helper.h +++ b/target-alpha/helper.h @@ -1,6 +1,6 @@

[Qemu-devel] [PATCH 0/4] GDB Jit interface, v4

2012-03-24 Thread Richard Henderson
Blue applied v2, not v3. This rebases against master, and also adds support in the sparc and hppa backends. I've tested sparc32. I've not been able to try the sparc64 version; I'm having trouble getting glib2 compiled for 64-bit on the machine to which I have access. Oh how I wish that was

[Qemu-devel] [PATCH 2/4] tcg: Allow ELF_HOST_FLAGS and ELF_OSABI overrides in gdb-jit.

2012-03-24 Thread Richard Henderson
--- tcg/tcg.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index df4edc0..6b2e429 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -2360,6 +2360,12 @@ static void tcg_register_jit_int(void *buf_ptr, size_t buf_size, .e_shentsize =

[Qemu-devel] [PATCH 3/4] tcg-hppa: Add debug_frame support.

2012-03-24 Thread Richard Henderson
--- tcg/hppa/tcg-target.c | 103 +--- 1 files changed, 88 insertions(+), 15 deletions(-) diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c index e579ef0..2885212 100644 --- a/tcg/hppa/tcg-target.c +++ b/tcg/hppa/tcg-target.c @@ -336,7 +336,7

Re: [Qemu-devel] [PATCH] Makefile: Set default locale C

2012-03-24 Thread Stefan Weil
Am 24.03.2012 17:11, schrieb Emre Ersin: It has to be set before configure. Because configure script creates wrong .h file. On Sat, Mar 24, 2012 at 2:44 PM, Peter Maydell peter.mayd...@linaro.org mailto:peter.mayd...@linaro.org wrote: On 23 March 2012 20:05, Stefan Weil s...@weilnetz.de

[Qemu-devel] [PATCH 1/4] tcg: Add debug_info to JIT ELF image.

2012-03-24 Thread Richard Henderson
This allows us to actually supply a function name in softmmu builds; gdb doesn't pick up the minimal symbol table otherwise. Also add a bit of documentation and statically generate more of the ELF image. Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/tcg.c | 233

[Qemu-devel] [PATCH 4/4] tcg-sparc: Add debug_frame support.

2012-03-24 Thread Richard Henderson
--- elf.h | 15 +++ tcg/sparc/tcg-target.c | 63 2 files changed, 78 insertions(+), 0 deletions(-) diff --git a/elf.h b/elf.h index 310e05a..36bcac4 100644 --- a/elf.h +++ b/elf.h @@ -346,6 +346,21 @@ typedef struct {

Re: [Qemu-devel] [PATCH v2 00/10] Alpha updates

2012-03-24 Thread Blue Swirl
Thanks, applied all. On Sat, Mar 24, 2012 at 16:51, Richard Henderson r...@twiddle.net wrote: Changes v1-v2:  * Formatting fixed during the move to new files.  It might have been    cleaner to fix it before the move, but it was easier to run the    existing patches through checkpatch.pl.  *

Re: [Qemu-devel] [PATCH 0/4] GDB Jit interface, v4

2012-03-24 Thread Blue Swirl
On Sat, Mar 24, 2012 at 17:47, Richard Henderson r...@twiddle.net wrote: Blue applied v2, not v3. Sorry!  This rebases against master, and also adds support in the sparc and hppa backends. I've tested sparc32.  I've not been able to try the sparc64 version; I'm having trouble getting glib2

[Qemu-devel] [PATCH v2 0/6] ARM: AREG0 conversion

2012-03-24 Thread Blue Swirl
v2: fix patch 1, tweak patch 2 and rebase to master. URL git://repo.or.cz/qemu/blueswirl.git http://repo.or.cz/r/qemu/blueswirl.git Blue Swirl (6): arm: move neon_tbl to neon_helper.c arm: move saturating arithmetic to helper.c arm: move other arithmetic to helper.c arm: move

[Qemu-devel] [PATCH 1/6] arm: move neon_tbl to neon_helper.c

2012-03-24 Thread Blue Swirl
Add an explicit CPUARMState parameter instead of relying on AREG0 and move neon_tbl to neon_helper.c. Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-arm/helper.h |2 +- target-arm/neon_helper.c | 22 ++ target-arm/op_helper.c | 22

[Qemu-devel] [PATCH 2/6] arm: move saturating arithmetic to helper.c

2012-03-24 Thread Blue Swirl
Add an explicit CPUARMState parameter instead of relying on AREG0 and move saturating arithmetic to helper.c. Remove unused SIGNBIT64. Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-arm/helper.c| 132 +++ target-arm/helper.h| 20

[Qemu-devel] [PATCH 3/6] arm: move other arithmetic to helper.c

2012-03-24 Thread Blue Swirl
Add an explicit CPUARMState parameter instead of relying on AREG0 and move rest of the arithmetic to helper.c. Reviewed-by: Richard Henderson r...@twiddle.net Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-arm/helper.c| 146

[Qemu-devel] [PATCH 4/6] arm: move cpsr and banked register access to helper.c

2012-03-24 Thread Blue Swirl
Add an explicit CPUARMState parameter instead of relying on AREG0 and move cpsr and banked register access to helper.c. Reviewed-by: Richard Henderson r...@twiddle.net Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-arm/helper.c| 42 ++

[Qemu-devel] [PATCH 5/6] arm: move exception and wfi helpers to helper.c

2012-03-24 Thread Blue Swirl
Add an explicit CPUARMState parameter instead of relying on AREG0 and move exception and wfi helpers to helper.c. Merge raise_exception() and helper_exception(). Reviewed-by: Richard Henderson r...@twiddle.net Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-arm/helper.c| 13

[Qemu-devel] [PATCH 6/6] arm: move load and store helpers, switch to AREG0 free mode

2012-03-24 Thread Blue Swirl
Add an explicit CPUARMState parameter instead of relying on AREG0 and move load and store helpers to helper.c. Remove AREG0 swapping in tlb_fill(). Remove now empty op_helper.c. Switch to AREG0 free mode. Use cpu_ld{l,uw}_code in translation and interrupt handling. Reviewed-by: Richard Henderson

Re: [Qemu-devel] [PATCH 0/4] GDB Jit interface, v4

2012-03-24 Thread Richard Henderson
On 03/24/2012 11:41 AM, Blue Swirl wrote: Patches 2 to 4 lack the SoB. I can add them by hand if that's OK? Oops. Yes please. r~

Re: [Qemu-devel] [PATCH 0/4] GDB Jit interface, v4

2012-03-24 Thread Blue Swirl
Thanks, applied all. On Sat, Mar 24, 2012 at 19:23, Richard Henderson r...@twiddle.net wrote: On 03/24/2012 11:41 AM, Blue Swirl wrote: Patches 2 to 4 lack the SoB. I can add them by hand if that's OK? Oops.  Yes please. r~

[Qemu-devel] [PATCH] qxl: fix compilation failure on 32 bit hosts

2012-03-24 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- trace-events |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/trace-events b/trace-events index 70f059d..8fa1c1c 100644 --- a/trace-events +++ b/trace-events @@ -726,7 +726,7 @@ ppm_save(const char *filename, void

Re: [Qemu-devel] [PATCH] qxl: fix compilation failure on 32 bit hosts

2012-03-24 Thread Andreas Färber
Am 24.03.2012 23:56, schrieb Hervé Poussineau: Signed-off-by: Hervé Poussineau hpous...@reactos.org Cf. http://patchwork.ozlabs.org/patch/148493/ - looks identical. Andreas --- trace-events |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/trace-events

[Qemu-devel] buildbot failure in qemu on default_s390

2012-03-24 Thread qemu
The Buildbot has detected a new failure on builder default_s390 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_s390/builds/200 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: qemu-s390.opensuse.org Build

[Qemu-devel] buildbot failure in qemu on default_ppc

2012-03-24 Thread qemu
The Buildbot has detected a new failure on builder default_ppc while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_ppc/builds/345 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: qemu-ppc.opensuse.org Build

[Qemu-devel] buildbot failure in qemu on default_x86_64_debian_6_0

2012-03-24 Thread qemu
The Buildbot has detected a new failure on builder default_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_x86_64_debian_6_0/builds/223 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

[Qemu-devel] buildbot failure in qemu on default_i386_debian_6_0

2012-03-24 Thread qemu
The Buildbot has detected a new failure on builder default_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_i386_debian_6_0/builds/223 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

Re: [Qemu-devel] Build broken -- qemu-ga: add guest-network-get-interfaces command

2012-03-24 Thread Brad Smith
On 20/03/12 9:28 AM, Brad Smith wrote: On 20/03/12 6:14 AM, Michal Privoznik wrote: On 18.03.2012 02:09, Brad Smith wrote: Michal, http://git.qemu.org/?p=qemu.git;a=commit;h=3424fc9f16a1e7d1c48eb6d605eb0ca63e199ec2 This broke the build. Un-break the tree. Can you please be more

Re: [Qemu-devel] Xtensa misuse of tb_invalidate_phys_page_range()?

2012-03-24 Thread Max Filippov
void HELPER(wsr_ibreaka)(uint32_t i, uint32_t v) { if (env-sregs[IBREAKENABLE] (1 i) env-sregs[IBREAKA + i] != v) { tb_invalidate_phys_page_range( env-sregs[IBREAKA + i], env-sregs[IBREAKA + i] + 1, 0); tb_invalidate_phys_page_range(v, v + 1, 0); }

[Qemu-devel] [RFC] target-xtensa: fix tb invalidation for IBREAK and LOOP

2012-03-24 Thread Max Filippov
Instruction breakpoint/zero overhead loop handling code is built into TBs pointed to by IBREAKA/LEND SRs. When these or related SRs get changed TBs at virtual addresses corresponding to their old and their new values must be invalidated. Virtual address range is passed to the