Re: [Qemu-devel] [PATCH 07/19] moxie: Remove ELF_MACHINE from cpu.h

2015-08-22 Thread Peter Crosthwaite
On Mon, Aug 17, 2015 at 8:48 PM, Richard Henderson wrote: > On 08/17/2015 08:36 PM, Peter Crosthwaite wrote: >> >> On Mon, Aug 17, 2015 at 11:39 AM, Richard Henderson >> wrote: >>> >>> On 08/15/2015 04:28 PM, Peter Crosthwaite wrote: - ELF_MACHINE, 0); +

Re: [Qemu-devel] [PATCH RFC v3 30/32] qapi: New QMP command query-schema for QMP schema introspection

2015-08-22 Thread Eric Blake
On 08/04/2015 09:58 AM, Markus Armbruster wrote: > Caution, rough edges. > > > The empty object type is used when a command takes no arguments or > produces no results. > +++ b/scripts/qapi.py > @@ -1050,6 +1054,9 @@ class QAPISchema(object): >('bool', 'boolean', 'bo

Re: [Qemu-devel] Debian 7.8.0 SPARC64 on qemu - anything i can do to speedup the emulation?

2015-08-22 Thread Richard Henderson
On Aug 22, 2015 9:45 AM, Artyom Tarasenko wrote: > For my test case tcg-indirect brings more performance gain than for Dennis: > > git master: 18m31s > tcg-indirect: 16m50s > #undef  USE_TCG_OPTIMIZATIONS: 14m18s Thanks. That's useful. > > > JIT statistic, before starting the test: > (qemu

Re: [Qemu-devel] [PATCH] linux-user: remove MAX_ARG_PAGES, allow dynamic growth of env/argv space

2015-08-22 Thread Stefan Bruens
On Wednesday 19 August 2015 22:57:53 you wrote: [...] > > I think we have enough repetitions of '32' here to merit a #define. > > But having said all that, I wonder if it would be better to > precalculate how big a page array we need and just do the > allocation once, rather than having this comp

[Qemu-devel] [PATCH] linux-user: remove MAX_ARG_PAGES limit

2015-08-22 Thread Stefan Brüns
Instead of creating a temporary copy for the whole environment and the arguments, directly copy everything to the target stack. For this to work, we have to change the order of stack creation and copying the arguments. Signed-off-by: Stefan Brüns --- linux-user/elfload.c | 105 +++

Re: [Qemu-devel] Debian 7.8.0 SPARC64 on qemu - anything i can do to speedup the emulation?

2015-08-22 Thread Artyom Tarasenko
On Sat, Aug 22, 2015 at 7:47 PM, Dennis Luehring wrote: > Am 22.08.2015 um 18:45 schrieb Artyom Tarasenko: >> >> git master: 18m31s >> tcg-indirect: 16m50s >> #undef USE_TCG_OPTIMIZATIONS: 14m18s > > > my results are not totaly different to yours - ~20-30% slowdown compared to > #undef USE_TCG_OP

Re: [Qemu-devel] Debian 7.8.0 SPARC64 on qemu - anything i can do to speedup the emulation?

2015-08-22 Thread Dennis Luehring
Am 22.08.2015 um 18:45 schrieb Artyom Tarasenko: git master: 18m31s tcg-indirect: 16m50s #undef USE_TCG_OPTIMIZATIONS: 14m18s my results are not totaly different to yours - ~20-30% slowdown compared to #undef USE_TCG_OPTIMIZATIONS

[Qemu-devel] [PATCH 3/4] PPC: mac99: Always add USB controller

2015-08-22 Thread Cormac O'Brien
From: Alexander Graf The mac99 machines always have a USB controller. Usually not having one around doesn't hurt quite as much, but Mac OS 9 really really wants one or it crashes on bootup. So always add OHCI to make it happy. Signed-off-by: Alexander Graf --- hw/ppc/mac_newworld.c | 3 ++- 1

[Qemu-devel] [PATCH 1/4] PPC: Allow Rc bit to be set on mtspr

2015-08-22 Thread Cormac O'Brien
From: Alexander Graf According to the ISA setting the Rc bit on mtspr is undefined behavior. Real 750 hardware simply ignores the bit and doesn't touch cr0 though. Unfortunately, Mac OS 9 relies on this fact and executes a few mtspr instructions (to set XER for example) with Rc set. So let's ha

[Qemu-devel] [PATCH 2/4] PPC: Fix lsxw bounds checks

2015-08-22 Thread Cormac O'Brien
From: Alexander Graf The lsxw instruction checks whether the desired string actually fits into all defined registers. Unfortunately it does the calculation wrong, resulting in illegal instruction traps for loads that really should fit. Fix it up, making Mac OS happier. Signed-off-by: Alexander

[Qemu-devel] [PATCH RFC 4/4] PPC: fix CUDA packet header size

2015-08-22 Thread Cormac O'Brien
Change the CUDA packet model to use a three-byte header as in real hardware. Also add handlers for CUDA_COMBINED_FORMAT_IIC and CUDA_GET_SET_IIC. Signed-off-by: Cormac O'Brien --- hw/input/adb.c | 2 +- hw/misc/macio/cuda.c | 54 ++-- 2 file

[Qemu-devel] [PATCH RFC 0/4] Mac OS 9 compatibility improvements

2015-08-22 Thread Cormac O'Brien
This patchset greatly improves QEMU's ability to run Mac OS 9 on the mac99 machine, allowing progress past the bootloader and partial progress through the load screen. Signed-off-by: Cormac O'Brien --- Alexander Graf (3): PPC: Allow Rc bit to be set on mtspr PPC: Fix lsxw bounds checks PPC:

Re: [Qemu-devel] [PATCH v2 03/49] qapi: convert NumaOptions into a flat union

2015-08-22 Thread Kővágó Zoltán
2015-08-22 01:13 keltezéssel, Eduardo Habkost írta: On Fri, Aug 21, 2015 at 05:36:59PM +0200, Kővágó, Zoltán wrote: Signed-off-by: Kővágó, Zoltán I don't understand QAPI enough to understand why exactly this is needed (so I would like to get feedback from somebody who actually understands QAP

Re: [Qemu-devel] [PATCH 00/19] multi-arch+linux-user: Cleanup ELF_MACHINE

2015-08-22 Thread Paolo Bonzini
On 20/08/2015 00:50, Riku Voipio wrote: > On Sat, Aug 15, 2015 at 04:28:10PM -0700, Peter Crosthwaite wrote: >> Peter Crosthwaite (19): >> linux_user: elfload: Default ELF_MACHINE to ELF_ARCH >> linux-user: elfload: Provide default for elf_check_arch >> arm: Remove ELF_MACHINE from cpu.h >>