[Qemu-devel] [PATCH] Probe PCI existence

2011-09-21 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com This prevents lockups when trying to allocate PCI resources on an ISA-only system like QEMU can emulate. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- src/pci.c | 14 +- src/pci.h |3 ++- src/pciinit.c |7 +-- 3

[Qemu-devel] [PATCH] pseries: Add device tree properties for VMX/VSX and DFP under kvm

2011-09-21 Thread David Gibson
Sufficiently recent PAPR specifications define properties ibm,vmx and ibm,dfp on the CPU node which advertise whether the VMX vector extensions (or the later VSX version) and/or the Decimal Floating Point operations from IBM's recent POWER CPUs are available. Currently we do not put these in the

Re: [Qemu-devel] [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-21 Thread Zhi Yong Wu
On Tue, Sep 20, 2011 at 8:34 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Mon, Sep 19, 2011 at 05:55:41PM +0800, Zhi Yong Wu wrote: On Wed, Sep 14, 2011 at 6:50 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Tue, Sep 13, 2011 at 11:09:46AM +0800, Zhi Yong Wu wrote: On Fri, Sep 9,

Re: [Qemu-devel] [PATCH 1/6] Enable joinable POSIX threads

2011-09-21 Thread Paolo Bonzini
On 09/20/2011 06:53 PM, Jan Kiszka wrote: -qemu_thread_create(thread_id, event_thread, card); -qemu_thread_create(thread_id, handle_apdu_thread, card); +qemu_thread_create(thread_id, event_thread, card, QEMU_THREAD_DETACHED); +qemu_thread_create(thread_id, handle_apdu_thread,

[Qemu-devel] [PATCH] Silence make if nothing is to do for libcacard

2011-09-21 Thread Jan Kiszka
Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- libcacard/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 81d9eb5..a145569 100644 --- a/libcacard/Makefile +++ b/libcacard/Makefile @@ -27,6 +27,8 @@ clean:

Re: [Qemu-devel] [PATCH 1/2] trace: Add vcpu_init event

2011-09-21 Thread Jan Kiszka
On 2011-09-20 21:06, Lluís Vilanova wrote: Signals the creation of a new vCPU (CPUState structure). Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- cpus.c|1 + qemu-common.h |4 +++- trace-events |7 +++ 3 files changed, 11 insertions(+), 1 deletions(-)

Re: [Qemu-devel] [PATCH] qemu: Fix build failure without VNC support

2011-09-21 Thread wenyi
Hello! Qemu 0.15.0 doesn't build with vnc support disabled. The following patch fixes the problem. Signed-off-by: Boris Dolgov address@hidden -- --- monitor.c.orig 2011-09-14 18:11:12.235199764 +0400

[Qemu-devel] Tree broken by nbd: support feature negotiation commit.

2011-09-21 Thread Brad
The following commit.. nbd: support feature negotiation nbd supports writing flags in bytes 24...27 of the header, and uses that for the read-only flag. Add support for it in qemu-nbd. breaks the tree on what looks like anything but Linux. Besides the obvious issue.. nbd.c:443: error:

[Qemu-devel] [PATCH] Abort on thread layer errors

2011-09-21 Thread Jan Kiszka
Makes it easier to catch the bug in gdb as there is no need to set an explicit breakpoint. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- qemu-thread-posix.c |2 +- qemu-thread-win32.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu-thread-posix.c

Re: [Qemu-devel] Tree broken by nbd: support feature negotiation commit.

2011-09-21 Thread Paolo Bonzini
On 09/21/2011 09:27 AM, Brad wrote: Besides the obvious issue.. nbd.c:443: error: conflicting types for 'nbd_init' nbd.h:71: error: previous declaration of 'nbd_init' was here Oops, thanks for pointing it out to me. The changing of #ifndef _WIN32 to #ifdef __linux__ in nbd.c also looks

Re: [Qemu-devel] Tree broken by nbd: support feature negotiation commit.

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 09:32, schrieb Paolo Bonzini: On 09/21/2011 09:27 AM, Brad wrote: Besides the obvious issue.. nbd.c:443: error: conflicting types for 'nbd_init' nbd.h:71: error: previous declaration of 'nbd_init' was here Oops, thanks for pointing it out to me. Can you please send a fix?

Re: [Qemu-devel] Tree broken by nbd: support feature negotiation commit.

2011-09-21 Thread Brad
On 21/09/11 3:32 AM, Paolo Bonzini wrote: On 09/21/2011 09:27 AM, Brad wrote: Besides the obvious issue.. nbd.c:443: error: conflicting types for 'nbd_init' nbd.h:71: error: previous declaration of 'nbd_init' was here Oops, thanks for pointing it out to me. The changing of #ifndef _WIN32

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2011-09-21 Thread Alexander Graf
On 21.09.2011, at 01:05, q...@buildbot.b1-systems.de wrote: The Buildbot has detected a new failure on builder default_openbsd_4.9 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_openbsd_4.9/builds/31 Buildbot URL:

Re: [Qemu-devel] [PATCH] pseries: Add device tree properties for VMX/VSX and DFP under kvm

2011-09-21 Thread Alexander Graf
On 21.09.2011, at 08:35, David Gibson wrote: Sufficiently recent PAPR specifications define properties ibm,vmx and ibm,dfp on the CPU node which advertise whether the VMX vector extensions (or the later VSX version) and/or the Decimal Floating Point operations from IBM's recent POWER CPUs

[Qemu-devel] [PULL 00/13] Memory API conversion, batch 8

2011-09-21 Thread Avi Kivity
Available on git://github.com/avikivity/qemu.git memory/batch Please pull. Avi Kivity (13): mips_jazz: convert to memory API mips_malta: convert to memory API mips_mipssim: convert to memory API mips_r4k: convert to memory API musicpal: convert to memory API omap1: convert to

[Qemu-devel] [PATCH 02/13] mips_malta: convert to memory API

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity a...@redhat.com --- hw/mips_malta.c | 53 ++--- 1 files changed, 26 insertions(+), 27 deletions(-) diff --git a/hw/mips_malta.c b/hw/mips_malta.c index e7cdf20..0110daa 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c

[Qemu-devel] [PATCH 06/13] omap1: convert to memory API (part I)

2011-09-21 Thread Avi Kivity
Acked-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Avi Kivity a...@redhat.com --- hw/omap.h | 11 ++- hw/omap1.c| 338 +++- hw/omap_sx1.c |4 +- hw/palm.c |4 +- 4 files changed, 203 insertions(+), 154

[Qemu-devel] [PATCH 12/13] soc_dma: drop soc_dma_port_add_mem_ram()

2011-09-21 Thread Avi Kivity
It's a trivial wrapper for soc_dma_port_add_mem(), which makes the memory API conversion more difficult because it takes a ram addr_t. Drop. Acked-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Avi Kivity a...@redhat.com --- hw/omap1.c |8 hw/omap2.c |6 --

[Qemu-devel] [PATCH 05/13] musicpal: convert to memory API

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity a...@redhat.com --- hw/musicpal.c | 243 +++-- 1 files changed, 99 insertions(+), 144 deletions(-) diff --git a/hw/musicpal.c b/hw/musicpal.c index ade5a91..9b1f380 100644 --- a/hw/musicpal.c +++ b/hw/musicpal.c @@

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 01:05, schrieb q...@buildbot.b1-systems.de: The Buildbot has detected a new failure on builder default_openbsd_4.9 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_openbsd_4.9/builds/31 Buildbot URL:

[Qemu-devel] [PATCH 03/13] mips_mipssim: convert to memory API

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity a...@redhat.com --- hw/mips_mipssim.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/hw/mips_mipssim.c b/hw/mips_mipssim.c index ac6..7407158 100644 --- a/hw/mips_mipssim.c +++ b/hw/mips_mipssim.c @@ -137,8 +137,9 @@ static

Re: [Qemu-devel] [ltt-dev] [PATCH 2/3] trace: [ust] Do not use 'm' in event argument names (used by ust macros)

2011-09-21 Thread Stefan Hajnoczi
On Tue, Sep 20, 2011 at 5:22 PM, Mathieu Desnoyers comp...@krystal.dyndns.org wrote: * Stefan Hajnoczi (stefa...@gmail.com) wrote: 2011/9/20 Mathieu Desnoyers comp...@krystal.dyndns.org: * Lluís Vilanova (vilan...@ac.upc.edu) wrote: Stefan Hajnoczi writes: On Fri, Sep 16, 2011 at

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2011-09-21 Thread Brad
On 21/09/11 4:27 AM, Kevin Wolf wrote: Am 21.09.2011 01:05, schrieb q...@buildbot.b1-systems.de: The Buildbot has detected a new failure on builder default_openbsd_4.9 while building qemu. Full details are available at:

[Qemu-devel] [PATCH 10/13] omap1: convert to memory API (part V)

2011-09-21 Thread Avi Kivity
Tricky aliases. Acked-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Avi Kivity a...@redhat.com --- hw/omap1.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/hw/omap1.c b/hw/omap1.c index df5d68b..f48aa8a 100644 --- a/hw/omap1.c +++ b/hw/omap1.c

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 10:29, schrieb Brad: On 21/09/11 4:27 AM, Kevin Wolf wrote: Am 21.09.2011 01:05, schrieb q...@buildbot.b1-systems.de: The Buildbot has detected a new failure on builder default_openbsd_4.9 while building qemu. Full details are available at:

[Qemu-devel] [Bug 739785] Re: qemu-i386 user mode on ARMv5 host fails (bash: fork: Invalid argument)

2011-09-21 Thread moonman
I had exactly the same behavior with a patched 0.14.1. Wine doesn't work and that was the reason I was so eager to run qemu. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/739785 Title: qemu-i386

[Qemu-devel] [PATCH 07/13] omap1: convert to memory API (part II)

2011-09-21 Thread Avi Kivity
Acked-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Avi Kivity a...@redhat.com --- hw/omap.h |7 ++- hw/omap1.c | 195 2 files changed, 111 insertions(+), 91 deletions(-) diff --git a/hw/omap.h b/hw/omap.h index

[Qemu-devel] [PATCH 08/13] omap1: convert to memory API (part III)

2011-09-21 Thread Avi Kivity
Acked-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Avi Kivity a...@redhat.com --- hw/omap.h |8 ++- hw/omap1.c | 209 +-- 2 files changed, 123 insertions(+), 94 deletions(-) diff --git a/hw/omap.h b/hw/omap.h index

[Qemu-devel] [PATCH 09/13] omap1: convert to memory API (part IV)

2011-09-21 Thread Avi Kivity
Acked-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Avi Kivity a...@redhat.com --- hw/omap.h |1 + hw/omap1.c | 81 ++- 2 files changed, 48 insertions(+), 34 deletions(-) diff --git a/hw/omap.h b/hw/omap.h index

[Qemu-devel] [PATCH 01/13] mips_jazz: convert to memory API

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity a...@redhat.com --- hw/mips_jazz.c | 90 1 files changed, 45 insertions(+), 45 deletions(-) diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index f3c9f93..7cac5da 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@

[Qemu-devel] [PATCH] use qemu_* ctype functions

2011-09-21 Thread Christoph Egger
Fix warning: array subscript has type 'char' on NetBSD. Signed-off-by: Christoph Egger christoph.eg...@amd.com diff --git a/cmd.c b/cmd.c index ecca167..f77897e 100644 --- a/cmd.c +++ b/cmd.c @@ -389,7 +389,7 @@ cvtnum( if (sp[1] != '\0') return -1LL; - c =

[Qemu-devel] [PATCH 04/13] mips_r4k: convert to memory API

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity a...@redhat.com --- hw/mips_r4k.c | 39 +++ 1 files changed, 15 insertions(+), 24 deletions(-) diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index 5d002c5..805d02a 100644 --- a/hw/mips_r4k.c +++ b/hw/mips_r4k.c @@ -42,8 +42,8 @@

[Qemu-devel] [PATCH] remove duplicate typedef

2011-09-21 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- This is failing with some versions of GCC but not others, apparently. qemu-common.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/qemu-common.h b/qemu-common.h index ef9a2bb..404c421 100644 ---

[Qemu-devel] [PATCH 13/13] omap1: convert to memory API (part VI)

2011-09-21 Thread Avi Kivity
Easy RAM stuff. Acked-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Avi Kivity a...@redhat.com --- hw/omap.h|2 ++ hw/omap1.c | 17 +++-- hw/soc_dma.h |2 ++ 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/hw/omap.h b/hw/omap.h index

Re: [Qemu-devel] Tree broken by nbd: support feature negotiation commit.

2011-09-21 Thread Paolo Bonzini
On 09/21/2011 09:43 AM, Brad wrote: It is not portable code, and (unlike the rest of qemu-nbd and the block/nbd.c protocol) not meant to be portable. Are BLKROSET (defined in linux/fs.h) and the whole set of NBD ioctls available under OpenBSD? Ok. What confused me a bit is that particular

Re: [Qemu-devel] Tree broken by nbd: support feature negotiation commit.

2011-09-21 Thread Brad
On 21/09/11 5:21 AM, Paolo Bonzini wrote: On 09/21/2011 09:43 AM, Brad wrote: It is not portable code, and (unlike the rest of qemu-nbd and the block/nbd.c protocol) not meant to be portable. Are BLKROSET (defined in linux/fs.h) and the whole set of NBD ioctls available under OpenBSD? Ok.

Re: [Qemu-devel] [libvirt] [PATCH] qemu: Fix shutdown regression

2011-09-21 Thread Daniel P. Berrange
On Tue, Sep 20, 2011 at 12:01:58PM -0600, Eric Blake wrote: On 09/20/2011 11:39 AM, Jiri Denemark wrote: The commit that prevents disk corruption on domain shutdown (96fc4784177ecb70357518fa863442455e45ad0e) causes regression with QEMU 0.14.* and 0.15.* because of a regression bug in QEMU that

[Qemu-devel] [PATCH 11/13] omap_lcdc: remove imif, emiff from structure

2011-09-21 Thread Avi Kivity
Not used. Acked-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Avi Kivity a...@redhat.com --- hw/omap.h |3 +-- hw/omap1.c |3 +-- hw/omap_lcdc.c |7 +-- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/hw/omap.h b/hw/omap.h index

[Qemu-devel] [PATCH] fix qemu build with nas installed

2011-09-21 Thread Christoph Egger
When NAS (http://nas.sf.net) is installed then there is an existing audio/audio.h. Then when compiling qemu, #include audio/audio.h takes the one from NAS and causes the build to fail. So rename audio/audio.h to audio/qaudio.h and adjust all users. Signed-off-by: Christoph Egger

[Qemu-devel] [PATCH] Add iSCSI support for QEMU

2011-09-21 Thread Ronnie Sahlberg
List, Please find a patch that adds built-in iSCSI support to QEMU when built and linked against the multiplatform iscsi initiator library at git://github.com/sahlberg/libiscsi.git I have implemented all suggested changed from Stefans review, except * Fail the build if qemu blocksize is

[Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI

2011-09-21 Thread Ronnie Sahlberg
This provides built-in support for iSCSI to QEMU. This has the advantage that the iSCSI devices need not be made visible to the host, which is useful if you have very many virtual machines and very many iscsi devices. It also has the benefit that non-root users of QEMU can access iSCSI devices

Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI

2011-09-21 Thread Paolo Bonzini
On 09/21/2011 11:37 AM, Ronnie Sahlberg wrote: This driver interfaces with the multiplatform posix library for iscsi initiator/client access to iscsi devices hosted at git://github.com/sahlberg/libiscsi.git Do you plan to make a stable release, so that it can be packaged e.g. in Fedora?

[Qemu-devel] [Bug 739785] Re: qemu-i386 user mode on ARMv5 host fails (bash: fork: Invalid argument)

2011-09-21 Thread Justin Shafer
Moonman, you know what I realized. I have the posix version of wine running okay with qemu-i386... But I have never been able to compile my own working version.. I realized that last night. I can compile, and it will run, but wine never actually runs, and Im compiling with --enable- sdl and all

Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI

2011-09-21 Thread ronnie sahlberg
Stefan, Thanks for your review. I feel that iscsi would be beneficial for several usecases. I have implemented all changes you pointed out, except two, and resent an updated patch to the list. Please see below. regards ronnie sahlberg On Mon, Sep 12, 2011 at 7:14 PM, Stefan Hajnoczi

Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI

2011-09-21 Thread ronnie sahlberg
On Wed, Sep 21, 2011 at 7:45 PM, Paolo Bonzini pbonz...@redhat.com wrote: On 09/21/2011 11:37 AM, Ronnie Sahlberg wrote: This driver interfaces with the multiplatform posix library for iscsi initiator/client access to iscsi devices hosted at     git://github.com/sahlberg/libiscsi.git Do you

Re: [Qemu-devel] [PATCH] remove duplicate typedef

2011-09-21 Thread Stefan Hajnoczi
On Wed, Sep 21, 2011 at 10:16 AM, Paolo Bonzini pbonz...@redhat.com wrote: diff --git a/qemu-common.h b/qemu-common.h index ef9a2bb..404c421 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -18,7 +18,6 @@ typedef struct DeviceState DeviceState;  struct Monitor;  typedef struct Monitor

Re: [Qemu-devel] [PATCH] remove duplicate typedef

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 12:07, schrieb Stefan Hajnoczi: On Wed, Sep 21, 2011 at 10:16 AM, Paolo Bonzini pbonz...@redhat.com wrote: diff --git a/qemu-common.h b/qemu-common.h index ef9a2bb..404c421 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -18,7 +18,6 @@ typedef struct DeviceState DeviceState;

Re: [Qemu-devel] [PATCH] remove duplicate typedef

2011-09-21 Thread Paolo Bonzini
On 09/21/2011 12:07 PM, Stefan Hajnoczi wrote: On Wed, Sep 21, 2011 at 10:16 AM, Paolo Bonzinipbonz...@redhat.com wrote: diff --git a/qemu-common.h b/qemu-common.h index ef9a2bb..404c421 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -18,7 +18,6 @@ typedef struct DeviceState DeviceState;

Re: [Qemu-devel] [PATCH] fix qemu build with nas installed

2011-09-21 Thread Stefan Hajnoczi
On Wed, Sep 21, 2011 at 10:34 AM, Christoph Egger christoph.eg...@amd.com wrote: When NAS (http://nas.sf.net) is installed then there is an existing audio/audio.h. Then when compiling qemu, #include audio/audio.h takes the one from NAS and causes the build to fail. So rename audio/audio.h

Re: [Qemu-devel] [PATCH] use qemu_* ctype functions

2011-09-21 Thread Stefan Hajnoczi
On Wed, Sep 21, 2011 at 11:10:39AM +0200, Christoph Egger wrote: Fix warning: array subscript has type 'char' on NetBSD. Signed-off-by: Christoph Egger christoph.eg...@amd.com This proves that macros are the most powerful programming tool because they can be used to fix problems caused by

Re: [Qemu-devel] [PATCH] Remove qemu_host_page_bits

2011-09-21 Thread Stefan Hajnoczi
On Sat, Sep 17, 2011 at 12:25:30PM +0200, Stefan Weil wrote: It was introduced with commit 54936004fddc52c321cb3f9a9a51140e782bed5d as host_page_bits but never used. Signed-off-by: Stefan Weil w...@mail.berlios.de --- cpu-all.h |1 - exec.c|4 2 files changed, 0

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Abort on thread layer errors

2011-09-21 Thread Stefan Hajnoczi
On Wed, Sep 21, 2011 at 09:28:31AM +0200, Jan Kiszka wrote: Makes it easier to catch the bug in gdb as there is no need to set an explicit breakpoint. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- qemu-thread-posix.c |2 +- qemu-thread-win32.c |2 +- 2 files changed, 2

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Silence make if nothing is to do for libcacard

2011-09-21 Thread Stefan Hajnoczi
On Wed, Sep 21, 2011 at 09:18:32AM +0200, Jan Kiszka wrote: Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- libcacard/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Thanks, applied to the trivial patches tree:

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Drop unneeded pthread.h inclusions

2011-09-21 Thread Stefan Hajnoczi
On Tue, Sep 20, 2011 at 05:11:58PM +0200, Jan Kiszka wrote: Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/xen_nic.c |1 - hw/xics.c |2 -- ui/spice-display.c |2 -- 3 files changed, 0 insertions(+), 5 deletions(-) Thanks, applied to the trivial patches

[Qemu-devel] [PATCH 1/8] target-i386: Remove data type CCTable

2011-09-21 Thread Stefan Hajnoczi
From: Stefan Weil w...@mail.berlios.de Remove also two assert statements which were the last remaining users. Signed-off-by: Stefan Weil w...@mail.berlios.de Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- target-i386/cpu.h |5 - target-i386/translate.c |5 -

[Qemu-devel] [PATCH 8/8] use qemu_* ctype functions

2011-09-21 Thread Stefan Hajnoczi
From: Christoph Egger christoph.eg...@amd.com Fix warning: array subscript has type 'char' on NetBSD. Signed-off-by: Christoph Egger christoph.eg...@amd.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- cmd.c|2 +- ui/keymaps.c |2 +- 2 files changed, 2

[Qemu-devel] [PATCH 6/8] Abort on thread layer errors

2011-09-21 Thread Stefan Hajnoczi
From: Jan Kiszka jan.kis...@siemens.com Makes it easier to catch the bug in gdb as there is no need to set an explicit breakpoint. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- qemu-thread-posix.c |2 +- qemu-thread-win32.c |

Re: [Qemu-devel] [libvirt] [PATCH] qemu: Fix shutdown regression

2011-09-21 Thread Kevin Wolf
Am 20.09.2011 20:01, schrieb Eric Blake: On 09/20/2011 11:39 AM, Jiri Denemark wrote: The commit that prevents disk corruption on domain shutdown (96fc4784177ecb70357518fa863442455e45ad0e) causes regression with QEMU 0.14.* and 0.15.* because of a regression bug in QEMU that was fixed only

Re: [Qemu-devel] [PATCH] trace: Update docs to use example events that exist

2011-09-21 Thread Stefan Hajnoczi
On Tue, Sep 20, 2011 at 09:03:48PM +0200, Lluís Vilanova wrote: The events 'qemu_malloc' and 'qemu_free' used in the examples no longer exist, so use 'qemu_vmalloc' and 'qemu_vfree' instead. Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- docs/tracing.txt | 16 +--- 1

[Qemu-devel] [PULL 0/5] Tracing patches

2011-09-21 Thread Stefan Hajnoczi
The latest fixes and updates to QEMU tracing. Lluís Vilanova (1): trace: Update docs to use example events that exist Stefan Hajnoczi (4): trace: allow trace events with string arguments MAINTAINERS: add tracing subsystem trace: portable simple trace backend using glib trace: use

[Qemu-devel] [PATCH 4/5] trace: use binary file open mode in simpletrace

2011-09-21 Thread Stefan Hajnoczi
For Windows portability the simple trace backend must use the 'b' file open mode. This prevents the stdio library from mangling 0x0a/0x0d newline characters. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- trace/simple.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[Qemu-devel] [PATCH 7/8] Remove qemu_host_page_bits

2011-09-21 Thread Stefan Hajnoczi
From: Stefan Weil w...@mail.berlios.de It was introduced with commit 54936004fddc52c321cb3f9a9a51140e782bed5d as host_page_bits but never used. Signed-off-by: Stefan Weil w...@mail.berlios.de Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- cpu-all.h |1 - exec.c|4

[Qemu-devel] [PATCH 2/8] configure: Make missing pkg-config an error rather than a warning

2011-09-21 Thread Stefan Hajnoczi
From: Peter Maydell peter.mayd...@linaro.org If pkg-config doesn't exist then make configure fail immediately with a useful error message. Now that glib is a required dependency, proceeding despite the missing pkg-config will just cause us to fail later with a misleading message about glib not

[Qemu-devel] [PATCH 1/5] trace: allow trace events with string arguments

2011-09-21 Thread Stefan Hajnoczi
String arguments are useful for producing human-readable traces without post-processing (e.g. stderr backend). Although the simple backend cannot handles strings all others can. Strings should be allowed and the simple backend can be extended to support them. Signed-off-by: Stefan Hajnoczi

[Qemu-devel] [PATCH 3/5] trace: portable simple trace backend using glib

2011-09-21 Thread Stefan Hajnoczi
Convert the simple trace backend to glib so that it works under Windows. We cannot use pthread directly but glib provides portable abstractions. Also use glib atomics instead of newish gcc builtins which may not be supported on Windows toolchains. Signed-off-by: Stefan Hajnoczi

[Qemu-devel] block/curl: Remedy a crashing bug completing AIOCBs from cache

2011-09-21 Thread nick
In QEMU master, attempting to read a cached block from a HTTP (or otherwise) mounted ISO causes an assert to be triggered, killing the entire QEMU process. It looks like this: hw/ide/pci.c:314: bmdma_cmd_writeb: Assertion `bm-bus-dma-aiocb == ((void *)0)' failed. The following two patches add

[Qemu-devel] [PATCH 2/2] block/curl: Don't finish AIOCBs too early

2011-09-21 Thread nick
From: Nick Thomas n...@bytemark.co.uk The previous behaviour was to finish AIOCBs inside curl_aio_readv() if the data was cached. This caused the following failed assertion at hw/ide/pci.c:314: bmdma_cmd_writeb Assertion `bm-bus-dma-aiocb == ((void *)0)' failed. By scheduling a QEMUBH and

[Qemu-devel] [PATCH 1/2] block/curl: Implement a flush function on the fd handlers

2011-09-21 Thread nick
From: Nick Thomas n...@bytemark.co.uk Signed-off-by: Nick Thomas n...@bytemark.co.uk --- block/curl.c | 26 ++ 1 files changed, 22 insertions(+), 4 deletions(-) diff --git a/block/curl.c b/block/curl.c index f3f61cc..21fed93 100644 --- a/block/curl.c +++ b/block/curl.c

[Qemu-devel] [PATCH 5/8] Silence make if nothing is to do for libcacard

2011-09-21 Thread Stefan Hajnoczi
From: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- libcacard/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index

[Qemu-devel] [PATCH 3/8] fix compilation with stderr trace backend

2011-09-21 Thread Stefan Hajnoczi
From: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- trace-events |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/trace-events b/trace-events index 829dc92..a31d9aa 100644

[Qemu-devel] [PULL 0/8] Trivial patches for September 10 to 21 2011

2011-09-21 Thread Stefan Hajnoczi
The following changes since commit 27cdad67a1bc23b38c765b677ed8064bfb8d3e44: Revert alpha-softmmu: Disable for the 0.15 release branch. (2011-09-21 00:50:32 +0200) are available in the git repository at: ssh://repo.or.cz/srv/git/qemu/stefanha.git trivial-patches Christoph Egger (1):

[Qemu-devel] [PATCH 5/5] trace: Update docs to use example events that exist

2011-09-21 Thread Stefan Hajnoczi
From: Lluís Vilanova vilan...@ac.upc.edu The events 'qemu_malloc' and 'qemu_free' used in the examples no longer exist, so use 'qemu_vmalloc' and 'qemu_vfree' instead. Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com ---

[Qemu-devel] [PATCH] hw/omap1: Wire up GPIO clock

2011-09-21 Thread Peter Maydell
Wire up the OMAP1 GPIO clock -- this fixes a hw_error() on startup with OMAP1 based machines (sx1, cheetah). Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- This might textually conflict with Avi's memory API batch 8; I'm posting it for review anyway so I can put it together in a

[Qemu-devel] [PATCH 2/5] MAINTAINERS: add tracing subsystem

2011-09-21 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 72b2099..7c5ea87 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -459,6 +459,12 @@ S: Maintained F: slirp/ T:

[Qemu-devel] [PATCH 4/8] Drop unneeded pthread.h inclusions

2011-09-21 Thread Stefan Hajnoczi
From: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- hw/xen_nic.c |1 - hw/xics.c |2 -- ui/spice-display.c |2 -- 3 files changed, 0 insertions(+), 5 deletions(-) diff

[Qemu-devel] [PATCH] exec.c: Remove useless comment

2011-09-21 Thread 陳韋任
As phys_ram_size had been removed since QEMU 0.12. Remove the useless comment. Signed-off-by: Chen Wen-Ren che...@iis.sinica.edu.tw --- exec.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/exec.c b/exec.c index c1e045d..9192579 100644 --- a/exec.c +++ b/exec.c @@

[Qemu-devel] [PULL] memory core fix

2011-09-21 Thread Avi Kivity
Please pull from git://github.com/avikivity/qemu.git memory/core to receive the following fix: Michael Walle (1): memory: fix subregion collision warning memory.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/memory.c b/memory.c index

[Qemu-devel] [Bug 739785] Re: qemu-i386 user mode on ARMv5 host fails (bash: fork: Invalid argument)

2011-09-21 Thread Justin Shafer
See this can run the posix wine.. But I cant recreate it. Its running qemu-0.12.2 which you can download and compile but I still cant get it to play solitaire like I can with the one below. wget http://a.trap.me.uk/qemu-i386 -- You received this bug notification because you are a member of

Re: [Qemu-devel] [PATCH] ahci: add port I/O index-data pair

2011-09-21 Thread Kevin Wolf
Am 27.08.2011 11:12, schrieb Daniel Verkamp: Implement an I/O space index-data register pair as defined by the AHCI spec, including the corresponding SATA PCI capability and BAR. This allows real-mode code to access the AHCI registers; real-mode code cannot address the memory-mapped register

Re: [Qemu-devel] [PATCH 3/6] qed: add open_conversion_target()

2011-09-21 Thread Stefan Hajnoczi
On Mon, Sep 12, 2011 at 3:47 PM, Devin Nakamura devin...@gmail.com wrote: +static int bdrv_qed_open_conversion_target(BlockDriverState *bs, +                                           BlockConversionOptions *drv_options, +                                           QEMUOptionParameter

Re: [Qemu-devel] [PATCH 1/6] qed: add qed_find_cluster_sync()

2011-09-21 Thread Stefan Hajnoczi
On Mon, Sep 12, 2011 at 3:47 PM, Devin Nakamura devin...@gmail.com wrote: /* See qed_find_cluster(), especially how request-l2_table reference count works */ +int qed_find_cluster_sync(BDRVQEDState *s, QEDRequest *request, uint64_t pos, +                          size_t len, uint64_t *offset, +

Re: [Qemu-devel] [PATCH] ahci: add port I/O index-data pair

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 14:34, schrieb Kevin Wolf: Am 27.08.2011 11:12, schrieb Daniel Verkamp: Implement an I/O space index-data register pair as defined by the AHCI spec, including the corresponding SATA PCI capability and BAR. This allows real-mode code to access the AHCI registers; real-mode code

Re: [Qemu-devel] [PATCH 1/6] qed: add qed_find_cluster_sync()

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 14:45, schrieb Stefan Hajnoczi: On Mon, Sep 12, 2011 at 3:47 PM, Devin Nakamura devin...@gmail.com wrote: /* See qed_find_cluster(), especially how request-l2_table reference count works */ +int qed_find_cluster_sync(BDRVQEDState *s, QEDRequest *request, uint64_t pos, +

[Qemu-devel] Enabling Hyperthreading for Guest

2011-09-21 Thread erik . rull
Hi all, I'm searching for a switch to enable hyperthreading for my Windows XP Guest. Currently I only get 2 cores available in the taskmanager but listed 4 or 8 (depending on the smp-switch). After having read that XP supports only up to 2 cores but also with HT this should show me 4 cores. What

[Qemu-devel] [PULL 0/4] Block patches (includes build fix for non-Linux)

2011-09-21 Thread Kevin Wolf
The following changes since commit 27cdad67a1bc23b38c765b677ed8064bfb8d3e44: Revert alpha-softmmu: Disable for the 0.15 release branch. (2011-09-21 00:50:32 +0200) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony Daniel Verkamp (1): ahci: add port

[Qemu-devel] [PATCH 4/4] block/curl: Don't finish AIOCBs too early

2011-09-21 Thread Kevin Wolf
From: Nick Thomas n...@bytemark.co.uk The previous behaviour was to finish AIOCBs inside curl_aio_readv() if the data was cached. This caused the following failed assertion at hw/ide/pci.c:314: bmdma_cmd_writeb Assertion `bm-bus-dma-aiocb == ((void *)0)' failed. By scheduling a QEMUBH and

[Qemu-devel] [PATCH 3/4] block/curl: Implement a flush function on the fd handlers

2011-09-21 Thread Kevin Wolf
From: Nick Thomas n...@bytemark.co.uk Signed-off-by: Nick Thomas n...@bytemark.co.uk Signed-off-by: Kevin Wolf kw...@redhat.com --- block/curl.c | 26 ++ 1 files changed, 22 insertions(+), 4 deletions(-) diff --git a/block/curl.c b/block/curl.c index f3f61cc..21fed93

[Qemu-devel] [PATCH 2/3] trace: Add vcpu_init event

2011-09-21 Thread Lluís Vilanova
Signals the creation of a new vCPU (CPUState structure). Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- cpus.c|1 + qemu-common.h |3 +++ trace-events |7 +++ 3 files changed, 11 insertions(+), 0 deletions(-) diff --git a/cpus.c b/cpus.c index 8978779..2b4f9b8

[Qemu-devel] [PATCH 3/3] trace: Add vcpu_reset event

2011-09-21 Thread Lluís Vilanova
Signals the reset of the state a vCPU (CPUState structure). Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- target-arm/helper.c |3 +++ target-cris/translate.c |3 +++ target-i386/helper.c |3 +++ target-lm32/helper.c |3 +++

[Qemu-devel] [PATCH 1/3] Make 'qemu_init_vcpu' a function (instead of a macro)

2011-09-21 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- qemu-common.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/qemu-common.h b/qemu-common.h index 404c421..fca101e 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -297,7 +297,9 @@ struct qemu_work_item { };

Re: [Qemu-devel] block/curl: Remedy a crashing bug completing AIOCBs from cache

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 12:55, schrieb n...@bytemark.co.uk: In QEMU master, attempting to read a cached block from a HTTP (or otherwise) mounted ISO causes an assert to be triggered, killing the entire QEMU process. It looks like this: hw/ide/pci.c:314: bmdma_cmd_writeb: Assertion `bm-bus-dma-aiocb ==

[Qemu-devel] [PATCH 2/4] ahci: add port I/O index-data pair

2011-09-21 Thread Kevin Wolf
From: Daniel Verkamp dan...@drv.nu Implement an I/O space index-data register pair as defined by the AHCI spec, including the corresponding SATA PCI capability and BAR. This allows real-mode code to access the AHCI registers; real-mode code cannot address the memory-mapped register space because

Re: [Qemu-devel] [PATCH 1/6] Enable joinable POSIX threads

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 09:16, schrieb Paolo Bonzini: On 09/20/2011 06:53 PM, Jan Kiszka wrote: -qemu_thread_create(thread_id, event_thread, card); -qemu_thread_create(thread_id, handle_apdu_thread, card); +qemu_thread_create(thread_id, event_thread, card, QEMU_THREAD_DETACHED); +

Re: [Qemu-devel] [PATCH 1/6] Enable joinable POSIX threads

2011-09-21 Thread Paolo Bonzini
On 09/21/2011 03:40 PM, Kevin Wolf wrote: I think these two should be joinable. Otherwise, you might be destroying the apdu_thread_quit_mutex while the handle_apdu_thread hasn't yet finished unlocking it (even though it already progressed enough in qemu_mutex_destroy to release the

[Qemu-devel] [PATCH 1/4] nbd: fix non-Linux build failure

2011-09-21 Thread Kevin Wolf
From: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Kevin Wolf kw...@redhat.com --- nbd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/nbd.c b/nbd.c index 595f4d8..fb5e424 100644 --- a/nbd.c +++ b/nbd.c @@ -439,7

Re: [Qemu-devel] [PATCH 1/3] Make 'qemu_init_vcpu' a function (instead of a macro)

2011-09-21 Thread Lluís Vilanova
Please ignore these patches. Implementation of 'qemu_init_vcpu' in CONFIG_USER_ONLY must be moved into a C file to avoid an include loop between trace.h and qemu-common.h Ideas on which file this is supposed to go? Lluis Lluís Vilanova writes: Signed-off-by: Lluís Vilanova

Re: [Qemu-devel] [PATCH 3/6] Switch POSIX compat AIO to QEMU abstractions

2011-09-21 Thread Kevin Wolf
Am 20.09.2011 18:53, schrieb Jan Kiszka: Although there is nothing to wrap for non-POSIX here, redirecting thread and synchronization services to our core simplifies managements jobs like scheduling parameter adjustment. It also frees compat AIO from some duplicate code (/wrt qemu-thread).

Re: [Qemu-devel] [PATCH 3/6] Switch POSIX compat AIO to QEMU abstractions

2011-09-21 Thread Jan Kiszka
On 2011-09-21 15:57, Kevin Wolf wrote: Am 20.09.2011 18:53, schrieb Jan Kiszka: Although there is nothing to wrap for non-POSIX here, redirecting thread and synchronization services to our core simplifies managements jobs like scheduling parameter adjustment. It also frees compat AIO from some

Re: [Qemu-devel] [PATCH 3/6] Switch POSIX compat AIO to QEMU abstractions

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 16:02, schrieb Jan Kiszka: On 2011-09-21 15:57, Kevin Wolf wrote: Am 20.09.2011 18:53, schrieb Jan Kiszka: Although there is nothing to wrap for non-POSIX here, redirecting thread and synchronization services to our core simplifies managements jobs like scheduling parameter

Re: [Qemu-devel] [PATCH v2] block: allow resizing of images residing on host devices

2011-09-21 Thread Kevin Wolf
Am 21.09.2011 01:10, schrieb Christoph Hellwig: Allow to resize images that reside on host devices up to the available space. This allows to grow images after resizing the device manually or vice versa. Signed-off-by: Christoph Hellwig h...@lst.de Thanks, applied to the block branch.

  1   2   >