Re: [Qemu-devel] [PATCH RFC v4 02.5/32] qapi: Hide internal data members of schema objects.

2015-09-06 Thread Markus Armbruster
Eric Blake writes: > We have a few fields that exist mainly to hold information from > __init__() until check() (matching the fact that parsing is > two-pass; the first to find type names, the second to associate > types together while honoring forward references), or which should > only be used

Re: [Qemu-devel] [PATCH RFC v4 02.5/32] qapi: Hide internal data members of schema objects.

2015-09-06 Thread Markus Armbruster
Eric Blake writes: > On 09/05/2015 07:25 AM, Eric Blake wrote: >>> >>> Oh, and tests/qapi-schema/test-qapi.py is annoying - even when it exits >>> non-zero, it does NOT cause a failure in 'make check-qapi-schema'. >> >> Rather, it does not leave an obvious stack trace or immediate non-zero >> st

Re: [Qemu-devel] [PATCH v4 11/14] block/backup: support block job transactions

2015-09-06 Thread Fam Zheng
On Mon, 08/03 20:26, Max Reitz wrote: > On 30.07.2015 08:39, Fam Zheng wrote: > >From: Stefan Hajnoczi > > > >Join the transaction when the 'transactional-cancel' QMP argument is > >true. > > > >This ensures that the sync bitmap is not thrown away if another block > >job in the transaction is canc

Re: [Qemu-devel] [PATCH v4 10/14] blockdev: make BlockJobTxn available to qmp 'transaction'

2015-09-06 Thread Fam Zheng
On Mon, 08/03 20:13, Max Reitz wrote: > On 30.07.2015 08:39, Fam Zheng wrote: > >From: Stefan Hajnoczi > > > >Provide a BlockJobTxn to actions executed in a qmp 'transaction' > >command. This allows actions to make their block jobs either complete > >as a group or fail/cancel together. > > > >The

Re: [Qemu-devel] [PATCH v2 00/49] audio: -audiodev option, multiple options

2015-09-06 Thread Markus Armbruster
"Kővágó Zoltán" writes: > 2015-09-03 17:07 keltezéssel, Eric Blake írta: >> On 09/03/2015 04:15 AM, Gerd Hoffmann wrote: >>> On Fr, 2015-08-21 at 17:36 +0200, Kővágó, Zoltán wrote: This patch series adds support to multiple audio backends. Afterwards I add support to multiple backends.

Re: [Qemu-devel] typofixes

2015-09-06 Thread Markus Armbruster
Michael Tokarev writes: > 11.08.2015 00:42, Veres Lajos wrote: >> On Sun, 9 Aug 2015, Veres Lajos wrote: >> >>> Hi, >>> >>> Please find attached a couple of typo fixes, mostly in comments/docs. >>> I hope it meets the trivial criteria... > > Now that's a bunch of typos ;) > > Applied everything

[Qemu-devel] [PATCH V3 1/2] sdhci: use PRIx64 for uint64_t type

2015-09-06 Thread Sai Pavan Boddu
Fix compile time warnings, because of type mismatch for unsigned long long type. Signed-off-by: Sai Pavan Boddu Reviewed-by: Peter Crosthwaite --- Changes for V3: Same as V2. Changes for V2: Fix commit message. Correct line lenght. --- hw/sd/sdhci.c | 7 +-- 1 file changed, 5 in

[Qemu-devel] [PATCH V3 2/2] sdhci: Change debug prints to compile unconditionally

2015-09-06 Thread Sai Pavan Boddu
Conditionaly compilation hides few type mismatch warnings, fix it to compile unconditioinal. Signed-off-by: Sai Pavan Boddu Suggested-by: Eric Blake --- hw/sd/sdhci.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/hw/sd/sdhci.c b/hw/sd

Re: [Qemu-devel] [PATCH v4 09/14] block: add block job transactions

2015-09-06 Thread Fam Zheng
On Mon, 08/03 20:06, Max Reitz wrote: > > s/who/which/ OK. > > >+ */ > >+return; > >+} > >+txn->aborting = true; > >+/* We are the first failed job. Cancel other jobs. */ > >+QLIST_FOREACH(other_job, &txn->jobs, txn_list) { > >+ctx = bdrv_get_aio_context(

Re: [Qemu-devel] [PATCH for-2.4] Update language files for QEMU 2.4.0

2015-09-06 Thread Markus Armbruster
Michael Tokarev writes: > Applied to -trivial-patches, unfortunately not for 2.4 but at least for 2.5 :) Should we add "Cc: qemu-sta...@nongnu.org" to the commit message?

Re: [Qemu-devel] [PATCH v4 01/14] qapi: Add transaction support to block-dirty-bitmap operations

2015-09-06 Thread Fam Zheng
On Mon, 08/03 18:49, Max Reitz wrote: > *2.5, and keep my R-b. Sure! Thanks. Fam

Re: [Qemu-devel] [Qemu-block] [PATCH v2 00/11] aio: Introduce handler type to fix nested aio_poll for dataplane

2015-09-06 Thread Fam Zheng
On Fri, 08/28 12:53, Stefan Hajnoczi wrote: > On Wed, Jul 29, 2015 at 12:42:03PM +0800, Fam Zheng wrote: > > v2: Switch to disable/enable model. [Paolo] > > > > Most existing nested aio_poll()'s in block layer are inconsiderate of > > dispatching potential new r/w requests from ioeventfds and nbd

[Qemu-devel] [FIX PATCH] spapr_drc: Return correct state for logical DR in entity_sense()

2015-09-06 Thread Bharata B Rao
When drmgr is run in the guest to add a device for which device_add hasn't been issued in QEMU, configure-connector call fails. When configure-connector call fails, the guest would release (*) the previously acquired DRC by setting back the DRC isolation state to ISOLATED and allocation state to UN

Re: [Qemu-devel] [PATCH v4 00/38] blockdev: BlockBackend and media

2015-09-06 Thread Wen Congyang
On 09/02/2015 11:02 PM, Eric Blake wrote: > On 07/20/2015 11:45 AM, Max Reitz wrote: >> First of all: Thank you, Eric and Berto, for reviewing v3! And thank >> you, Fam, for at least having a peek at it and being confident enough to >> base a series of your own on it. :-) >> >> This series reworks

Re: [Qemu-devel] [PATCH v2 07/11] aio-posix: introduce aio_{disable, enable}_clients

2015-09-06 Thread Fam Zheng
On Thu, 08/27 18:23, Stefan Hajnoczi wrote: > On Wed, Jul 29, 2015 at 12:42:10PM +0800, Fam Zheng wrote: > > +void aio_disable_enable_clients(AioContext *ctx, int clients_mask, > > +bool is_disable) > > +{ > > +AioHandler *node; > > +aio_context_acquire(ctx);

Re: [Qemu-devel] [PATCH v3 02/35] translate: Listify tcg_exec_init()

2015-09-06 Thread Peter Crosthwaite
On Sat, Jul 18, 2015 at 2:40 AM, Peter Crosthwaite wrote: > Create a global list of tcg_exec_init() functions that is populated at > startup. Multiple translation engines can register an init function > and all will be called on the master call to tcg_exec_init(). > > Introduce a new module, trans

Re: [Qemu-devel] [PATCH v3 01/35] cpu-exec: Migrate some generic fns to cpu-exec-common

2015-09-06 Thread Peter Crosthwaite
On Sat, Jul 18, 2015 at 5:44 AM, Paolo Bonzini wrote: > > > On 18/07/2015 11:40, Peter Crosthwaite wrote: >> The goal is to split the functions such that cpu-exec is CPU specific >> content, while cpus-exec-common.c is generic code only. The function >> interface to cpu-exec needs to be virtualise

Re: [Qemu-devel] [PATCH v2] configure: factor out adding disas configure

2015-09-06 Thread Peter Crosthwaite
Ping! On Sat, Aug 29, 2015 at 3:33 AM, Peter Crosthwaite wrote: > Every arch adds its disas configury to both its own config as well > config_disas_all. Make a small function do to both at once. > > Signed-off-by: Peter Crosthwaite > --- > Changed since v1: > Factor out everything except just th

Re: [Qemu-devel] [Qemu-ppc] [PATCH 19/19] ppc: Rename ELF_MACHINE to be PPC specific

2015-09-06 Thread Peter Crosthwaite
On Tue, Aug 18, 2015 at 6:04 PM, Laurent Vivier wrote: > I'm wondering if the existing behavior is good: > > what I have understood is we define ppc32 guests in ppc64 target to be > able to run 32bit guest with 64bit qemu, but I don't think it means an > oldworld mac is able to run a ppc64 kernel.

Re: [Qemu-devel] [Qemu-block] [PATCH v2 03/11] block: Mark fd handlers as "protocol"

2015-09-06 Thread Fam Zheng
On Thu, 08/27 14:53, Stefan Hajnoczi wrote: > On Wed, Jul 29, 2015 at 12:42:06PM +0800, Fam Zheng wrote: > > diff --git a/include/block/aio.h b/include/block/aio.h > > index bd1d44b..d02ddfa 100644 > > --- a/include/block/aio.h > > +++ b/include/block/aio.h > > @@ -273,6 +273,7 @@ bool aio_pending(

Re: [Qemu-devel] [Patch for-2.5 v2 5/6] qmp: add monitor command to add/remove a child

2015-09-06 Thread Wen Congyang
On 09/02/2015 11:00 PM, Eric Blake wrote: > On 09/01/2015 07:25 PM, Wen Congyang wrote: >> On 09/01/2015 11:34 PM, Eric Blake wrote: >>> On 08/31/2015 06:55 PM, Wen Congyang wrote: >>> >> +This command is still a work in progress. It doesn't support all >> +block drivers. Stay away from it

Re: [Qemu-devel] [PATCH 06/16] quorum: allow ignoring child errors

2015-09-06 Thread Wen Congyang
On 09/03/2015 12:30 AM, Eric Blake wrote: > On 09/02/2015 02:51 AM, Wen Congyang wrote: >> If the child is not ready, read/write/getlength/flush will >> return -errno. It is not critical error, and can be ignored: >> 1. read/write: >>Just not report the error event. > > What happens if all the

[Qemu-devel] [PATCH] iohandler: Use aio API

2015-09-06 Thread Fam Zheng
iohandler.c shares the same interface with aio, but with duplicated code. It's better to rebase iohandler, also because that aio is a more friendly interface to multi-threads. Create a global AioContext instance and let its GSource handle the iohandler events. Signed-off-by: Fam Zheng --- inclu

[Qemu-devel] [PATCH] linux-user/syscall.c: Add EAGAIN to host_to_target_errno_table for

2015-09-06 Thread gang . chen . 5i5j
From: Chen Gang Under Alpha host, EAGAIN is redefined to 35, so it need be remapped too. Signed-off-by: Chen Gang --- linux-user/syscall.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index f62c698..380f5a8 100644 --- a/li

Re: [Qemu-devel] [PATCH 05/16] introduce a new API qemu_opts_absorb_qdict_by_index()

2015-09-06 Thread Wen Congyang
On 09/03/2015 03:01 AM, Eric Blake wrote: > On 09/02/2015 02:51 AM, Wen Congyang wrote: >> Signed-off-by: Wen Congyang >> Signed-off-by: zhanghailiang >> Signed-off-by: Gonglei > > Commit message is a bit sparse. > >> --- >> include/qemu/option.h | 2 ++ >> util/qemu-option.c| 44 +++

Re: [Qemu-devel] [PATCH v2 3/3] i.MX: Add GPIO devices to i.MX25 SOC

2015-09-06 Thread Peter Crosthwaite
On Sun, Sep 6, 2015 at 1:46 PM, Jean-Christophe Dubois wrote: > Signed-off-by: Jean-Christophe Dubois > Reviewed-by: Peter Crosthwaite > --- > > Changes since v1: > * various coding style cleanup > > hw/arm/fsl-imx25.c | 29 + > include/hw/arm/fsl-imx25.h |

Re: [Qemu-devel] [PATCH v2 2/3] i.MX: Add GPIO devices to i.MX31 SOC

2015-09-06 Thread Peter Crosthwaite
On Sun, Sep 6, 2015 at 1:45 PM, Jean-Christophe Dubois wrote: > Signed-off-by: Jean-Christophe Dubois > Reviewed-by: Peter Crosthwaite > --- > > Changes since v1: > * Use "has-edge-sel" property for i.MX31 > * various coding style cleanup > > hw/arm/fsl-imx31.c | 34

Re: [Qemu-devel] [PATCH v2 1/3] i.MX: Add GPIO device

2015-09-06 Thread Peter Crosthwaite
On Sun, Sep 6, 2015 at 1:45 PM, Jean-Christophe Dubois wrote: > Signed-off-by: Jean-Christophe Dubois > --- > > Changes since V1: > * added "has-edge-sel" property > * use extract64() and deposit64() in read/write icr access > * set "number of GPIO pin" as a #define > * reorganize functio

Re: [Qemu-devel] [PATCH 01/16] introduce a new API to enable/disable attach device model

2015-09-06 Thread Wen Congyang
On 09/02/2015 11:37 PM, Eric Blake wrote: > On 09/02/2015 02:51 AM, Wen Congyang wrote: >> Signed-off-by: Wen Congyang >> --- >> block/block-backend.c | 24 >> include/sysemu/block-backend.h | 2 ++ >> 2 files changed, 26 insertions(+) >> >> diff --git a/block/b

Re: [Qemu-devel] [PATCH qemu v3] target-ppc: Define get_monitor_def

2015-09-06 Thread Alexey Kardashevskiy
On 08/14/2015 01:34 PM, Alexey Kardashevskiy wrote: At the moment get_monitor_def() prints only registers from monitor_defs. However there is a lot of BOOK3S SPRs which are not in the list and cannot be printed. This makes use of the new get_monitor_def() callback and prints all registered SPRs

Re: [Qemu-devel] [PATCH v1 1/3] i.MX: Add GPIO device

2015-09-06 Thread Peter Crosthwaite
On Sun, Sep 6, 2015 at 2:19 PM, Jean-Christophe DUBOIS wrote: > Le 06/09/2015 20:23, Peter Crosthwaite a écrit : >> >> On Sun, Sep 6, 2015 at 5:55 AM, Jean-Christophe DUBOIS >> wrote: >>> >>> Le 05/09/2015 11:03, Peter Crosthwaite a écrit : On Sat, Sep 5, 2015 at 1:17 AM, Jean-Christoph

Re: [Qemu-devel] Segfault using qemu-system-arm in smc91c111

2015-09-06 Thread Peter Crosthwaite
On Sun, Sep 6, 2015 at 4:26 PM, Richard Purdie wrote: > On Sun, 2015-09-06 at 11:37 -0700, Peter Crosthwaite wrote: >> On Sun, Sep 6, 2015 at 7:21 AM, Richard Purdie >> wrote: >> > On Sat, 2015-09-05 at 13:30 -0700, Peter Crosthwaite wrote: >> >> On Fri, Sep 4, 2015 at 10:30 AM, Peter Maydell >

Re: [Qemu-devel] Segfault using qemu-system-arm in smc91c111

2015-09-06 Thread Richard Purdie
On Sun, 2015-09-06 at 11:37 -0700, Peter Crosthwaite wrote: > On Sun, Sep 6, 2015 at 7:21 AM, Richard Purdie > wrote: > > On Sat, 2015-09-05 at 13:30 -0700, Peter Crosthwaite wrote: > >> On Fri, Sep 4, 2015 at 10:30 AM, Peter Maydell > >> wrote: > >> > On 4 September 2015 at 18:20, Richard Purdi

Re: [Qemu-devel] SLIRP segfault?

2015-09-06 Thread Samuel Thibault
Hello, John Snow, le Wed 02 Sep 2015 14:01:07 -0400, a écrit : > There was a downstream bug filed against qemu-kvm-2.3.1-1.fc22.x86_64 > that appeared to segfault in the AHCI code when trying to install OSX > Yosemite. > > The debug output looked a little strange, so I asked for a new > stack-tra

Re: [Qemu-devel] [Migration][TCG] Page dirtying and migration in pure-QEMU VM mode

2015-09-06 Thread Pavel Boldin
A little self-update here. 1. It is seems to be enough to just flush TLB entries with the iothread lock held since the CPUs are stopped here. 2. The upstream version is not vulnerable to the bug due to the following code call path: ram_save_setup -> memory_global_dirty_log_start -> memory_region_

Re: [Qemu-devel] [PATCH v1 1/3] i.MX: Add GPIO device

2015-09-06 Thread Jean-Christophe DUBOIS
Le 06/09/2015 20:23, Peter Crosthwaite a écrit : On Sun, Sep 6, 2015 at 5:55 AM, Jean-Christophe DUBOIS wrote: Le 05/09/2015 11:03, Peter Crosthwaite a écrit : On Sat, Sep 5, 2015 at 1:17 AM, Jean-Christophe Dubois wrote: Signed-off-by: Jean-Christophe Dubois --- hw/gpio/Makefile.objs

[Qemu-devel] wav output sounds good - what does this mean?

2015-09-06 Thread Programmingkid
I have been working on making the sound output from the USB sound card actually sound good. When the audio is sent to CoreAudio, the sound is not very good. But when I use the wav file output option, the sound in the wave file sounds perfect. What does this mean?

[Qemu-devel] [PATCH v2 2/3] i.MX: Add GPIO devices to i.MX31 SOC

2015-09-06 Thread Jean-Christophe Dubois
Signed-off-by: Jean-Christophe Dubois Reviewed-by: Peter Crosthwaite --- Changes since v1: * Use "has-edge-sel" property for i.MX31 * various coding style cleanup hw/arm/fsl-imx31.c | 34 ++ include/hw/arm/fsl-imx31.h | 12 2 files chang

[Qemu-devel] [PATCH v2 1/3] i.MX: Add GPIO device

2015-09-06 Thread Jean-Christophe Dubois
Signed-off-by: Jean-Christophe Dubois --- Changes since V1: * added "has-edge-sel" property * use extract64() and deposit64() in read/write icr access * set "number of GPIO pin" as a #define * reorganize functions in file to group them * various coding style cleanup * rename state han

[Qemu-devel] [PATCH v2 0/3] i.MX: Add GPIO devices to i.MX SOC

2015-09-06 Thread Jean-Christophe Dubois
Add GPIO device to i.MX31 and i.MX25 SOC Jean-Christophe Dubois (3): i.MX: Add GPIO device i.MX: Add GPIO devices to i.MX31 SOC i.MX: Add GPIO devices to i.MX25 SOC hw/arm/fsl-imx25.c | 29 hw/arm/fsl-imx31.c | 34 + hw/gpio/Makefile.objs | 1 + hw/gpio/im

[Qemu-devel] [PATCH v2 3/3] i.MX: Add GPIO devices to i.MX25 SOC

2015-09-06 Thread Jean-Christophe Dubois
Signed-off-by: Jean-Christophe Dubois Reviewed-by: Peter Crosthwaite --- Changes since v1: * various coding style cleanup hw/arm/fsl-imx25.c | 29 + include/hw/arm/fsl-imx25.h | 15 +++ 2 files changed, 44 insertions(+) diff --git a/hw/arm/fsl

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Add configuration file support

2015-09-06 Thread Peter Maydell
On 6 September 2015 at 21:39, Programmingkid wrote: > Having to type out all the arguments to QEMU isn't fun. That is why we need > an > easier way to setup QEMU. With a configuration file system, we just make > this > file once, and allow QEMU to do the work for us. This configuration file > syst

[Qemu-devel] [PATCH] ui/cocoa.m: Add configuration file support

2015-09-06 Thread Programmingkid
Having to type out all the arguments to QEMU isn't fun. That is why we need an easier way to setup QEMU. With a configuration file system, we just make this file once, and allow QEMU to do the work for us. This configuration file system is similar to how a shell like Bash works. A configuration f

Re: [Qemu-devel] [PATCH 12/17] target-openrisc: Enable m[tf]spr from user mode

2015-09-06 Thread Richard Henderson
On Sep 5, 2015 14:35, Bastian Koppelmann wrote: > IIRC a lot of the registers are supervisor only, e.g. VR, NPC or SR and > the manual is fairly clear about that. User mode cpu ought not to read > these registers unconditionally. When I last discussed this on the openrisc list, back in March,

Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation

2015-09-06 Thread Richard Henderson
On Sep 5, 2015 07:11, Mark Cave-Ayland wrote: > While I probably can't help too much on the TCG side, if it helps I can > rustle up some SPARC images in order to help with testing? That would be helpful. Something more than the trivial sparc-test image on the wiki. Something with a sparc64 us

Re: [Qemu-devel] [PATCH 00/10] Fix machine class names to use the "-machine" suffix

2015-09-06 Thread Andreas Färber
Am 02.09.2015 um 21:58 schrieb Eduardo Habkost: > Ping? > > Andreas, should this go through your QOM tree? Long-term I would prefer a separate machine maintainer (Marcel?) to handle this, but as discussed in Seattle, I'm applying this series to qom-next and will look at the follow-up series next.

Re: [Qemu-devel] [PATCH v2 0/2] qom: Fix misuse of Error API

2015-09-06 Thread Andreas Färber
Am 03.09.2015 um 18:15 schrieb Markus Armbruster: > Eric Blake writes: >> On 09/03/2015 04:06 AM, Markus Armbruster wrote: >>> Ping? >>> >>> My "qapi: QMP introspection" series fails "make check" without these >>> fixes. >>> >>> Markus Armbruster writes: >>> v1 was posted for possible inclus

Re: [Qemu-devel] Minutes of QEMU Summit 2015 (2015-08-18, Seattle)

2015-09-06 Thread Peter Crosthwaite
On Fri, Sep 4, 2015 at 5:24 AM, Peter Maydell wrote: > This is a brief writeup of what we discussed at the QEMU Summit 2015 > at KVM Forum last month. > > * Participants > > Markus Armbruster > Paolo Bonzini > Luiz Capitulino > Andreas Färber > Alexander Graf > Eduardo Habkost > Stefan Hajnoczi >

Re: [Qemu-devel] [PATCH v2] Do not use slow [*] expansion for GPIO creation

2015-09-06 Thread Andreas Färber
Am 31.07.2015 um 14:26 schrieb Daniel P. Berrange: > On Fri, Jul 31, 2015 at 03:23:22PM +0300, Pavel Fedin wrote: >> Expansion of [*] suffix is very slow because index expansion is done using >> trial and error strategy, starting every time from zero and retrying with >> the next index until insert

Re: [Qemu-devel] Segfault using qemu-system-arm in smc91c111

2015-09-06 Thread Peter Crosthwaite
On Sun, Sep 6, 2015 at 7:21 AM, Richard Purdie wrote: > On Sat, 2015-09-05 at 13:30 -0700, Peter Crosthwaite wrote: >> On Fri, Sep 4, 2015 at 10:30 AM, Peter Maydell >> wrote: >> > On 4 September 2015 at 18:20, Richard Purdie >> > wrote: >> >> On Fri, 2015-09-04 at 13:43 +0100, Richard Purdie w

Re: [Qemu-devel] [PATCH v1 1/3] i.MX: Add GPIO device

2015-09-06 Thread Peter Crosthwaite
On Sun, Sep 6, 2015 at 5:55 AM, Jean-Christophe DUBOIS wrote: > Le 05/09/2015 11:03, Peter Crosthwaite a écrit : >> >> On Sat, Sep 5, 2015 at 1:17 AM, Jean-Christophe Dubois >> wrote: >>> >>> Signed-off-by: Jean-Christophe Dubois >>> --- >>> hw/gpio/Makefile.objs | 1 + >>> hw/gpio/imx

Re: [Qemu-devel] [PATCH V2] sdhci: use PRIx64 for uint64_t type

2015-09-06 Thread Sai Pavan Boddu
Hi Peter, > -Original Message- > From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > Sent: Sunday, September 06, 2015 12:03 AM > To: Sai Pavan Boddu > Cc: qemu-devel@nongnu.org Developers; Peter Maydell; Alistair Francis; > Edgar Iglesias; Sai Pavan Boddu > Subject: Re: [PATCH V2

Re: [Qemu-devel] [PATCH V2] sdhci: use PRIx64 for uint64_t type

2015-09-06 Thread Sai Pavan Boddu
> -Original Message- > From: Eric Blake [mailto:ebl...@redhat.com] > Sent: Saturday, September 05, 2015 6:12 PM > To: Sai Pavan Boddu; qemu-devel@nongnu.org; > crosthwaitepe...@gmail.com; peter.mayd...@linaro.org > Cc: Sai Pavan Boddu; Edgar Iglesias; Alistair Francis > Subject: Re: [Qemu

Re: [Qemu-devel] [PATCH v2 00/49] audio: -audiodev option, multiple options

2015-09-06 Thread Kővágó Zoltán
2015-09-03 17:07 keltezéssel, Eric Blake írta: On 09/03/2015 04:15 AM, Gerd Hoffmann wrote: On Fr, 2015-08-21 at 17:36 +0200, Kővágó, Zoltán wrote: This patch series adds support to multiple audio backends. Afterwards I add support to multiple backends. Audio fronteds gain a new audiodev opti

Re: [Qemu-devel] Minutes of QEMU Summit 2015 (2015-08-18, Seattle)

2015-09-06 Thread Peter Maydell
On 6 September 2015 at 03:11, Fam Zheng wrote: > On Fri, 09/04 13:41, Daniel P. Berrange wrote: >> IIUC, it is x86 only, but even if it can't do everything QEMU >> needs, it might be a useful service to take advantage of for >> some parts of QEMU CI. > > Good to know! Yes, eventually QEMU might ne

Re: [Qemu-devel] [PATCH][TRIVIAL] i6300esb: fix timer overflow

2015-09-06 Thread Laurent Vivier
Le 06/09/2015 16:35, Paolo Bonzini a écrit : > > > On 06/09/2015 12:29, Michael Tokarev wrote: >> 04.08.2015 11:27, Laurent Vivier wrote: >>> We use muldiv64() to compute the time to wait: >>> >>> timeout = muldiv64(get_ticks_per_sec(), timeout, 3300); >> ... >> >> Applied to -trivial,

Re: [Qemu-devel] [PATCH 0/2] Optimization with AVX2 instruction

2015-09-06 Thread Paolo Bonzini
On 02/09/2015 07:40, Amit Shah wrote: >> The buffer_find_nonzero_offset() will be called to check the zero page >> > during live migration, it's a hot function. buffer_find_nonzero_offset() >> > has already been optimized with SSE2 instructions, for platform that >> > supports AVX2, we can optimi

Re: [Qemu-devel] Segfault using qemu-system-arm in smc91c111

2015-09-06 Thread Richard Purdie
On Sat, 2015-09-05 at 13:30 -0700, Peter Crosthwaite wrote: > On Fri, Sep 4, 2015 at 10:30 AM, Peter Maydell > wrote: > > On 4 September 2015 at 18:20, Richard Purdie > > wrote: > >> On Fri, 2015-09-04 at 13:43 +0100, Richard Purdie wrote: > >>> On Fri, 2015-09-04 at 12:31 +0100, Peter Maydell w

Re: [Qemu-devel] [PATCH][TRIVIAL] i6300esb: fix timer overflow

2015-09-06 Thread Paolo Bonzini
On 06/09/2015 12:29, Michael Tokarev wrote: > 04.08.2015 11:27, Laurent Vivier wrote: >> We use muldiv64() to compute the time to wait: >> >> timeout = muldiv64(get_ticks_per_sec(), timeout, 3300); > ... > > Applied to -trivial, thank you! I think this was superseded by a later patch.

Re: [Qemu-devel] [PATCH v1 2/3] i.MX: Add GPIO device to i.MX31 SOC

2015-09-06 Thread Jean-Christophe DUBOIS
Le 05/09/2015 21:36, Peter Crosthwaite a écrit : "devices" in subject. On Sat, Sep 5, 2015 at 1:17 AM, Jean-Christophe Dubois wrote: Signed-off-by: Jean-Christophe Dubois --- hw/arm/fsl-imx31.c | 30 ++ include/hw/arm/fsl-imx31.h | 12 2 fi

Re: [Qemu-devel] [PATCH v1 1/3] i.MX: Add GPIO device

2015-09-06 Thread Jean-Christophe DUBOIS
Le 05/09/2015 11:03, Peter Crosthwaite a écrit : On Sat, Sep 5, 2015 at 1:17 AM, Jean-Christophe Dubois wrote: Signed-off-by: Jean-Christophe Dubois --- hw/gpio/Makefile.objs | 1 + hw/gpio/imx_gpio.c | 358 + include/hw/gpio/imx_g

Re: [Qemu-devel] [PATCH] migration: fix analyze-migration.py script

2015-09-06 Thread Mark Cave-Ayland
On 06/09/15 09:36, Alexander Graf wrote: > On 05.09.15 21:51, Mark Cave-Ayland wrote: >> Commit 61964 "Add configuration section" broke the analyze-migration.py >> script >> which terminates due to the unrecognised section. Fix the script by parsing >> the contents of the configuration section di

Re: [Qemu-devel] [PATCH 14/17] target-openrisc: Implement muld, muldu, macu, msbu

2015-09-06 Thread Bastian Koppelmann
On 09/03/2015 02:17 AM, Richard Henderson wrote: Signed-off-by: Richard Henderson --- target-openrisc/translate.c | 106 1 file changed, 106 insertions(+) Reviewed-by: Bastian Koppelmann Cheers, Bastian

Re: [Qemu-devel] [Qemu-trivial] [trivial PATCH] hw/pci: fix pci_update_mappings() trace events

2015-09-06 Thread Michael Tokarev
02.09.2015 00:33, Laszlo Ersek wrote: > Stick with the conventional BDF notation. Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [PATCH] disas/microblaze: Remove unused code

2015-09-06 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [PATCH v4 2/3] help: fix typo

2015-09-06 Thread Michael Tokarev
Applied to -trivial, with subject line change as suggested by Eric. Thanks! /mjt

Re: [Qemu-devel] [PATCH] baum: Fix build with debugging enabled

2015-09-06 Thread Michael Tokarev
30.08.2015 18:12, Samuel Thibault wrote: > cur and buf are pointers, so the difference is a ptrdiff_t Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [PATCH] linux-user: Fix warnings caused by missing 'static' attribute

2015-09-06 Thread Michael Tokarev
29.08.2015 10:29, Stefan Weil wrote: > Warnings from the Sparse static analysis tool: > > linux-user/main.c:40:12: warning: > symbol 'filename' was not declared. Should it be static? > linux-user/main.c:41:12: warning: > symbol 'argv0' was not declared. Should it be static? > linux-user/main.c:4

Re: [Qemu-devel] [PATCH v3] opts: produce valid command line in qemu_opts_print

2015-09-06 Thread Michael Tokarev
07.07.2015 17:42, Kővágó, Zoltán wrote: > This will let us print options in a format that the user would actually > write it on the command line (foo=bar,baz=asd,etc=def), without > prepending a spurious comma at the beginning of the list, or quoting > values unnecessarily. This patch provides the

Re: [Qemu-devel] [PATCH] docs: fix a qga/qapi-schema.json comment

2015-09-06 Thread Michael Tokarev
Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [PATCH v2] trivial: remove trailing newline from error_report

2015-09-06 Thread Michael Tokarev
29.06.2015 23:56, John Snow wrote: > Minor cleanup. Finally applied to -trivial. Thank you! /mjt

Re: [Qemu-devel] [PATCH 0/7] Misc trivial code cleanups

2015-09-06 Thread Michael Tokarev
26.08.2015 14:17, Daniel P. Berrange wrote: > This is a series of misc trivial code cleanups that I > originally used to illustrate the use of GNULIB's > syntax-check facility: > > http://lists.nongnu.org/archive/html/qemu-devel/2015-07/msg06268.html > > Since it appears the license of the GNUL

Re: [Qemu-devel] typofixes

2015-09-06 Thread Michael Tokarev
11.08.2015 00:42, Veres Lajos wrote: > On Sun, 9 Aug 2015, Veres Lajos wrote: > >> Hi, >> >> Please find attached a couple of typo fixes, mostly in comments/docs. >> I hope it meets the trivial criteria... Now that's a bunch of typos ;) Applied everything to -trivial. Thank you! Please the next

Re: [Qemu-devel] [PATCH][TRIVIAL] i6300esb: fix timer overflow

2015-09-06 Thread Michael Tokarev
04.08.2015 11:27, Laurent Vivier wrote: > We use muldiv64() to compute the time to wait: > > timeout = muldiv64(get_ticks_per_sec(), timeout, 3300); ... Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [PATCH for-2.4] Update language files for QEMU 2.4.0

2015-09-06 Thread Michael Tokarev
Applied to -trivial-patches, unfortunately not for 2.4 but at least for 2.5 :) Thanks, /mjt

Re: [Qemu-devel] [PATCH 13/17] target-openrisc: Enable trap, csync, msync, psync for user mode

2015-09-06 Thread Bastian Koppelmann
On 09/03/2015 02:17 AM, Richard Henderson wrote: Not documented as disabled for user mode. Signed-off-by: Richard Henderson --- target-openrisc/translate.c | 32 1 file changed, 32 deletions(-) Reviewed-by: Bastian Koppelmann Cheers, Bastian

Re: [Qemu-devel] [PATCH 2/2] ide/atapi: partially avoid deadlock if the storage backend is dead

2015-09-06 Thread Peter Lieven
Am 03.09.2015 um 18:59 schrieb Stefan Hajnoczi: > On Thu, Aug 20, 2015 at 10:14:08AM +0200, Peter Lieven wrote: >> the blk_drain_all() that is executed if the guest issues a DMA cancel >> leads to a stuck main loop if the storage backend (e.g. a NFS share) >> is unresponsive. >> >> This scenario is

Re: [Qemu-devel] [PATCH] migration: fix analyze-migration.py script

2015-09-06 Thread Alexander Graf
On 05.09.15 21:51, Mark Cave-Ayland wrote: > Commit 61964 "Add configuration section" broke the analyze-migration.py script > which terminates due to the unrecognised section. Fix the script by parsing > the contents of the configuration section directly into a new > ConfigurationSection object (

Re: [Qemu-devel] [PATCH v2 07/18] nvdimm: reserve address range for NVDIMM

2015-09-06 Thread Xiao Guangrong
On 09/04/2015 08:02 PM, Igor Mammedov wrote: On Fri, 14 Aug 2015 22:52:00 +0800 Xiao Guangrong wrote: NVDIMM reserves all the free range above 4G to do: - Persistent Memory (PMEM) mapping - implement NVDIMM ACPI device _DSM method Signed-off-by: Xiao Guangrong --- hw/i386/pc.c

Re: [Qemu-devel] [PATCH] vhost-scsi: fix wrong vhost-scsi firmware path

2015-09-06 Thread Gonglei
On 2015/8/26 9:52, arei.gong...@huawei.com wrote: > From: Gonglei > > vhost-scsi bootindex does't work because Qemu passes > wrong fireware path to seabios. > > before: > /pci@i0cf8/scsi@7channel@0/vhost-scsi@0,0 > after applying the patch: > /pci@i0cf8/scsi@7/channel@0/vhost-scsi@0,0 > > R

Re: [Qemu-devel] [PATCH v2 02/18] i386/acpi-build: allow SSDT to operate on 64 bit

2015-09-06 Thread Xiao Guangrong
On 09/02/2015 07:42 PM, Igor Mammedov wrote: On Wed, 2 Sep 2015 18:43:41 +0800 Xiao Guangrong wrote: On 09/02/2015 06:06 PM, Igor Mammedov wrote: On Fri, 14 Aug 2015 22:51:55 +0800 Xiao Guangrong wrote: Only 512M is left for MMIO below 4G and that are used by PCI, BIOS etc. Other compo