Re: [Qemu-devel] [Qemu-ppc] [PATCH] target/ppc/cpu-models: set POWER9_v1.0 as POWER9 DD1

2017-06-27 Thread Suraj Jitindar Singh
On Fri, 2017-06-23 at 18:05 +0200, Thomas Huth wrote: > On 23.06.2017 11:21, David Gibson wrote: > > On Thu, Jun 22, 2017 at 01:31:24PM +0200, Thomas Huth wrote: > > > On 22.06.2017 13:26, Laurent Vivier wrote: > > > > CPU_POWERPC_POWER9_DD1 is 0x004E0100, so this is the POWER9 > > > > v1.0. > > >

Re: [Qemu-devel] [Qemu-ppc] [PATCH] target/ppc/cpu-models: set POWER9_v1.0 as POWER9 DD1

2017-06-27 Thread joserz
On Fri, Jun 23, 2017 at 04:10:55PM +0200, Laurent Vivier wrote: > On 23/06/2017 11:21, David Gibson wrote: > > On Thu, Jun 22, 2017 at 01:31:24PM +0200, Thomas Huth wrote: > >> On 22.06.2017 13:26, Laurent Vivier wrote: > >>> CPU_POWERPC_POWER9_DD1 is 0x004E0100, so this is the POWER9 v1.0. > >>> >

[Qemu-devel] [PATCH] exec: fix access to ram_list.dirty_memory when sync dirty bitmap

2017-06-27 Thread Haozhong Zhang
In cpu_physical_memory_sync_dirty_bitmap(rb, start, ...), the 2nd argument 'start' is relative to the start of the ramblock 'rb'. When it's used to access the dirty memory bitmap of ram_list (i.e. ram_list.dirty_memory[DIRTY_MEMORY_MIGRATION]->blocks[]), an offset to the start of all RAM (i.e. rb->

[Qemu-devel] [PATCH v4] virtio-net: enable configurable tx queue size

2017-06-27 Thread Wei Wang
This patch enables the virtio-net tx queue size to be configurable between 256 (the default queue size) and 1024 by the user when the vhost-user backend is used. Currently, the maximum tx queue size for other backends is 512 due to the following limitations: - QEMU backend: the QEMU backend implem

Re: [Qemu-devel] [PATCH v5 2/4] net/socket: Convert error message to Error

2017-06-27 Thread Mao Zhongyi
Hi, Markus On 06/27/2017 03:43 PM, Markus Armbruster wrote: Suggest "net/socket: Convert several helper functions to Error". OK, I see. Mao Zhongyi writes: Currently, net_socket_mcast_create(), net_socket_fd_init_dgram() and net_socket_fd_init() use the function such as fprintf(), perror

Re: [Qemu-devel] [PATCH v5 3/4] net/net: Convert parse_host_port() to Error

2017-06-27 Thread Mao Zhongyi
Hi, Markus On 06/27/2017 04:04 PM, Markus Armbruster wrote: Mao Zhongyi writes: Cc: berra...@redhat.com Cc: kra...@redhat.com Cc: pbonz...@redhat.com Cc: jasow...@redhat.com Cc: arm...@redhat.com Signed-off-by: Mao Zhongyi --- include/qemu/sockets.h | 3 ++- net/net.c | 22 +++

Re: [Qemu-devel] [RFC v1 2/4] util/oslib-win32: Remove invalid check

2017-06-27 Thread Philippe Mathieu-Daudé
On Tue, Jun 27, 2017 at 8:57 PM, Alistair Francis wrote: > There is no way nhandles can be zero in this section so that part of the > if statement will always be false. Let's just remove it to make the code > easier to read. > > Signed-off-by: Alistair Francis > Acked-by: Edgar E. Iglesias Revi

Re: [Qemu-devel] [PATCH qemu v8 2/2] memory/iommu: introduce IOMMUMemoryRegionClass

2017-06-27 Thread Alexey Kardashevskiy
On 21/06/17 17:26, David Gibson wrote: > On Wed, Jun 21, 2017 at 12:05:08PM +1000, Alexey Kardashevskiy wrote: >> On 14/06/17 16:36, Alexey Kardashevskiy wrote: >>> This finishes QOM'fication of IOMMUMemoryRegion by introducing >>> a IOMMUMemoryRegionClass. This also provides a fastpath analog for

Re: [Qemu-devel] [RFC v1 1/3] util/qemu-error: Rename error_print_loc() to be more generic

2017-06-27 Thread Philippe Mathieu-Daudé
On Tue, Jun 27, 2017 at 5:45 PM, Alistair Francis wrote: > Rename the error_print_loc() function in preperation for using it to preparation > print warnings as well. > > Signed-off-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé > --- > > util/qemu-error.c | 4 ++-- > 1 file change

[Qemu-devel] [PATCH 1/2] [TEST] aarch64: Use pmuserenr_el0 register for instrumentation

2017-06-27 Thread Pranith Kumar
We need a way for the benchmark running in the guest to indicate us to start/stop our instrumentation. On x86, we could use the 'cpuid' instruction along with an appropriately populated 'eax' register. However, no such dummy instruction exists for aarch64. So we modify the permission bits for 'pmus

[Qemu-devel] [TEST PATCH 0/2] Instrumentation and TLB stats

2017-06-27 Thread Pranith Kumar
The following two patches are what I use to instrument guest code and collect TLB hit/miss information. These patches are for informational and discussion purposes only. Pranith Kumar (2): [TEST] aarch64: Use pmuserenr_el0 register for instrumentation [TEST] Collect TLB stats along with victim

[Qemu-devel] [PATCH 2/2] [TEST] Collect TLB and victim TLB hit/miss stats

2017-06-27 Thread Pranith Kumar
I used the following patch to collect hit/miss TLB ratios for a few benchmarks. The results can be found here: http://imgur.com/a/gee1o Please note that these results also include boot/shutdown as the per-region instrumentation patch came later. Signed-off-by: Pranith Kumar --- accel/tcg/cputlb

Re: [Qemu-devel] [PATCH v5 3/4] net/net: Convert parse_host_port() to Error

2017-06-27 Thread Markus Armbruster
Mao Zhongyi writes: > Hi, Markus > > On 06/27/2017 04:04 PM, Markus Armbruster wrote: >> Mao Zhongyi writes: >> >>> Cc: berra...@redhat.com >>> Cc: kra...@redhat.com >>> Cc: pbonz...@redhat.com >>> Cc: jasow...@redhat.com >>> Cc: arm...@redhat.com >>> Signed-off-by: Mao Zhongyi >>> --- >>> inc

[Qemu-devel] [PATCH v1] virtio-net: code cleanup

2017-06-27 Thread Wei Wang
Use is_power_of_2(), and remove trailing "." from error_setg(). Signed-off-by: Wei Wang --- hw/net/virtio-net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index 91eddaf..144169c 100644 --- a/hw/net/virtio-net.c +++ b/hw/net

Re: [Qemu-devel] [Qemu devel v5 PATCH 5/5] msf2: Add Emcraft's Smartfusion2 SOM kit.

2017-06-27 Thread sundeep subbaraya
Hi Alistair, On Tue, Jun 27, 2017 at 4:19 AM, Alistair Francis wrote: > On Mon, Jun 26, 2017 at 9:01 AM, sundeep subbaraya > wrote: > > Hi Alistair, > > > > On Wed, May 31, 2017 at 4:02 AM, Alistair Francis > > wrote: > >> > >> On Sun, May 28, 2017 at 10:26 PM, sundeep subbaraya > >> wrote: >

Re: [Qemu-devel] [RFC 5/5] vifo: introduce new VFIO ioctl VFIO_DEVICE_PCI_GET_DIRTY_BITMAP

2017-06-27 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, June 28, 2017 3:45 AM > > On Tue, 27 Jun 2017 08:56:01 + > "Zhang, Yulei" wrote: > > > > -Original Message- > > > From: Qemu-devel [mailto:qemu-devel- > > > bounces+yulei.zhang=intel@nongnu.org] On Beh

Re: [Qemu-devel] [PATCH 00/10] Block layer thread-safety, part 2

2017-06-27 Thread no-reply
Hi, This series failed build test on s390x host. Please find the details below. Message-id: 20170627152248.10446-1-pbonz...@redhat.com Subject: [Qemu-devel] [PATCH 00/10] Block layer thread-safety, part 2 Type: series === TEST SCRIPT BEGIN === #!/bin/bash # Testing script will be invoked under t

Re: [Qemu-devel] [RFC v1 3/3] char-socket: Report TCP socket waiting as a warning

2017-06-27 Thread Edgar E. Iglesias
On Tue, Jun 27, 2017 at 05:17:58PM -0700, Alistair Francis wrote: > On Tue, Jun 27, 2017 at 2:10 PM, Edgar E. Iglesias > wrote: > > On Tue, Jun 27, 2017 at 01:45:48PM -0700, Alistair Francis wrote: > >> When QEMU is waiting for a TCP socket connection it reports that message as > >> an error. This

Re: [Qemu-devel] [PATCH v6 06/10] migration: move only_migratable to MigrationState

2017-06-27 Thread Peter Xu
On Tue, Jun 27, 2017 at 10:36:44AM -0300, Eduardo Habkost wrote: > On Tue, Jun 27, 2017 at 06:15:37AM -0500, Eric Blake wrote: > > On 06/26/2017 11:10 PM, Peter Xu wrote: > > > One less global variable, and it does only matter with migration. > > > > > > We keep the old "--only-migratable" option,

Re: [Qemu-devel] [PATCH v6 01/10] machine: export register_compat_prop()

2017-06-27 Thread Peter Xu
On Tue, Jun 27, 2017 at 10:05:54AM -0500, Eric Blake wrote: > On 06/27/2017 09:55 AM, Eduardo Habkost wrote: > > >> + * > >> + * The property values set using this function must be always valid and > >> + * never report setter errors, as they property have > > > > Typo (my fault, sorry). It shou

<    1   2   3   4