[Qemu-devel] [PATCH 2/4] Replace Qemu by QEMU in internal documentation

2012-04-07 Thread Stefan Weil
The official spelling is QEMU. Signed-off-by: Stefan Weil --- CODING_STYLE |2 +- docs/ccid.txt |2 +- docs/specs/ivshmem_device_spec.txt |2 +- target-alpha/STATUS|2 +- target-mips/TODO |4 ++-- 5

[Qemu-devel] [PATCH 3/4] Replace Qemu by QEMU in w32 installation path (prefix)

2012-04-07 Thread Stefan Weil
The official spelling is QEMU. Signed-off-by: Stefan Weil --- configure |2 +- qemu-doc.texi |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 5d5b854..2374b71 100755 --- a/configure +++ b/configure @@ -519,7 +519,7 @@ EOF if com

[Qemu-devel] [PATCH 1/4] Replace Qemu by QEMU in user visible documentation

2012-04-07 Thread Stefan Weil
The official spelling is QEMU. Signed-off-by: Stefan Weil --- fsdev/virtfs-proxy-helper.texi |2 +- qemu-doc.texi |2 +- qemu-nbd.texi |2 +- qemu-options.hx|4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/f

[Qemu-devel] [PATCH 0/4] Replace Qemu by QEMU

2012-04-07 Thread Stefan Weil
These patches try to establish the official spelling "QEMU". There remain some old spellings "Qemu" in BIOS code (use "grep -rw Qemu pc-bios" to see them). Patch 4 also fixes a spelling bug and debug messages which I did not mention in the commit message. Regards, Stefan W. [PATCH 1/4] Replace Q

[Qemu-devel] [PATCH 4/4] Replace Qemu by QEMU in comments

2012-04-07 Thread Stefan Weil
The official spelling is QEMU. Signed-off-by: Stefan Weil --- hw/ivshmem.c|2 +- hw/pc.c |2 +- hw/ppc440_bamboo.c |2 +- hw/ppce500_mpc8544ds.c |2 +- hw/ps2.c|2 +- hw/sun4m.c | 12

Re: [Qemu-devel] [PATCH 4/4] Replace Qemu by QEMU in comments

2012-04-07 Thread Stefan Weil
Am 07.04.2012 09:23, schrieb Stefan Weil: The official spelling is QEMU. Signed-off-by: Stefan Weil --- hw/ivshmem.c|2 +- hw/pc.c |2 +- hw/ppc440_bamboo.c |2 +- hw/ppce500_mpc8544ds.c |2 +- hw/ps2.c|

[Qemu-devel] [PATCH] tci: Support targets with CONFIG_TCG_PASS_AREG0 (fix broken build)

2012-04-07 Thread Stefan Weil
Builds with --enable-tcg-interpreter failed because more and more targets (currently alpha and sparc) replaced the global env in AREG0 by function parameters. Convert the TCG interpreter to use the new helper functions and add defines for those targets which still use AREG0. Cc: Blue Swirl Signe

Re: [Qemu-devel] [PATCH 0/4] Replace Qemu by QEMU

2012-04-07 Thread Andreas Färber
Am 07.04.2012 09:23, schrieb Stefan Weil: > These patches try to establish the official spelling "QEMU". > There remain some old spellings "Qemu" in BIOS code > (use "grep -rw Qemu pc-bios" to see them). > > Patch 4 also fixes a spelling bug and debug messages > which I did not mention in the comm

Re: [Qemu-devel] [PATCH 4/4] Replace Qemu by QEMU in comments

2012-04-07 Thread Andreas Färber
Am 07.04.2012 11:02, schrieb Stefan Weil: > Am 07.04.2012 09:23, schrieb Stefan Weil: >> diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c >> index 367eefa..b1f8785 100644 >> --- a/target-ppc/translate_init.c >> +++ b/target-ppc/translate_init.c [...] >> @@ -9442,13 +9442,13 @@

Re: [Qemu-devel] [PATCH] tci: Support targets with CONFIG_TCG_PASS_AREG0 (fix broken build)

2012-04-07 Thread Andreas Färber
Am 07.04.2012 11:48, schrieb Stefan Weil: > Builds with --enable-tcg-interpreter failed because more and more > targets (currently alpha and sparc) replaced the global env in AREG0 > by function parameters. [snip] Stefan, could you set up a buildbot to build with TCI enabled? Andreas -- SUSE LI

Re: [Qemu-devel] [PATCH V9 1/1] Guest stop notification

2012-04-07 Thread Andreas Färber
Am 07.04.2012 02:47, schrieb Raghavendra K T: > From: Eric B Munson > > Often when a guest is stopped from the qemu console, it will report spurious > soft lockup warnings on resume. There are kernel patches being discussed that > will give the host the ability to tell the guest that it is being

Re: [Qemu-devel] [PULL 0/4] target-xtensa queue

2012-04-07 Thread Blue Swirl
On Thu, Apr 5, 2012 at 22:46, Max Filippov wrote: > The following changes since commit 8f8d364f2447e58768132fc10f48a67af371ee38: > >  Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf (2012-04-04 > 20:45:03 +) > > are available in the git repository at: > >  git://jcmvbkbc.spb.r

Re: [Qemu-devel] [PATCH 4/4] target-xtensa: fix tb invalidation for IBREAK and LOOP

2012-04-07 Thread Andreas Färber
Am 06.04.2012 00:46, schrieb 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. > > Virtu

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

2012-04-07 Thread Blue Swirl
On Fri, Apr 6, 2012 at 20:23, Stefan Weil wrote: > Am 29.03.2012 22:27, schrieb Blue Swirl: > >> On Sat, Mar 24, 2012 at 21:25, Stefan Weil 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 v

Re: [Qemu-devel] [PATCH 0/6] fix w32 sockets

2012-04-07 Thread Blue Swirl
On Tue, Apr 3, 2012 at 11:06, Paolo Bonzini wrote: > Il 20/03/2012 10:49, Paolo Bonzini ha scritto: >> The w32 main loop has been mostly broken by the introduction of the >> glib main loop.  glib's g_poll does not use sockets on w32, so we >> need a separate approach. >> >> Patch 1 is a simple cle

Re: [Qemu-devel] [PATCH v2 0/2] QOM'ify SPARC CPU

2012-04-07 Thread Blue Swirl
On Wed, Apr 4, 2012 at 23:29, Andreas Färber wrote: > Hello Blue, > > This series strips down my SPARC QOM'ification patch from the > qom-cpu-others.v1 > RFC series to the bare minimum needed and splits off the file rename. > > Subclasses and properties can follow up later, specific to target-spa

Re: [Qemu-devel] [PATCH] configure: require glib 2.12, 2.20 for mingw32

2012-04-07 Thread Blue Swirl
On Thu, Apr 5, 2012 at 11:01, Paolo Bonzini wrote: > These are pretty sane requirements to move forward with glib usage. > 2.12 is the version found in RHEL/CentOS 5, and 2.20 is the > first version to support g_poll.  Without g_poll, we cannot > integrate well with the glib main loop. It looks l

Re: [Qemu-devel] [PATCH v2 1/2] softfloat: float*_to_int32_round_to_zero: don't assume int32 is 32 bits

2012-04-07 Thread Blue Swirl
On Thu, Apr 5, 2012 at 18:12, Peter Maydell wrote: > Code in the float64_to_int32_round_to_zero() function was assuming > that int32 would not be wider than 32 bits; this meant it might > not correctly detect the overflow case. We take the simple approach > of using int32_t. Also fix equivalent is

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

2012-04-07 Thread Blue Swirl
Thanks, applied. On Fri, Apr 6, 2012 at 20:26, Stefan Weil 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 un

Re: [Qemu-devel] [PATCH 00/17] linux-user: pending patches

2012-04-07 Thread Blue Swirl
On Fri, Apr 6, 2012 at 16:35, wrote: > From: Riku Voipio > > The following patches are to sent in the pull request for linux-user. > As usual, the are also available in the git repository at: > >  git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream Thanks, pulled. > > Riku

Re: [Qemu-devel] [PATCH] tci: Support targets with CONFIG_TCG_PASS_AREG0 (fix broken build)

2012-04-07 Thread Blue Swirl
On Sat, Apr 7, 2012 at 09:48, Stefan Weil wrote: > Builds with --enable-tcg-interpreter failed because more and more > targets (currently alpha and sparc) replaced the global env in AREG0 > by function parameters. > > Convert the TCG interpreter to use the new helper functions and add > defines fo

Re: [Qemu-devel] [PATCH] remove useless comments in dma

2012-04-07 Thread Blue Swirl
On Fri, Apr 6, 2012 at 07:52, Wanpeng Li wrote: > This comment is useless, just removes it and makes the codes clear. > > Signed-off-by: Wanpeng Li Thanks, applied. Patches like these could be directed to trivial patches queue, please read http://wiki.qemu.org/Contribute/TrivialPatches > --- >

Re: [Qemu-devel] [PATCH 0/4] Replace Qemu by QEMU

2012-04-07 Thread Blue Swirl
On Sat, Apr 7, 2012 at 07:23, Stefan Weil wrote: > These patches try to establish the official spelling "QEMU". > There remain some old spellings "Qemu" in BIOS code > (use "grep -rw Qemu pc-bios" to see them). > > Patch 4 also fixes a spelling bug and debug messages > which I did not mention in t

Re: [Qemu-devel] [PATCH 1/2] Add QEMU_NORETURN to function cpu_resume_from_signal

2012-04-07 Thread Blue Swirl
On Sat, Apr 7, 2012 at 06:40, Stefan Weil wrote: > cpu_resume_from_signal terminates by calling longjmp. Patch no longer applies, please rebase. > > Signed-off-by: Stefan Weil > --- >  exec-all.h |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/exec-all.h b/exec-al

Re: [Qemu-devel] [PATCH] tcg/i386: Use GDB JIT debugging interface only for hosts with ELF

2012-04-07 Thread Blue Swirl
On Fri, Apr 6, 2012 at 06:08, Stefan Weil wrote: > Not all i386 / x86_64 hosts use ELF. > Ask the compiler whether ELF is used. > > On w64, gdb crashes when ELF_HOST_MACHINE is defined. > > Cc: Richard Henderson > Cc: Blue Swirl > Signed-off-by: Stefan Weil > --- >  tcg/i386/tcg-target.c |    4

Re: [Qemu-devel] [PATCH v2 2/2] memory: print aliased IO ranges in info mtree

2012-04-07 Thread Blue Swirl
On Mon, Mar 19, 2012 at 13:17, Avi Kivity wrote: > On 03/18/2012 02:05 PM, Blue Swirl wrote: >> Print also I/O ports behind bridges and other aliases. >> > > Thanks, both applied. Applied where? They are not in master. > > -- > error compiling committee.c: too many arguments to function >

[Qemu-devel] [PATCH v2] tcg/i386: Use GDB JIT debugging interface only for hosts with ELF

2012-04-07 Thread Stefan Weil
Not all i386 / x86_64 hosts use ELF. Ask the compiler whether ELF is used. On w64, gdb crashes when ELF_HOST_MACHINE is defined. v2: Compile tcg_register_jit only for ELF host machines. This fixes builds for MinGW32 (thanks, Blue Swirl). Cc: Blue Swirl Cc: Richard Henderson Signed-off-by: Stef

[Qemu-devel] [PATCH (rebased) 1/2] Add QEMU_NORETURN to function cpu_resume_from_signal

2012-04-07 Thread Stefan Weil
cpu_resume_from_signal terminates by calling longjmp. Signed-off-by: Stefan Weil --- exec-all.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/exec-all.h b/exec-all.h index a6d6519..4758d88 100644 --- a/exec-all.h +++ b/exec-all.h @@ -86,7 +86,7 @@ int cpu_gen_code(CPU

[Qemu-devel] [PATCH (rebased) 2/2] Add QEMU_NORETURN to function cpu_io_recompile

2012-04-07 Thread Stefan Weil
cpu_io_recompile terminates by calling either cpu_abort or cpu_resume_from_signal which both never return. Signed-off-by: Stefan Weil --- exec-all.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/exec-all.h b/exec-all.h index 4758d88..fa7bdfe 100644 --- a/exec-all.h ++

Re: [Qemu-devel] [PATCH v2] tcg/i386: Use GDB JIT debugging interface only for hosts with ELF

2012-04-07 Thread Peter Maydell
On 7 April 2012 16:53, Stefan Weil wrote: > Not all i386 / x86_64 hosts use ELF. > Ask the compiler whether ELF is used. >  tcg/i386/tcg-target.c |    6 +- > +#if !defined(__ELF__) > +    /* Host machine without ELF. */ Hmm, should this check maybe go in the generic tcg code rather than the

Re: [Qemu-devel] [PATCH 4/4] target-xtensa: fix tb invalidation for IBREAK and LOOP

2012-04-07 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 tb_i

Re: [Qemu-devel] [PATCH 10/17] linux-user: resolve reserved_va vma downwards

2012-04-07 Thread Peter Maydell
On 6 April 2012 17:35, wrote: > From: Peter Maydell > > After consulting with Paul Brook, we concluded that it's best to search > the VMA space downwards, so that we don't even get the chance to conflict > with the brk range. > > This patch resolves a bunch of allocation conflicts when using -R.

Re: [Qemu-devel] [PATCH v2] tcg/i386: Use GDB JIT debugging interface only for hosts with ELF

2012-04-07 Thread Stefan Weil
Am 07.04.2012 18:23, schrieb Peter Maydell: On 7 April 2012 16:53, Stefan Weil wrote: Not all i386 / x86_64 hosts use ELF. Ask the compiler whether ELF is used. tcg/i386/tcg-target.c |6 +- +#if !defined(__ELF__) +/* Host machine without ELF. */ Hmm, should this check maybe go

[Qemu-devel] [PATCH, RFC] x32-linux-user: initial commit

2012-04-07 Thread Blue Swirl
Add experimental support for x32 (x86_64 CPU, 32 bit ABI) user emulator. Signed-off-by: Blue Swirl --- A hand constructed (possibly incorrect) helloworld program prints the greeting but crashes. /src/qemu/obj-amd64/x32-linux-user/qemu-x32 -strace -d in_asm,op,out_asm helloworld_x86_x32 ERROR: io

Re: [Qemu-devel] [PATCH (rebased) 1/2] Add QEMU_NORETURN to function cpu_resume_from_signal

2012-04-07 Thread Blue Swirl
Thanks, applied both. On Sat, Apr 7, 2012 at 15:58, Stefan Weil wrote: > cpu_resume_from_signal terminates by calling longjmp. > > Signed-off-by: Stefan Weil > --- >  exec-all.h |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/exec-all.h b/exec-all.h > index a6d6519

Re: [Qemu-devel] [PATCH v2 2/5] acpi_piix4: Fix PCI hotplug race

2012-04-07 Thread Marcelo Tosatti
On Thu, Apr 05, 2012 at 11:07:15AM -0600, Alex Williamson wrote: > As Michael Tsirkin demonstrated, current PCI hotplug is vulnerable > to a few races. The first is a race with other hotplug operations > because we clear the up & down registers at each event. If a new > event comes before the las

Re: [Qemu-devel] [PATCH 0/5] PCI hotplug fixes/cleanup

2012-04-07 Thread Marcelo Tosatti
On Wed, Apr 04, 2012 at 11:51:00PM -0600, Alex Williamson wrote: > We've been batting this one back and forth. This series includes > several of the cleanups and specification clarifications from my > series awhile back. Patch 5 is my proposed alternative to > Michael's PCI hotplug race fix. Sin