[Qemu-devel] [Bug 1095531] Re: sparc32plus (and others?) has x86 code generation errors on 64bit hosts

2017-09-09 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1095531 Title:

[Qemu-devel] [Bug 1093360] Re: files on microsoft iso images mounted to qemu VM get stripped from Version info. E.G. Microsoft UAG installation fails

2017-09-09 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1093360 Title: files on

[Qemu-devel] [Bug 1095857] Re: incorrect handling of [r32] address (long mode)

2017-09-09 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1095857 Title: incorrect

[Qemu-devel] [Bug 1094950] Re: crash at qemu_iohandler_poll (iohandler.c:124) on macos 10.8.2

2017-09-09 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1094950 Title: crash at

[Qemu-devel] [Bug 1099403] Re: High CPU utilization in vnc mode

2017-09-09 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1099403 Title: High CPU

[Qemu-devel] [Bug 1089006] Re: Qemu scrambles order of eth devices in vm

2017-09-09 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1089006 Title: Qemu

Re: [Qemu-devel] [PATCH 3/4] ppc: kvm: introduce a helper to update SDR1 for a single CPU

2017-09-09 Thread David Gibson
On Mon, Sep 04, 2017 at 11:47:14PM +0200, Greg Kurz wrote: > When running with KVM PR, we hijack the SDR1 slot to pass the address of > the HPT allocated by QEMU to KVM. On pseries virtual machines, we have to > do this when the guest calls the KVMPPC_H_CAS or the H_RESIZE_HPT_COMMIT >

Re: [Qemu-devel] [PATCH 2/4] spapr: introduce a helper to compute the address of the HPT

2017-09-09 Thread David Gibson
On Mon, Sep 04, 2017 at 11:47:05PM +0200, Greg Kurz wrote: > The formula used to compute the address of the HPT allocated by QEMU is > open-coded in several places. This patch moves the magic to a dedicated > helper. While here, we also patch the callers to only pass the address > to KVM if we

Re: [Qemu-devel] [PATCH for-2.11] hw/misc/ivshmem: Fix ivshmem_recv_msg() to also work on big endian systems

2017-09-09 Thread David Gibson
On Wed, Aug 30, 2017 at 03:59:07PM +0100, Peter Maydell wrote: > On 30 August 2017 at 15:53, Philippe Mathieu-Daudé wrote: > > On 08/30/2017 10:39 AM, Thomas Huth wrote: > >> The problem is that the server side code in ivshmem_server_send_one_msg() > >> correctly translates all

Re: [Qemu-devel] [Qemu-ppc] [PATCH v3 4/5] target/ppc: Handle NMI guest exit

2017-09-09 Thread David Gibson
On Fri, Sep 08, 2017 at 01:39:37PM +0530, Aravinda Prasad wrote: > > > On Wednesday 23 August 2017 02:09 PM, David Gibson wrote: > > On Mon, Aug 21, 2017 at 06:00:52PM +0530, Aravinda Prasad wrote: > >> > >> > >> On Thursday 17 August 2017 07:27 AM, David Gibson wrote: > >>> On Wed, Aug 16, 2017

Re: [Qemu-devel] [PATCH 1/3] ppc/xive: fix OV5_XIVE_EXPLOIT bits

2017-09-09 Thread David Gibson
On Fri, Sep 08, 2017 at 04:33:42PM +0200, Cédric Le Goater wrote: > On POWER9, the Client Architecture Support (CAS) negotiation process > determines whether the guest operates in XIVE Legacy compatibility or > in XIVE exploitation mode. Now that we have initial guest support for > the XIVE

Re: [Qemu-devel] [PATCH 2/3] spapr: fix CAS-generated reset

2017-09-09 Thread David Gibson
On Fri, Sep 08, 2017 at 04:33:43PM +0200, Cédric Le Goater wrote: > The OV5_MMU_RADIX_300 requires special handling in the CAS negotiation > process. It is cleared from the option vector of the guest before > evaluating the changes and re-added later. But, when testing for a > possible CAS reset :

Re: [Qemu-devel] [RFC PATCH 3/3] spapr: generate a CAS reset for the XIVE exploitation mode

2017-09-09 Thread David Gibson
On Fri, Sep 08, 2017 at 04:33:44PM +0200, Cédric Le Goater wrote: > When the platform and the guest agree on using the XIVE exploitation > mode for interrupts, the "interrupt-controller" node needs to reflect > the change and the device tree needs an update. > > Reseting the guest after the CAS

Re: [Qemu-devel] [PATCH 8/8] tcg/i386: Add vector operations

2017-09-09 Thread Richard Henderson
On 09/08/2017 06:10 AM, Alex Bennée wrote: > Also this commit breaks RISU: > > qemu-aarch64 build/aarch64-linux-gnu/risu > testcases.aarch64/insn_ANDSi_RES8_ANDS_RES_ANDv_ASRV__INC.risu.bin \ > -t > testcases.aarch64/insn_ANDSi_RES8_ANDS_RES_ANDv_ASRV__INC.risu.bin.trace > > Gives: >

Re: [Qemu-devel] [PULL v2 10/37] scripts: Add archive-source.sh

2017-09-09 Thread Fam Zheng
On Sat, 09/09 17:08, Kamil Rytarowski wrote: > >>> +submodules=$(git submodule foreach --recursive --quiet 'echo $name') > >>> + > >>> +if test -n "$submodules"; then > >>> +{ > >>> +git ls-files > >>> +for sm in $submodules; do > >>> +(cd $sm; git ls-files) | sed

Re: [Qemu-devel] [PATCH 0/5] spapr_pci: various cleanups and improvements

2017-09-09 Thread David Gibson
On Sat, Sep 09, 2017 at 05:05:46PM +0200, Greg Kurz wrote: > Before resuming the huge work on PHB hotplug, here are some patches > that maybe worth to apply. > > Patches 1 to 3 are basic improvements. I've applied these to ppc-for-2.11. > Patch 4 and 5 may be a bit controversial. Everywhere in

Re: [Qemu-devel] [PATCH 1/4] spapr: only update SDR1 once per-cpu during CAS

2017-09-09 Thread David Gibson
On Mon, Sep 04, 2017 at 11:46:55PM +0200, Greg Kurz wrote: > Commit b55d295e3ec9 added the possibility to support HPT resizing with KVM. > In the case of PR, we need to pass the userspace address of the HPT to KVM > using the SDR1 slot. > This is handled by kvmppc_update_sdr1() which uses

Re: [Qemu-devel] [PATCH v5 3/8] fw_cfg: add vmcoreinfo file

2017-09-09 Thread Michael S. Tsirkin
On Fri, Sep 08, 2017 at 11:49:46AM -0400, Marc-André Lureau wrote: > Hi > > - Original Message - > > On Fri, Sep 08, 2017 at 06:39:01PM +0300, Michael S. Tsirkin wrote: > > > On Mon, Aug 07, 2017 at 08:16:13PM +0200, Marc-André Lureau wrote: > > > > diff --git a/docs/specs/fw_cfg.txt

Re: [Qemu-devel] [PATCH 2/8] target/arm: Use generic vector infrastructure for aa64 add/sub/logic

2017-09-09 Thread Richard Henderson
On 09/07/2017 09:58 AM, Alex Bennée wrote: >> +switch (size + 4 * is_u) { > > Hmm I find this switch a little too magical. I mean I can see that the > encoding abuses size for the final opcode when I look at the manual but > it reads badly. > >> +case 0: /* AND */ >> +gvec_op =

Re: [Qemu-devel] [PATCH 6/6] arm: drop intermadiate cpu_model -> cpu type parsing and use cpu type directly

2017-09-09 Thread Eduardo Habkost
On Sat, Sep 09, 2017 at 11:41:55PM +0100, Peter Maydell wrote: > On 9 September 2017 at 21:30, Eduardo Habkost wrote: > > However, I have a suggestion for Igor: making a separate patch > > that renames the existing property to "x-cpu-model", and using > > "x-cpu-type" in this

Re: [Qemu-devel] [PATCH 6/6] arm: drop intermadiate cpu_model -> cpu type parsing and use cpu type directly

2017-09-09 Thread Peter Maydell
On 9 September 2017 at 21:30, Eduardo Habkost wrote: > However, I have a suggestion for Igor: making a separate patch > that renames the existing property to "x-cpu-model", and using > "x-cpu-type" in this series. This way we will explicitly > document the fact that the

Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h

2017-09-09 Thread Eduardo Habkost
On Fri, Sep 08, 2017 at 02:46:36PM +0200, David Hildenbrand wrote: > On 08.09.2017 06:21, Thomas Huth wrote: > > On 07.09.2017 22:13, David Hildenbrand wrote: > >> Implemented in sclp.c, so let's move it to the right include file. > >> Fix up one include. Do a forward declaration of CPUS390XState

Re: [Qemu-devel] [Qemu-trivial] [PATCH] dma/i82374: avoid double creation of i82374 device

2017-09-09 Thread Eduardo Habkost
On Thu, Sep 07, 2017 at 10:38:29AM +0200, Eduardo Otubo wrote: > On Fri, Sep 01, 2017 at 12:44:30PM -0300, Eduardo Habkost wrote: > > On Fri, Sep 01, 2017 at 05:34:34PM +0200, Markus Armbruster wrote: > > > Eduardo Habkost writes: > > > > On Fri, Sep 01, 2017 at 01:03:32PM

Re: [Qemu-devel] [PATCH 2/2] i386/cpu/hyperv: support over 64 vcpus for windows guests

2017-09-09 Thread Eduardo Habkost
On Thu, Sep 07, 2017 at 01:05:33AM +, Gonglei (Arei) wrote: > > > > -Original Message- > > From: Eduardo Habkost [mailto:ehabk...@redhat.com] > > Sent: Tuesday, September 05, 2017 9:17 PM > > To: Gonglei (Arei) > > Cc: qemu-devel@nongnu.org; m...@redhat.com; pbonz...@redhat.com; > >

Re: [Qemu-devel] [Qemu-ppc] [RFC PATCH] tests: Add a device_add/del HMP test

2017-09-09 Thread Eduardo Habkost
On Wed, Sep 06, 2017 at 08:59:32AM +0200, Markus Armbruster wrote: > Thomas Huth writes: > > > On 05.09.2017 18:48, Dr. David Alan Gilbert wrote: > >> * Markus Armbruster (arm...@redhat.com) wrote: > >>> Thomas Huth writes: > >>> > People tend to forget

Re: [Qemu-devel] [PATCH 6/6] arm: drop intermadiate cpu_model -> cpu type parsing and use cpu type directly

2017-09-09 Thread Eduardo Habkost
On Tue, Sep 05, 2017 at 03:46:07PM -0700, Alistair Francis wrote: > On Tue, Sep 5, 2017 at 3:12 PM, Eduardo Habkost wrote: > > On Tue, Sep 05, 2017 at 02:47:52PM -0700, Alistair Francis wrote: > >> On Tue, Sep 5, 2017 at 2:31 PM, Eduardo Habkost > >>

Re: [Qemu-devel] [RFC v1 1/2] machine: Add a valid_cpu_types property

2017-09-09 Thread Eduardo Habkost
On Tue, Sep 05, 2017 at 05:12:01PM -0700, Alistair Francis wrote: > Signed-off-by: Alistair Francis > --- > > hw/core/machine.c | 27 +++ > include/hw/boards.h | 1 + > 2 files changed, 28 insertions(+) > > diff --git a/hw/core/machine.c

Re: [Qemu-devel] [PATCH] slirp: Add explanation for hostfwd parsing failure

2017-09-09 Thread Samuel Thibault
Philippe Mathieu-Daudé, on ven. 08 sept. 2017 13:19:56 -0300, wrote: > Hi David, > > On 09/08/2017 12:53 PM, Dr. David Alan Gilbert (git) wrote: > > From: "Dr. David Alan Gilbert" > > > > e.g. > > ./x86_64-softmmu/qemu-system-x86_64 -nographic -netdev > >

Re: [Qemu-devel] [PULL v2 10/37] scripts: Add archive-source.sh

2017-09-09 Thread Peter Maydell
On 9 September 2017 at 16:07, Fam Zheng wrote: > On Sat, 09/09 13:07, Peter Maydell wrote: >> On 9 September 2017 at 06:45, Fam Zheng wrote: >> > Signed-off-by: Fam Zheng >> > Message-Id: <20170905021201.25684-4-f...@redhat.com> >> > --- >> >

Re: [Qemu-devel] [PULL v2 10/37] scripts: Add archive-source.sh

2017-09-09 Thread Kamil Rytarowski
On 09.09.2017 17:07, Fam Zheng wrote: > On Sat, 09/09 13:07, Peter Maydell wrote: >> On 9 September 2017 at 06:45, Fam Zheng wrote: >>> Signed-off-by: Fam Zheng >>> Message-Id: <20170905021201.25684-4-f...@redhat.com> >>> --- >>> scripts/archive-source.sh | 31

[Qemu-devel] [PATCH 3/5] spapr_pci: use g_strdup_printf()

2017-09-09 Thread Greg Kurz
Building strings with g_strdup_printf() instead of snprintf() is a QEMU common practice. Signed-off-by: Greg Kurz --- hw/ppc/spapr_pci.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c index

Re: [Qemu-devel] [PULL v2 10/37] scripts: Add archive-source.sh

2017-09-09 Thread Fam Zheng
On Sat, 09/09 13:07, Peter Maydell wrote: > On 9 September 2017 at 06:45, Fam Zheng wrote: > > Signed-off-by: Fam Zheng > > Message-Id: <20170905021201.25684-4-f...@redhat.com> > > --- > > scripts/archive-source.sh | 31 +++ > > 1

[Qemu-devel] [PATCH 5/5] spapr_pci: handle FDT creation errors with _FDT()

2017-09-09 Thread Greg Kurz
libfdt failures when creating the FDT should cause QEMU to terminate. Let's use the _FDT() macro which does just that instead of propagating the error to the caller. spapr_populate_pci_child_dt() no longer needs to return a value in this case. Note that, on the way, this get rids of the

[Qemu-devel] [PATCH 1/5] spapr_pci: drop useless check in spapr_phb_vfio_get_loc_code()

2017-09-09 Thread Greg Kurz
g_strdup_printf() either returns a non-null pointer, either aborts if it failed to allocate memory. Signed-off-by: Greg Kurz --- hw/ppc/spapr_pci.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c index

[Qemu-devel] [PATCH 4/5] spapr_pci: use the common _FDT() helper

2017-09-09 Thread Greg Kurz
All other users in hw/ppc already consider an error when building the FDT to be fatal, even on hotplug paths. There's no valid reason for spapr_pci to behave differently. So let's used the common _FDT() helper which terminates QEMU when libfdt fails. Signed-off-by: Greg Kurz ---

[Qemu-devel] [PATCH 2/5] spapr_pci: drop useless check in spapr_populate_pci_child_dt()

2017-09-09 Thread Greg Kurz
spapr_phb_get_loc_code() either returns a non-null pointer, either aborts if g_strdup_printf() failed to allocate memory. Signed-off-by: Greg Kurz --- hw/ppc/spapr_pci.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hw/ppc/spapr_pci.c

[Qemu-devel] [PATCH 0/5] spapr_pci: various cleanups and improvements

2017-09-09 Thread Greg Kurz
Before resuming the huge work on PHB hotplug, here are some patches that maybe worth to apply. Patches 1 to 3 are basic improvements. Patch 4 and 5 may be a bit controversial. Everywhere in the spapr code where we build an FDT portion, libfdt failures cause QEMU to exit, even on hotplug paths.

[Qemu-devel] [PATCH v2] scsi/esp: Rename the ESP macro to ESP_STATE

2017-09-09 Thread Kamil Rytarowski
SunOS defines ESP (x86 register) in as 7. This fixes build on SmartOS (Joyent). Signed-off-by: Kamil Rytarowski --- hw/scsi/esp.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c index eee831efeb..22c2d91e39 100644 ---

[Qemu-devel] [Bug 1615823] Re: Windows 10 reports no compatible TPM found yet device manager shows it?

2017-09-09 Thread Kelvin Middleton
@Nelson, please can you provide a little more info as I'm still having problems with TPM preparation in Windows. What make and version is your TPM device. How was your guest configured i.e. SeaBios vs. OVMF, Q35 or i440FX? Are you using kvm/qemu with libvirt or just qemu on the command line?

[Qemu-devel] [Bug 1716132] [NEW] Win 10 bitlocker won't initialise pass-through TPM

2017-09-09 Thread Kelvin Middleton
Public bug reported: All stock Ubuntu Zesty, Win10Pro KVM guest configured with OVMF and Q35. My host has an ASRock Z97 Extreme 6 board with a TPM header which is populated with v1.2 complaint device. Testing in my host the TPM device is function, I can tpm_takeownership and tpm_clear

Re: [Qemu-devel] [PATCH] scsi/esp: Rename the ESP symbol to QESP (QEMU ESP)

2017-09-09 Thread Paolo Bonzini
On 03/09/2017 18:36, Kamil Rytarowski wrote: > SunOS defines ESP (x86 register) in as 7. > > This fixes build on SmartOS (Joyent). > > Signed-off-by: Kamil Rytarowski > --- > hw/scsi/esp.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git

Re: [Qemu-devel] [PATCH f0r 2.11] runstate/migrate: Two more transitions

2017-09-09 Thread Paolo Bonzini
On 06/09/2017 15:40, Dr. David Alan Gilbert wrote: >> There's a race if someone does a 'stop' near the end of migrate; >> the migration process goes through two runstates: >> 'finish migrate' >> 'postmigrate' >> >> If the user issues a 'stop' between the two we end up with invalid >> state

Re: [Qemu-devel] [PATCH] vhost: Release memory references on cleanup

2017-09-09 Thread Paolo Bonzini
On 07/09/2017 22:27, Alex Williamson wrote: > vhost registers a MemoryListener where it adds and removes references > to MemoryRegions as the MemoryRegionSections pass through. The > region_add callback is invoked for each existing section when the > MemoryListener is registered, but

Re: [Qemu-devel] [PULL v2 10/37] scripts: Add archive-source.sh

2017-09-09 Thread Peter Maydell
On 9 September 2017 at 06:45, Fam Zheng wrote: > Signed-off-by: Fam Zheng > Message-Id: <20170905021201.25684-4-f...@redhat.com> > --- > scripts/archive-source.sh | 31 +++ > 1 file changed, 31 insertions(+) > create mode 100755

[Qemu-devel] [Bug 1119861] Re: Poor console performance in Windows 7

2017-09-09 Thread Francois Gouget
It does seem to be ok now. The test did get simplified to remove parts that were mostly redundant so it runs faster now. But still it now takes the same time, 7 seconds, on the VMware and QEMU Windows 7 VMs. So as far as I'm concerned this can be closed. -- You received this bug notification

Re: [Qemu-devel] [PATCH] usb/dev-smartcard-reader: convert to realize

2017-09-09 Thread Marc-André Lureau
Hi On Sat, Sep 9, 2017 at 10:33 AM Mao Zhongyi wrote: > Convert CCID Device to realize and rename the ccid_card_init() > to ccid_card_realize(). > > Cc: Gerd Hoffmann > Signed-off-by: Mao Zhongyi > --- >

Re: [Qemu-devel] [RFC PATCH 16/26] ppc/xive: notify CPU when interrupt priority is more privileged

2017-09-09 Thread Benjamin Herrenschmidt
On Sat, 2017-09-09 at 10:08 +0200, Cédric Le Goater wrote: > On 09/09/2017 09:39 AM, Benjamin Herrenschmidt wrote: > > On Wed, 2017-07-05 at 19:13 +0200, Cédric Le Goater wrote: > > > Signed-off-by: Cédric Le Goater > > > --- > > > hw/intc/xive.c | 21 + > > >

[Qemu-devel] [PATCH] usb/dev-smartcard-reader: convert to realize

2017-09-09 Thread Mao Zhongyi
Convert CCID Device to realize and rename the ccid_card_init() to ccid_card_realize(). Cc: Gerd Hoffmann Signed-off-by: Mao Zhongyi --- hw/usb/dev-smartcard-reader.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff

Re: [Qemu-devel] [RFC PATCH 16/26] ppc/xive: notify CPU when interrupt priority is more privileged

2017-09-09 Thread Cédric Le Goater
On 09/09/2017 09:39 AM, Benjamin Herrenschmidt wrote: > On Wed, 2017-07-05 at 19:13 +0200, Cédric Le Goater wrote: >> Signed-off-by: Cédric Le Goater >> --- >> hw/intc/xive.c | 21 + >> 1 file changed, 21 insertions(+) >> >> diff --git a/hw/intc/xive.c

Re: [Qemu-devel] [RFC PATCH 16/26] ppc/xive: notify CPU when interrupt priority is more privileged

2017-09-09 Thread Cédric Le Goater
On 09/09/2017 09:39 AM, Benjamin Herrenschmidt wrote: > On Wed, 2017-07-05 at 19:13 +0200, Cédric Le Goater wrote: >> Signed-off-by: Cédric Le Goater >> --- >> hw/intc/xive.c | 21 + >> 1 file changed, 21 insertions(+) >> >> diff --git a/hw/intc/xive.c

Re: [Qemu-devel] [RFC PATCH 16/26] ppc/xive: notify CPU when interrupt priority is more privileged

2017-09-09 Thread Benjamin Herrenschmidt
On Wed, 2017-07-05 at 19:13 +0200, Cédric Le Goater wrote: > Signed-off-by: Cédric Le Goater > --- > hw/intc/xive.c | 21 + > 1 file changed, 21 insertions(+) > > diff --git a/hw/intc/xive.c b/hw/intc/xive.c > index c3c1e9c9db2d..cda1fa18e44d 100644 > ---

Re: [Qemu-devel] [RFC PATCH qemu 2/4] memory: Prepare for shared flat views

2017-09-09 Thread David Gibson
On Thu, Sep 07, 2017 at 07:20:08PM +1000, Alexey Kardashevskiy wrote: > We are going to share flat views and dispatch trees between address > spaces. This moves bits around but no change in behaviour is expected > here. The following patch will implement sharing. > > This switches from

Re: [Qemu-devel] [PATCH] ppc/pnv: fix cores per chip for multiple cpus

2017-09-09 Thread David Gibson
On Wed, Sep 06, 2017 at 01:57:48PM +0530, Nikunj A Dadhania wrote: > When the user does not provide the cpu topology, e.g. "-smp 4", machine fails > to > initialize 4 cpus. Compute the chip per cores depending on the number of chips > and smt threads. > > Signed-off-by: Nikunj A Dadhania

Re: [Qemu-devel] [Qemu-ppc] [PATCH] hw/ppc/spapr.c: cleaning up qdev_get_machine() calls

2017-09-09 Thread David Gibson
On Thu, Sep 07, 2017 at 05:21:23PM +0200, Greg Kurz wrote: > On Wed, 6 Sep 2017 15:43:05 -0300 > Daniel Henrique Barboza wrote: > > > This patch removes the qdev_get_machine() calls that are made in > > spapr.c in situations where we can get an existing pointer for

Re: [Qemu-devel] [PATCHv2 1/1] net: Add SunGEM device emulation as found on Apple UniNorth

2017-09-09 Thread David Gibson
On Wed, Sep 06, 2017 at 07:19:55PM +0100, Mark Cave-Ayland wrote: > From: Benjamin Herrenschmidt > > This adds a simplistic emulation of the Sun GEM ethernet controller > found in Apple ASICs. > > Currently we only support the Apple UniNorth 1.x variant, but the >

[Qemu-devel] [PATCH v4] pci: Set err to errp directly rather than through error_propagate()

2017-09-09 Thread Mao Zhongyi
ioh3420_interrupts_init() pass error message to local_err, then propagate it to errp by error_propagate(), which is not necessary. So eliminate it and pass errp directly instead of local_err. Cc: "Michael S. Tsirkin" Cc: Marcel Apfelbaum Signed-off-by: Mao

Re: [Qemu-devel] [PULL v2 00/37] Staging patches

2017-09-09 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Subject: [Qemu-devel] [PULL v2 00/37] Staging patches Message-id: 20170909054613.19148-1-f...@redhat.com Type: series === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1 total=$(git log --oneline

Re: [Qemu-devel] [Qemu-ppc] [PATCH 0/3] spapr: XIVE and CAS fixes

2017-09-09 Thread Cédric Le Goater
On 09/08/2017 04:33 PM, Cédric Le Goater wrote: > Hello, > > Here are a couple of fixes, one for the XIVE exploitation mode option > bit which is clearly specified now and for one for the CAS generated > resets. > > Last is a proposal to handle the rebuild of the device tree using a > reset when

[Qemu-devel] [PULL v2 35/37] buildsys: Move usb redir cflags/libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907082918.7299-10-f...@redhat.com> Reviewed-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- configure| 4 ++-- hw/usb/Makefile.objs |

[Qemu-devel] [PULL v2 36/37] buildsys: Move brlapi libs to per object

2017-09-09 Thread Fam Zheng
baum.o already receives the sdl cflags in its per object variable, do the same for brlapi libs to avoid cluttering libs_softmmu. Signed-off-by: Fam Zheng Message-Id: <20170907084700.952-1-f...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé Reviewed-by:

[Qemu-devel] [PULL v2 33/37] buildsys: Move libcacard cflags/libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907082918.7299-8-f...@redhat.com> Reviewed-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- configure| 4 ++-- hw/usb/Makefile.objs |

[Qemu-devel] [PULL v2 32/37] buildsys: Move curese cflags/libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907082918.7299-6-f...@redhat.com> Reviewed-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- configure| 6 -- ui/Makefile.objs | 3 +++

[Qemu-devel] [PULL v2 37/37] buildsys: Move rdma libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907084230.26493-1-f...@redhat.com> Reviewed-by: Juan Quintela Reviewed-by: Peter Xu Reviewed-by: Dr. David Alan Gilbert Signed-off-by: Fam Zheng ---

[Qemu-devel] [PULL v2 31/37] buildsys: Move audio libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907082918.7299-5-f...@redhat.com> Reviewed-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- audio/Makefile.objs | 5 + configure |

[Qemu-devel] [PULL v2 27/37] buildsys: Move vde libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907083552.17725-3-f...@redhat.com> Reviewed-by: Jason Wang Signed-off-by: Fam Zheng --- configure | 3 +-- net/Makefile.objs | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff

[Qemu-devel] [PULL v2 34/37] buildsys: Move libusb cflags/libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907082918.7299-9-f...@redhat.com> Reviewed-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- configure| 4 ++-- hw/usb/Makefile.objs |

[Qemu-devel] [PULL v2 29/37] buildsys: Move sdl cflags/libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907082918.7299-3-f...@redhat.com> Reviewed-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- audio/Makefile.objs | 1 + configure | 2 +-

[Qemu-devel] [PULL v2 28/37] buildsys: Move gtk/vte cflags/libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907082918.7299-2-f...@redhat.com> Reviewed-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- configure| 3 +-- ui/Makefile.objs | 4 2

[Qemu-devel] [PULL v2 26/37] vl: Don't include vde header

2017-09-09 Thread Fam Zheng
Nothing in vl.c uses anything from the vde package, do remove the unnecessary include. Signed-off-by: Fam Zheng Message-Id: <20170907083552.17725-2-f...@redhat.com> Reviewed-by: Jason Wang Signed-off-by: Fam Zheng --- vl.c | 4 1

[Qemu-devel] [PULL v2 21/37] docker: Add test_fail and prep_fail

2017-09-09 Thread Fam Zheng
They both print a message and exit, but with different status code so distinguish real test errors from env preparation failures. Signed-off-by: Fam Zheng Message-Id: <20170905025614.579-3-f...@redhat.com> Reviewed-by: Stefan Hajnoczi Based-on:

[Qemu-devel] [PULL v2 22/37] docker: Use unconfined security profile

2017-09-09 Thread Fam Zheng
Some by default blocked syscalls are required to run tests for example userfaultfd. Reviewed-by: Kashyap Chamarthy Signed-off-by: Fam Zheng Message-Id: <20170905025614.579-4-f...@redhat.com> Reviewed-by: Stefan Hajnoczi Based-on:

[Qemu-devel] [PULL v2 30/37] buildsys: Move vnc cflags/libs to per object

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170907082918.7299-4-f...@redhat.com> Reviewed-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- configure| 14 -- ui/Makefile.objs

[Qemu-devel] [PULL v2 24/37] docker: Add test-block

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170905025614.579-6-f...@redhat.com> Reviewed-by: Stefan Hajnoczi Based-on: 20170905021201.25684-1-f...@redhat.com --- tests/docker/test-block | 21 + 1 file changed, 21 insertions(+) create mode

[Qemu-devel] [PULL v2 25/37] docker: Drop 'set -e' from run script

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170905025614.579-7-f...@redhat.com> Reviewed-by: Stefan Hajnoczi Based-on: 20170905021201.25684-1-f...@redhat.com --- tests/docker/run | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[Qemu-devel] [PULL v2 20/37] docker: Fix return code of build_qemu()

2017-09-09 Thread Fam Zheng
Without "set -e", the "&&" makes sure that the return code reflects the result status, and that make only runs if configure succeeds. Signed-off-by: Fam Zheng Message-Id: <20170905025614.579-2-f...@redhat.com> Reviewed-by: Stefan Hajnoczi Based-on:

[Qemu-devel] [PULL v2 19/37] docker: Use archive-source.py

2017-09-09 Thread Fam Zheng
Signed-off-by: Fam Zheng Message-Id: <20170905021201.25684-13-f...@redhat.com> --- tests/docker/Makefile.include | 15 ++- tests/docker/run | 8 +--- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/tests/docker/Makefile.include