Re: [Qemu-devel] [PATCH 24/43] migration: made printf always compile in debug output

2017-04-02 Thread Juan Quintela
Danil Antonov wrote: > From e5719e802fcd1d1b426d687524ed46f10d044941 Mon Sep 17 00:00:00 2001 > From: Danil Antonov > Date: Wed, 29 Mar 2017 12:35:10 +0300 > Subject: [PATCH 24/43] migration: made printf always compile in debug output > > Wrapped printf calls inside debug macros (DPRINTF) in `if`

Re: [Qemu-devel] [PATCH RFC] hw/pvrdma: Proposal of a new pvrdma device

2017-04-02 Thread Leon Romanovsky
On Thu, Mar 30, 2017 at 03:28:21PM -0500, Doug Ledford wrote: > On 3/30/17 9:13 AM, Leon Romanovsky wrote: > > On Thu, Mar 30, 2017 at 02:12:21PM +0300, Marcel Apfelbaum wrote: > > > From: Yuval Shaia > > > > > > Hi, > > > > > > General description > > > === > > > This is a ver

Re: [Qemu-devel] [PATCH RFC] hw/pvrdma: Proposal of a new pvrdma device

2017-04-02 Thread Leon Romanovsky
On Fri, Mar 31, 2017 at 06:45:43PM +0300, Marcel Apfelbaum wrote: > On 03/30/2017 11:28 PM, Doug Ledford wrote: > > On 3/30/17 9:13 AM, Leon Romanovsky wrote: > > > On Thu, Mar 30, 2017 at 02:12:21PM +0300, Marcel Apfelbaum wrote: > > > > From: Yuval Shaia > > > > > > > > Hi, > > > > > > > > Gen

Re: [Qemu-devel] [PATCH for-2.10 22/23] numa: add '-numa cpu, ...' option for property based node mapping

2017-04-02 Thread David Gibson
On Wed, Mar 29, 2017 at 02:08:58PM +0200, Igor Mammedov wrote: > On Wed, 29 Mar 2017 13:27:23 +1100 > David Gibson wrote: > > > On Tue, Mar 28, 2017 at 01:09:11PM +0200, Igor Mammedov wrote: > > > On Tue, 28 Mar 2017 16:16:02 +1100 > > > David Gibson wrote: > > > > > > > On Wed, Mar 22, 2017

Re: [Qemu-devel] [RfC PATCH 0/4] make display updates thread safe.

2017-04-02 Thread Mark Cave-Ayland
On 30/03/17 14:41, Gerd Hoffmann wrote: > Hi, > >> Excellent! I can help out with converting and/or testing the SPARC >> devices (cg3/tcx) if required. > > Sure, test results and patches are very welcome. I've spent a bit of time over the weekend attempting to convert the SPARC CG3/TCX frameb

[Qemu-devel] [Bug 1252010] Re: can't assign enough RAM to the VM

2017-04-02 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/1252010 Title: can't assig

[Qemu-devel] [Bug 1207228] Re: Qemu (trunk code) crashes when using --soundhw all option in ioport.c

2017-04-02 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/1207228 Title: Qemu (trunk

[Qemu-devel] [Bug 1253465] Re: qemu-img: 'image' uses a vmdk feature which is not supported by this qemu version: VMDK version 3

2017-04-02 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/1253465 Title: qemu-img: '

Re: [Qemu-devel] [PATCHv2 for-2.9] pseries: Enforce homogeneous threads-per-core

2017-04-02 Thread Bharata B Rao
On Sun, Apr 2, 2017 at 12:08 PM, David Gibson wrote: > For reasons that may be useful in future, CPU core objects, as used on the > pseries machine type have their own nr-threads property, potentially > allowing cores with different numbers of threads in the same system. > > If the user/managemen

Re: [Qemu-devel] [RFC PATCH qemu v3 4/4] spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device

2017-04-02 Thread David Gibson
On Sat, Apr 01, 2017 at 11:37:41PM +1100, Alexey Kardashevskiy wrote: > This uses new kernel KVM_CAP_SPAPR_TCE_VFIO capability to enable > in-kernel acceleration of TCE update requests which will go via > the VFIO KVM device. > > Signed-off-by: Alexey Kardashevskiy Reviewed-by: David Gibson >

Re: [Qemu-devel] [RFC PATCH qemu v3 3/4] vfio/spapr: Add a notifier for PPC64 HV/PR KVM about new group attached to LIOBN

2017-04-02 Thread David Gibson
On Sat, Apr 01, 2017 at 11:37:40PM +1100, Alexey Kardashevskiy wrote: > This implements a notification for a new IOMMU group attached to > sPAPR's logical IO bus (LIOBN) to enable in-kernel TCE acceleration. > > Signed-off-by: Alexey Kardashevskiy > --- > include/hw/ppc/spapr.h| 1 + >

Re: [Qemu-devel] [RFC PATCH qemu v3 1/4] memory/iommu: QOM'fy IOMMU MemoryRegion

2017-04-02 Thread David Gibson
On Sat, Apr 01, 2017 at 11:37:38PM +1100, Alexey Kardashevskiy wrote: > This defines new QOM object - IOMMUMemoryRegion - with MemoryRegion > as a parent. > > This moves IOMMU-related fields from MR to IOMMU MR. However to avoid > dymanic QOM casting in fast path (address_space_translate, etc), >

Re: [Qemu-devel] [PATCH v4.1 5/9] ppc/pnv: create the ICP object under PnvCore

2017-04-02 Thread David Gibson
On Thu, Mar 30, 2017 at 10:28:20AM +0200, Cédric Le Goater wrote: > Each thread of a core is linked to an ICP. This allocates a PnvICPState > object before the PowerPCCPU object is realized and lets the XICSFabric > do the store under the 'intc' backlink when xics_cpu_setup() is > called. > > This

Re: [Qemu-devel] [PATCH v4 7/9] ppc/pnv: extend the machine with a XICSFabric interface

2017-04-02 Thread David Gibson
On Wed, Mar 29, 2017 at 03:53:29PM +0200, Cédric Le Goater wrote: > A XICSFabric QOM interface is used by the XICS layer to manipulate the > ICP and ICS objects. Let's define the associated handlers for the > PowerNV machine. All handlers should be defined even if there is no > ICS under the PowerN

Re: [Qemu-devel] [RFC PATCH qemu v3 2/4] vfio-pci: Reorder group-to-container attaching

2017-04-02 Thread David Gibson
On Sat, Apr 01, 2017 at 11:37:39PM +1100, Alexey Kardashevskiy wrote: > At the moment VFIO PCI device initialization works as follows: > vfio_realize > vfio_get_group > vfio_connect_container > register memory listeners (1) > update QE

Re: [Qemu-devel] [PATCH for-2.9 0/2] tcg/sparc: zero extend ld/st helper args

2017-04-02 Thread Richard Henderson
On 03/28/2017 02:04 AM, Peter Maydell wrote: These patches fix problems with the SPARC TCG backend code which calls the load and store helpers. Where the argument being passed to the helper is narrower than the size of the native register, the SPARC calling convention requires that we extend it t

Re: [Qemu-devel] [PATCH v2 1/1] slirp: add SOCKS5 support

2017-04-02 Thread Samuel Thibault
Hello, Thanks for the patch! Laurent Vivier, on mar. 28 mars 2017 21:07:56 +0200, wrote: > @@ -617,6 +621,10 @@ void slirp_pollfds_poll(GArray *pollfds, int > select_error) > * Check sockets for reading > */ > else if (revents & (G_IO_IN | G_I

Re: [Qemu-devel] [PATCH v4 2+/9] spapr: allocate the ICPState object from under sPAPRCPUCore

2017-04-02 Thread Cédric Le Goater
On 04/02/2017 10:25 AM, David Gibson wrote: > On Thu, Mar 30, 2017 at 05:08:04PM +0200, Cédric Le Goater wrote: >> Today, all the ICPs are created before the CPUs, stored in an array >> under the sPAPR machine and linked to the CPU when the core threads >> are realized. This modeling brings some co

[Qemu-devel] Gsoc 2017

2017-04-02 Thread Ashish Gahlot
Hello Qemu community, After talking to my mentor on the topic PCIe-PCI bridge, I have submitted the proposal to gsoc web. I kindly request the community to provide your valuable feedback by posting comments. Thanks, Ashish -- Ashish Kumar Gahlot III year, UG Govt. Engg. College, Ajmer, India

Re: [Qemu-devel] [PATCH v4] Allow setting NUMA distance for different NUMA nodes

2017-04-02 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 1491042326-24335-1-git-send-email-he.c...@linux.intel.com Subject: [Qemu-devel] [PATCH v4] Allow setting NUMA distance for different NUMA nodes === TEST SCRIPT BEGIN === #!/

Re: [Qemu-devel] [RFC v2 0/9] qom: Make object_get_class()/*_GET_CLASS return const pointers

2017-04-02 Thread Eduardo Habkost
On Thu, Mar 30, 2017 at 10:59:10AM +0200, Paolo Bonzini wrote: [...] > That said, the QUALIFIED_CAST concept is very interesting and I'd even > extend it to OBJECT_CHECK, object_dynamic_cast and > object_dynamic_cast_assert. I'm just not sure about returning const > from object_get_class()/*_GET_C

Re: [Qemu-devel] [PATCH for-2.10 0/2] etsec: (TYPE_)ETSEC_COMMON macro cleanup

2017-04-02 Thread Philippe Mathieu-Daudé
On 03/31/2017 04:27 PM, Eduardo Habkost wrote: When working on other things, I got confused by the etsec code, that didn't use the TYPE_ETSEC_COMMON macro in its type declaration, and had no subclasses despite being named ETSEC_COMMON. This is a very simple cleanup to remove the _COMMON suffix f

Re: [Qemu-devel] [PATCH v4 2+/9] spapr: allocate the ICPState object from under sPAPRCPUCore

2017-04-02 Thread David Gibson
On Thu, Mar 30, 2017 at 05:08:04PM +0200, Cédric Le Goater wrote: > Today, all the ICPs are created before the CPUs, stored in an array > under the sPAPR machine and linked to the CPU when the core threads > are realized. This modeling brings some complexity when a lookup in > the array is required

Re: [Qemu-devel] [PATCH 0/7] Provide support for the software TPM emulator

2017-04-02 Thread no-reply
Hi, This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Subject: [Qemu-devel] [PATCH 0/7] Provide support for the software TPM emulator Type: series Message-id: 1490965817-16913-1-gi

Re: [Qemu-devel] [PATCH qemu-ga] qemu-ga: Don't display errors to the user on thaw command

2017-04-02 Thread Sameeh Jubran
Ping. On Tue, Mar 21, 2017 at 5:14 PM, Sameeh Jubran wrote: > Errors that are related to ur inner implementation for the thaw command > shouldn't be displayed to the user. > > Signed-off-by: Sameeh Jubran > --- > qga/vss-win32/requester.cpp | 8 > 1 file changed, 4 insertions(+), 4 de

Re: [Qemu-devel] [PATCH qemu-ga] Fix a bug where qemu-ga service is stuck during stop operation

2017-04-02 Thread Sameeh Jubran
Ping. On Tue, Mar 21, 2017 at 4:59 PM, Sameeh Jubran wrote: > After triggering a freeze command without any following thaw command, > qemu-ga will not respond to stop operation. This behaviour is wanted on > Linux > as there is no time limit for a freeze command and we want to prevent > quitting

Re: [Qemu-devel] [PATCH] Fix Event Viewer errors caused by qemu-ga

2017-04-02 Thread Sameeh Jubran
Ping. On Wed, Mar 22, 2017 at 11:14 AM, Sameeh Jubran wrote: > > > On Tue, Mar 21, 2017 at 6:09 PM, Michael Roth > wrote: > >> Quoting Sameeh Jubran (2017-03-21 05:49:52) >> > When the command "guest-fsfreeze-freeze" is executed it causes >> > the VSS service to log the errors below in the Even

Re: [Qemu-devel] [PATCH qemu-ga v2] qemu-ga: Make QGA VSS provider service run only when needed

2017-04-02 Thread Sameeh Jubran
Ping. On Thu, Mar 23, 2017 at 7:26 PM, Sameeh Jubran wrote: > Currently the service runs in background on boot even though it is not > needed and once it is running it never stops. The service needs to be > running only during freeze operation and it should be stopped after > executing thaw. > >

Re: [Qemu-devel] [PATCH v4 2/9] spapr: move the IRQ server number mapping under the machine

2017-04-02 Thread David Gibson
On Thu, Mar 30, 2017 at 03:04:47PM +0200, Cédric Le Goater wrote: > On 03/30/2017 08:46 AM, David Gibson wrote: > > On Wed, Mar 29, 2017 at 03:53:24PM +0200, Cédric Le Goater wrote: > >> This is the second step to abstract the IRQ 'server' number of the > >> XICS layer. Now that the prereq cleanups