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 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 wrote: >> > On Tue, Sep 13, 2011 at 11:09:46AM +0800, Zhi Yong Wu wrote: >> >> On Fri, Sep 9, 2011 at 10:44 PM, Marcelo Tosatt

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 --- 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: rm -Rf .libs all:

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 > --- > cpus.c|1 + > qemu-common.h |4 +++- > trace-events |7 +++ > 3 files changed, 11 insertions(+), 1 deletions(-) > > diff --git

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 -- --- monitor.c.orig 2011-09-14 18:11:12.235199764 +0400 +++ moni

[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: confli

[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 --- qemu-thread-posix.c |2 +- qemu-thread-win32.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu-thread-posix.c b/qemu-thread-posix.c index 2b

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 quest

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

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 to

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: http://build

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

[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 memor

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

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity --- 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 @@ -57,6 +57,9 @

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

2011-09-21 Thread Avi Kivity
Acked-by: Peter Maydell Signed-off-by: Avi Kivity --- hw/omap.h | 11 ++- hw/omap1.c| 338 +++- hw/omap_sx1.c |4 +- hw/palm.c |4 +- 4 files changed, 203 insertions(+), 154 deletions(-) diff --git a/hw/omap.h b/hw/omap.

[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 Signed-off-by: Avi Kivity --- hw/omap1.c |8 hw/omap2.c |6 -- hw/soc_dma.h |6 -- 3 files chang

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

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity --- 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 @@ -19,6 +19,7 @@ #i

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: http://buildbot

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

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity --- 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 void mipsnet_init(i

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 wrote: > * Stefan Hajnoczi (stefa...@gmail.com) wrote: >> 2011/9/20 Mathieu Desnoyers : >> > * Lluís Vilanova (vilan...@ac.upc.edu) wrote: >> >> Stefan Hajnoczi writes: >> >> >> >> > On Fri, Sep 16, 2011 at 06:59:38PM +0200, Lluís Vilanova wrote:

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: http://buildbot.b1-systems.de/qemu/builders/default_openbsd_4.9/builds/31

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

2011-09-21 Thread Avi Kivity
Tricky aliases. Acked-by: Peter Maydell Signed-off-by: Avi Kivity --- 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 @@ -3708,14 +3708,16 @@ static void omap

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: >>> http://buildbot.b1-s

[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 us

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

2011-09-21 Thread Avi Kivity
Acked-by: Peter Maydell Signed-off-by: Avi Kivity --- 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 eec8f04..cb3b524 100644 --- a/hw/omap.h +++ b

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

2011-09-21 Thread Avi Kivity
Acked-by: Peter Maydell Signed-off-by: Avi Kivity --- 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 cb3b524..059b48f 100644 --- a/hw/omap.h +++ b/

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

2011-09-21 Thread Avi Kivity
Acked-by: Peter Maydell Signed-off-by: Avi Kivity --- 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 059b48f..25d10f3 100644 --- a/hw/omap.h +++ b/hw/

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

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity --- 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 @@ -52,44 +52,42 @

[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 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 = tolower(*sp); + c =

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

2011-09-21 Thread Avi Kivity
Signed-off-by: Avi Kivity --- 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 @@ const char *initr

[Qemu-devel] [PATCH] remove duplicate typedef

2011-09-21 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- 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 --- a/qemu-common.h +++ b/qemu

[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 Signed-off-by: Avi Kivity --- 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 de83452..0260cc0 100644 --- a/hw/omap.h +++ b

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 partic

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. What

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 QEM

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

2011-09-21 Thread Avi Kivity
Not used. Acked-by: Peter Maydell Signed-off-by: Avi Kivity --- 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 25d10f3..de83452 100644 --- a/hw/omap.h +++ b/hw/omap.

[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 diff --git

[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 not

[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 a

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 tha

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 wrote: >

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 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 plan to

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

2011-09-21 Thread Stefan Hajnoczi
On Wed, Sep 21, 2011 at 10:16 AM, Paolo Bonzini 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 Monitor; > -typ

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 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; >> >> st

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 Bonzini 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; t

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 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 to audio/qaudio.

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 This proves that macros are the most powerful programming tool because they can be used to fix problems caused by macros in the firs

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 > --- > cpu-all.h |1 - > exec.c|4 > 2 files changed, 0 insertions(+), 5 dele

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 > --- > qemu-thread-posix.c |2 +- > qemu-thread-win32.c |2 +- > 2 files changed, 2 insertions(+), 2 d

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 > --- > libcacard/Makefile |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) Thanks, applied to the trivial patches tree: http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches

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 > --- > 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 tree: http://repo

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

2011-09-21 Thread Stefan Hajnoczi
From: Stefan Weil Remove also two assert statements which were the last remaining users. Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- target-i386/cpu.h |5 - target-i386/translate.c |5 - 2 files changed, 0 insertions(+), 10 deletions(-) diff --git a/ta

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

2011-09-21 Thread Stefan Hajnoczi
From: Christoph Egger Fix "warning: array subscript has type 'char'" on NetBSD. Signed-off-by: Christoph Egger Signed-off-by: Stefan Hajnoczi --- cmd.c|2 +- ui/keymaps.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd.c b/cmd.c index ecca167..f77897e

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

2011-09-21 Thread Stefan Hajnoczi
From: 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 Signed-off-by: Stefan Hajnoczi --- qemu-thread-posix.c |2 +- qemu-thread-win32.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a

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 >>

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 > --- > docs/tracing.txt | 16 +--- > 1 files changed

[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 binary

[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 --- trace/simple.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/trace/simple.

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

2011-09-21 Thread Stefan Hajnoczi
From: Stefan Weil It was introduced with commit 54936004fddc52c321cb3f9a9a51140e782bed5d as host_page_bits but never used. Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- cpu-all.h |1 - exec.c|4 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/cp

[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 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 being present. Signed-off-

[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 --- trace/simple.

[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 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 performing the compl

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

2011-09-21 Thread nick
From: Nick Thomas Signed-off-by: Nick Thomas --- 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 @@ -76,6 +76,7 @@ typedef struct BDRVC

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

2011-09-21 Thread Stefan Hajnoczi
From: Jan Kiszka Signed-off-by: Jan Kiszka Signed-off-by: Stefan Hajnoczi --- 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 @@

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

2011-09-21 Thread Stefan Hajnoczi
From: Paolo Bonzini Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi --- trace-events |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/trace-events b/trace-events index 829dc92..a31d9aa 100644 --- a/trace-events +++ b/trace-events @@ -455,7 +455,7 @@ milkymi

[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 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 Signed-off-by: Stefan Hajnoczi --- docs/tracing.txt | 16 +--- 1 files changed, 9 insertions(+), 7 de

[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 --- 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 pullreq with the other outstand

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

2011-09-21 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi --- 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: git://git.kiszka.org/qemu.git

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

2011-09-21 Thread Stefan Hajnoczi
From: Jan Kiszka Signed-off-by: Jan Kiszka Signed-off-by: Stefan Hajnoczi --- hw/xen_nic.c |1 - hw/xics.c |2 -- ui/spice-display.c |2 -- 3 files changed, 0 insertions(+), 5 deletions(-) diff --git a/hw/xen_nic.c b/hw/xen_nic.c index aeca8da..ef2a2d6 100644 --- a/

[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 --- 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 @@ -476,7 +476,6 @@ static void 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 101b67c..ba

[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 qemu

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 regi

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 wrote: > +static int bdrv_qed_open_conversion_target(BlockDriverState *bs, > +                                           BlockConversionOptions > *drv_options, > +                                           QEMUOptionParameter *usr_options, > +      

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 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-mod

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 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 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 performing the compl

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

2011-09-21 Thread Kevin Wolf
From: Nick Thomas Signed-off-by: Nick Thomas Signed-off-by: Kevin Wolf --- 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 @@ -76,6 +7

[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 --- 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 100644 --- a/cpus.c ++

[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 --- target-arm/helper.c |3 +++ target-cris/translate.c |3 +++ target-i386/helper.c |3 +++ target-lm32/helper.c |3 +++ target-m68k/helper.c |

[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 --- 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 { }; #ifdef CONFIG_USER_ONL

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->a

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

2011-09-21 Thread Kevin Wolf
From: 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 space because it is beyond

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 Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- 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 +439,7 @@ int nbd_client(int fd) return ret; } #el

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 > --- > qemu-co

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 fro

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 par

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 Thanks, applied to the block branch. Kevin

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

2011-09-21 Thread Justin Shafer
Okay I found that 12.5 I can run posix wine and that is compiling on my own. gonna try the patch on 12.5 to see if it can run dynamic nptl binaries -- 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

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

2011-09-21 Thread Justin Shafer
Odd.. If I do ./configure --static --enable-sdl --target-list=i386 -linux-user this will work fine with 12.5 but on say 15 it cant find SDL. I am on 1.2.13 I think. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpa

  1   2   >