[Qemu-devel] standalone C program Hello World on qemu-system-mipsel

2011-07-02 Thread Leo Chen.
Hi, all I am trying to run a standalone C program Hello World on qemu-system-mipsel, but it failed to print the message via serial port. What I have done now (step by step): 1. Successfully run a standalone C program Hello World on qemu-system-arm, by following this guide:

[Qemu-devel] [PATCH] tcg: Reload local variables after return from longjmp

2011-07-02 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com Recent compilers look deep into cpu_exec, find longjmp as a noreturn function and decide to smash some stack variables as they won't be used again. This may lead to env becoming invalid after return from setjmp, causing crashes. Fix it by reloading env from

[Qemu-devel] [PATCHv2 2/3] ds1225y: use trace framework

2011-07-02 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/ds1225y.c | 16 +--- trace-events |4 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/hw/ds1225y.c b/hw/ds1225y.c index 1fd7010..5105b9b 100644 --- a/hw/ds1225y.c +++ b/hw/ds1225y.c @@ -24,9 +24,7

[Qemu-devel] [PATCHv2 0/3] ds1225y: qdev-ification (used in MIPS Jazz)

2011-07-02 Thread Hervé Poussineau
This patchset qdev-ifies the ds1225y device, used in MIPS Jazz emulation. Changes since v1: - rebased - split into multiple patches as per Markus advice Hervé Poussineau (3): ds1225y: Remove protection stuff, which doesn't belong to this device ds1225y: use trace framework ds1225y: convert

[Qemu-devel] [PATCHv2 1/3] ds1225y: Remove protection stuff, which doesn't belong to this device

2011-07-02 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/ds1225y.c | 42 +- hw/mips.h|1 - 2 files changed, 1 insertions(+), 42 deletions(-) diff --git a/hw/ds1225y.c b/hw/ds1225y.c index b1c5232..1fd7010 100644 --- a/hw/ds1225y.c +++

[Qemu-devel] [PATCHv2 3/3] ds1225y: convert to qdev device, and use it in MIPS Jazz emulation

2011-07-02 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/ds1225y.c | 100 +-- hw/mips.h |3 -- hw/mips_jazz.c | 11 +- 3 files changed, 83 insertions(+), 31 deletions(-) diff --git a/hw/ds1225y.c b/hw/ds1225y.c index

Re: [Qemu-devel] Benchmarking activities

2011-07-02 Thread Stefan Hajnoczi
On Fri, Jul 1, 2011 at 8:32 PM, Blue Swirl blauwir...@gmail.com wrote: 2011/6/27 Ben Vogler bvog...@toyotatech.com.au: -   Are there any inbuilt data tracing features? For example, hardware signal tracing, register monitoring etc. Tracing is quite new addition, so far it's only used

Re: [Qemu-devel] [PATCH 08/12] TCG/PPC: use TCG_REG_CALL_STACK instead of TCG_REG_R1

2011-07-02 Thread Blue Swirl
On Sat, Jul 2, 2011 at 12:06 AM, malc av1...@comtv.ru wrote: On Sat, 2 Jul 2011, Blue Swirl wrote: On Tue, Jun 28, 2011 at 1:51 AM, malc av1...@comtv.ru wrote: On Sun, 26 Jun 2011, Blue Swirl wrote: Use TCG_REG_CALL_STACK instead of TCG_REG_R1 etc. for consistency. This i'd rather

Re: [Qemu-devel] [PATCH] tcg: Reload local variables after return from longjmp

2011-07-02 Thread Blue Swirl
On Sat, Jul 2, 2011 at 10:50 AM, Jan Kiszka jan.kis...@web.de wrote: From: Jan Kiszka jan.kis...@siemens.com Recent compilers look deep into cpu_exec, find longjmp as a noreturn function and decide to smash some stack variables as they won't be used again. This may lead to env becoming

Re: [Qemu-devel] [PATCH] tcg: Reload local variables after return from longjmp

2011-07-02 Thread Jan Kiszka
On 2011-07-02 11:08, Blue Swirl wrote: On Sat, Jul 2, 2011 at 10:50 AM, Jan Kiszka jan.kis...@web.de wrote: From: Jan Kiszka jan.kis...@siemens.com Recent compilers look deep into cpu_exec, find longjmp as a noreturn function and decide to smash some stack variables as they won't be used

Re: [Qemu-devel] standalone C program Hello World on qemu-system-mipsel

2011-07-02 Thread Andreas Färber
Hi, Am 02.07.2011 um 08:13 schrieb Leo Chen.: qemu-system-mipsel -M mipssim -nographic -kernel bin/test.elf or qemu-system-mipsel -M malta -nographic -kernel bin/test.elf The use of -kernel for a random ELF executable looks strange, even if it happens to work on arm. Have you tried -bios

Re: [Qemu-devel] [PATCH 08/12] TCG/PPC: use TCG_REG_CALL_STACK instead of TCG_REG_R1

2011-07-02 Thread Andreas Färber
Am 02.07.2011 um 11:04 schrieb Blue Swirl: On Sat, Jul 2, 2011 at 12:06 AM, malc av1...@comtv.ru wrote: On Sat, 2 Jul 2011, Blue Swirl wrote: On Tue, Jun 28, 2011 at 1:51 AM, malc av1...@comtv.ru wrote: On Sun, 26 Jun 2011, Blue Swirl wrote: Use TCG_REG_CALL_STACK instead of TCG_REG_R1

Re: [Qemu-devel] device assignment for embedded Power

2011-07-02 Thread Paul Brook
So you're basically saying we should tackle these 3 issues separately: * actually pass through a device * generate interrupt links * model the guest device tree dynamically based on whatever the user gives us Yes. Paul

Re: [Qemu-devel] Benchmarking activities

2011-07-02 Thread Edgar E. Iglesias
On Sat, Jul 02, 2011 at 09:32:37AM +0100, Stefan Hajnoczi wrote: On Fri, Jul 1, 2011 at 8:32 PM, Blue Swirl blauwir...@gmail.com wrote: 2011/6/27 Ben Vogler bvog...@toyotatech.com.au: -   Are there any inbuilt data tracing features? For example, hardware signal tracing, register

Re: [Qemu-devel] [PATCH 3/3] megasas: LSI Megaraid SAS emulation

2011-07-02 Thread Hannes Reinecke
On 07/01/2011 06:42 PM, Alexander Graf wrote: On 01.07.2011, at 17:35, Hannes Reinecke wrote: This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA. Have you tried to execute the current version of megasas and actually do something with it? I just booted up openSUSE 11.4

Re: [Qemu-devel] [PATCH 3/3] megasas: LSI Megaraid SAS emulation

2011-07-02 Thread Alexander Graf
Am 02.07.2011 um 15:50 schrieb Hannes Reinecke h...@suse.de: On 07/01/2011 06:42 PM, Alexander Graf wrote: On 01.07.2011, at 17:35, Hannes Reinecke wrote: This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA. Have you tried to execute the current version of megasas and

[Qemu-devel] [PATCH] Build fixes

2011-07-02 Thread Raghavendra D Prabhu
Hi, With default configure, the qemu-kvm client build was failing for me since Werror is enabled by default in configure. Deprecations (gnutls), gcc signed-overflow optimization (Werror=strict-overflows) and few unused-but-set variables were causing it. I have attached the

Re: [Qemu-devel] [PATCH] Build fixes

2011-07-02 Thread Stefan Hajnoczi
On Sat, Jul 2, 2011 at 3:06 PM, Raghavendra D Prabhu rpra...@wnohang.net wrote:    With default configure, the qemu-kvm client build was failing for me    since Werror is enabled by default in configure.    Deprecations (gnutls), gcc signed-overflow optimization    (Werror=strict-overflows)

[Qemu-devel] [PATCH] esp: correctly fill bus id with requested lun

2011-07-02 Thread Hervé Poussineau
This bug showed up after 1455084ea2c48abf23c4e4e15e378ee43457f381, and may be seen only on operating systems *not* using DMA to give commands to SCSI adapter. Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/esp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [Qemu-devel] Benchmarking activities

2011-07-02 Thread Andreas Färber
Am 02.07.2011 um 10:32 schrieb Stefan Hajnoczi: On Fri, Jul 1, 2011 at 8:32 PM, Blue Swirl blauwir...@gmail.com wrote: 2011/6/27 Ben Vogler bvog...@toyotatech.com.au: - Are there any inbuilt data tracing features? For example, hardware signal tracing, register monitoring etc.

Re: [Qemu-devel] [PATCH 3/3] megasas: LSI Megaraid SAS emulation

2011-07-02 Thread Stefan Hajnoczi
On Fri, Jul 1, 2011 at 4:35 PM, Hannes Reinecke h...@suse.de wrote: +static void megasas_mmio_writel(void *opaque, target_phys_addr_t addr, +                                uint32_t val) +{ +    MPTState *s = opaque; +    target_phys_addr_t frame_addr; +    uint32_t frame_count; +    int i;

Re: [Qemu-devel] [PATCH V3] e1000: Handle IO Port.

2011-07-02 Thread Andreas Färber
Am 30.06.2011 um 23:35 schrieb Anthony PERARD: This patch introduces the two IOPorts on e1000, IOADDR and IODATA. The IOADDR is used to specify which register we want to access when we read or write on IODATA. This patch fixes some weird behavior that I see when I use e1000 with QEMU/Xen,

Re: [Qemu-devel] [PATCH 08/12] TCG/PPC: use TCG_REG_CALL_STACK instead of TCG_REG_R1

2011-07-02 Thread Blue Swirl
On Sat, Jul 2, 2011 at 1:02 PM, Andreas Färber andreas.faer...@web.de wrote: Am 02.07.2011 um 11:04 schrieb Blue Swirl: On Sat, Jul 2, 2011 at 12:06 AM, malc av1...@comtv.ru wrote: On Sat, 2 Jul 2011, Blue Swirl wrote: On Tue, Jun 28, 2011 at 1:51 AM, malc av1...@comtv.ru wrote: On Sun,

Re: [Qemu-devel] [PATCH 09/12] TCG/PPC: use stack for TCG temps

2011-07-02 Thread Blue Swirl
On Tue, Jun 28, 2011 at 1:50 AM, malc av1...@comtv.ru wrote: On Sun, 26 Jun 2011, Blue Swirl wrote: Use stack instead of temp_buf array in CPUState for TCG temps. This works. Thanks for the ack, applied. Signed-off-by: Blue Swirl blauwir...@gmail.com ---  tcg/ppc/tcg-target.c   |    7

Re: [Qemu-devel] Kemari status?

2011-07-02 Thread Laurent GUERBY
On Fri, 2011-06-24 at 17:00 +0900, OHMURA Kei wrote: 2011/6/24 Christian Brunner c...@muc.de: Does anyone know what happened to kemari? Back in March it was on the list for a possible merge in qemu 0.15. In April the last update was sent to this list. After that everything remained

[Qemu-devel] buildbot failure in qemu on qmp_x86_64_debian_5_0

2011-07-02 Thread qemu
The Buildbot has detected a new failure on builder qmp_x86_64_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/qmp_x86_64_debian_5_0/builds/22 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build

[Qemu-devel] buildbot failure in qemu on qmp_i386_debian_5_0

2011-07-02 Thread qemu
The Buildbot has detected a new failure on builder qmp_i386_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/qmp_i386_debian_5_0/builds/22 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Build