Re: [Qemu-devel] [PATCH v3 11/23] hw/pvrdma: Add support to allow guest to configure GID table

2018-11-18 Thread Yuval Shaia
On Sat, Nov 17, 2018 at 02:48:34PM +0200, Marcel Apfelbaum wrote: > > > On 11/13/18 9:13 AM, Yuval Shaia wrote: > > The control over the RDMA device's GID table is done by updating the > > device's Ethernet function addresses. > > Usually the first GID entry is determine by the MAC address, the

Re: [Qemu-devel] [PATCH v2 13/22] hw/pvrdma: Make sure PCI function 0 is vmxnet3

2018-11-18 Thread Yuval Shaia
On Sat, Nov 17, 2018 at 01:41:41PM +0200, Marcel Apfelbaum wrote: > > > On 11/11/18 9:45 AM, Yuval Shaia wrote: > > On Sat, Nov 10, 2018 at 08:27:44PM +0200, Marcel Apfelbaum wrote: > > > > > > On 11/8/18 6:08 PM, Yuval Shaia wrote: > > > > Guest driver enforces it, we should also. > > > > > >

Re: [Qemu-devel] [PATCH v3 05/23] hw/rdma: Add support for MAD packets

2018-11-18 Thread Yuval Shaia
On Sat, Nov 17, 2018 at 02:06:48PM +0200, Marcel Apfelbaum wrote: > Hi Yuval, > > On 11/13/18 9:12 AM, Yuval Shaia wrote: > > MAD (Management Datagram) packets are widely used by various modules > > Please add a link to Spec, I sent it in the V1 mail-thread > Please add it also as a comment in

Re: [Qemu-devel] [PATCH 2/2] scsi-disk: fix rerror/werror=ignore

2018-11-18 Thread Richard W.M. Jones
On Sat, Oct 13, 2018 at 11:53:23AM +0200, Paolo Bonzini wrote: > rerror=ignore was returning true from scsi_handle_rw_error but the callers > were not > calling scsi_req_complete when rerror=ignore returns true (this is the > correct thing > to do when true is returned after executing a

[Qemu-devel] [PATCH v4 16/23] hw/pvrdma: Fill all CQE fields

2018-11-18 Thread Yuval Shaia
Add ability to pass specific WC attributes to CQE such as GRH_BIT flag. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/rdma_backend.c | 59 +++-- hw/rdma/rdma_backend.h | 4 +-- hw/rdma/vmw/pvrdma_qp_ops.c | 31

[Qemu-devel] [PATCH v4 19/23] vl: Introduce shutdown_notifiers

2018-11-18 Thread Yuval Shaia
Notifier will be used for signaling shutdown event to inform system is shutdown. This will allow devices and other component to run some cleanup code needed before VM is shutdown. Signed-off-by: Yuval Shaia Reviewed-by: Cornelia Huck --- include/sysemu/sysemu.h | 1 + vl.c

[Qemu-devel] [PATCH v4 02/23] hw/rdma: Add ability to force notification without re-arm

2018-11-18 Thread Yuval Shaia
Upon completion of incoming packet the device pushes CQE to driver's RX ring and notify the driver (msix). While for data-path incoming packets the driver needs the ability to control whether it wished to receive interrupts or not, for control-path packets such as incoming MAD the driver needs to

Re: [Qemu-devel] [PATCH-for-3.1] ps2kbd: default to scan enabled after reset

2018-11-18 Thread Hervé Poussineau
Ping again. v3.0 didn't contain 143c04c7e0639e53086519592ead15d2556bfbf2, so this commit fixes a regression. Le 10/11/2018 à 21:53, Hervé Poussineau a écrit : Ping. Le 21/10/2018 à 21:07, Hervé Poussineau a écrit : A check for scan_enabled has been added to ps2_keyboard_event in commit

[Qemu-devel] [PATCH v4 17/23] hw/pvrdma: Fill error code in command's response

2018-11-18 Thread Yuval Shaia
Driver checks error code let's set it. Signed-off-by: Yuval Shaia --- hw/rdma/vmw/pvrdma_cmd.c | 67 1 file changed, 48 insertions(+), 19 deletions(-) diff --git a/hw/rdma/vmw/pvrdma_cmd.c b/hw/rdma/vmw/pvrdma_cmd.c index 0d3c818c20..a326c5d470 100644

[Qemu-devel] [Bug 1803872] [NEW] gcc 8.2 reports stringop-truncation when building qemu

2018-11-18 Thread Amir Gonnen
Public bug reported: QEMU 3.0 block/sheepdog.c: In function 'find_vdi_name': block/sheepdog.c:1239:5: error: 'strncpy' specified bound 256 equals destination size [-Werror=stringop-truncation] strncpy(buf + SD_MAX_VDI_LEN, tag, SD_MAX_VDI_TAG_LEN);

Re: [Qemu-devel] [PATCH v3 22/23] hw/rdma: Do not call rdma_backend_del_gid on an empty gid

2018-11-18 Thread Yuval Shaia
On Sat, Nov 17, 2018 at 02:25:55PM +0200, Marcel Apfelbaum wrote: > > > On 11/13/18 9:13 AM, Yuval Shaia wrote: > > When device goes down the function fini_ports loops over all entries in > > gid table regardless of the fact whether entry is valid or not. In case > > that entry is not valid we'd

[Qemu-devel] [PATCH v4 01/23] contrib/rdmacm-mux: Add implementation of RDMA User MAD multiplexer

2018-11-18 Thread Yuval Shaia
RDMA MAD kernel module (ibcm) disallow more than one MAD-agent for a given MAD class. This does not go hand-by-hand with qemu pvrdma device's requirements where each VM is MAD agent. Fix it by adding implementation of RDMA MAD multiplexer service which on one hand register as a sole MAD agent with

[Qemu-devel] [PATCH v4 12/23] vmxnet3: Move some definitions to header file

2018-11-18 Thread Yuval Shaia
pvrdma setup requires vmxnet3 device on PCI function 0 and PVRDMA device on PCI function 1. pvrdma device needs to access vmxnet3 device object for several reasons: 1. Make sure PCI function 0 is vmxnet3. 2. To monitor vmxnet3 device state. 3. To configure node_guid accoring to vmxnet3 device's

[Qemu-devel] [PATCH v4 14/23] hw/rdma: Initialize node_guid from vmxnet3 mac address

2018-11-18 Thread Yuval Shaia
node_guid should be set once device is load. Make node_guid be GID format (32 bit) of PCI function 0 vmxnet3 device's MAC. A new function was added to do the conversion. So for example the MAC 56:b6:44:e9:62:dc will be converted to GID 54b6:44ff:fee9:62dc. Signed-off-by: Yuval Shaia

[Qemu-devel] [PATCH v4 15/23] hw/pvrdma: Make device state depend on Ethernet function state

2018-11-18 Thread Yuval Shaia
User should be able to control the device by changing Ethernet function state so if user runs 'ifconfig ens3 down' the PVRDMA function should be down as well. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/vmw/pvrdma_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1

[Qemu-devel] [PATCH v4 21/23] hw/rdma: Do not use bitmap_zero_extend to free bitmap

2018-11-18 Thread Yuval Shaia
bitmap_zero_extend is designed to work for extending, not for shrinking. Using g_free instead. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/rdma_rm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/rdma/rdma_rm.c b/hw/rdma/rdma_rm.c index

Re: [Qemu-devel] [PATCH v3 17/23] hw/pvrdma: Fill error code in command's response

2018-11-18 Thread Yuval Shaia
On Sat, Nov 17, 2018 at 02:22:31PM +0200, Marcel Apfelbaum wrote: > > > On 11/13/18 9:13 AM, Yuval Shaia wrote: > > Driver checks error code let's set it. > > > > Signed-off-by: Yuval Shaia > > --- > > hw/rdma/vmw/pvrdma_cmd.c | 67 > > 1 file

[Qemu-devel] [PATCH v4 10/23] json: Define new QMP message for pvrdma

2018-11-18 Thread Yuval Shaia
pvrdma requires that the same GID attached to it will be attached to the backend device in the host. A new QMP messages is defined so pvrdma device can broadcast any change made to its GID table. This event is captured by libvirt which in turn will update the GID table in the backend device.

[Qemu-devel] [PATCH v4 08/23] hw/pvrdma: Set the correct opcode for recv completion

2018-11-18 Thread Yuval Shaia
The function pvrdma_post_cqe populates CQE entry with opcode from the given completion element. For receive operation value was not set. Fix it by setting it to IBV_WC_RECV. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/vmw/pvrdma_qp_ops.c | 3 ++- 1 file changed, 2

[Qemu-devel] [PATCH v4 04/23] hw/rdma: Abort send-op if fail to create addr handler

2018-11-18 Thread Yuval Shaia
Function create_ah might return NULL, let's exit with an error. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/rdma_backend.c | 4 1 file changed, 4 insertions(+) diff --git a/hw/rdma/rdma_backend.c b/hw/rdma/rdma_backend.c index d7a4bbd91f..1e148398a2 100644 ---

[Qemu-devel] [PATCH v4 03/23] hw/rdma: Return qpn 1 if ibqp is NULL

2018-11-18 Thread Yuval Shaia
Device is not supporting QP0, only QP1. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/rdma_backend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/rdma/rdma_backend.h b/hw/rdma/rdma_backend.h index 86e8fe8ab6..3ccc9a2494 100644 ---

[Qemu-devel] [PATCH v4 13/23] hw/pvrdma: Make sure PCI function 0 is vmxnet3

2018-11-18 Thread Yuval Shaia
Guest driver enforces it, we should also. Signed-off-by: Yuval Shaia --- hw/rdma/vmw/pvrdma.h | 2 ++ hw/rdma/vmw/pvrdma_main.c | 12 2 files changed, 14 insertions(+) diff --git a/hw/rdma/vmw/pvrdma.h b/hw/rdma/vmw/pvrdma.h index b019cb843a..10a3c4fb7c 100644 ---

Re: [Qemu-devel] [PATCH v3 01/23] contrib/rdmacm-mux: Add implementation of RDMA User MAD multiplexer

2018-11-18 Thread Yuval Shaia
On Sat, Nov 17, 2018 at 07:27:43PM +0200, Shamir Rabinovitch wrote: > On Tue, Nov 13, 2018 at 09:13:14AM +0200, Yuval Shaia wrote: > > RDMA MAD kernel module (ibcm) disallow more than one MAD-agent for a > > given MAD class. > > This does not go hand-by-hand with qemu pvrdma device's requirements

[Qemu-devel] [PATCH v4 06/23] hw/pvrdma: Make function reset_device return void

2018-11-18 Thread Yuval Shaia
This function cannot fail - fix it to return void Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/vmw/pvrdma_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/rdma/vmw/pvrdma_main.c b/hw/rdma/vmw/pvrdma_main.c index 6c8c0154fa..fc2abd34af

[Qemu-devel] [PATCH v4 05/23] hw/rdma: Add support for MAD packets

2018-11-18 Thread Yuval Shaia
MAD (Management Datagram) packets are widely used by various modules both in kernel and in user space for example the rdma_* API which is used to create and maintain "connection" layer on top of RDMA uses several types of MAD packets. For more information please refer to chapter 13.4 in Volume 1

[Qemu-devel] [PATCH v4 00/23] Add support for RDMA MAD

2018-11-18 Thread Yuval Shaia
Hi all. This is a major enhancement to the pvrdma device to allow it to work with state of the art applications such as MPI. As described in patch #5, MAD packets are management packets that are used for many purposes including but not limited to communication layer above IB verbs API. Patch 1

[Qemu-devel] [PATCH v4 18/23] hw/rdma: Remove unneeded code that handles more that one port

2018-11-18 Thread Yuval Shaia
Device supports only one port, let's remove a dead code that handles more than one port. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/rdma_rm.c | 34 -- hw/rdma/rdma_rm.h | 2 +- hw/rdma/rdma_rm_defs.h | 4 ++-- 3 files

[Qemu-devel] [PATCH v4 09/23] hw/pvrdma: Set the correct opcode for send completion

2018-11-18 Thread Yuval Shaia
opcode for WC should be set by the device and not taken from work element. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/vmw/pvrdma_qp_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/rdma/vmw/pvrdma_qp_ops.c b/hw/rdma/vmw/pvrdma_qp_ops.c

Re: [Qemu-devel] [PATCH for-3.1] fdc: fix segfault in fdctrl_stop_transfer() when DMA is disabled

2018-11-18 Thread Mark Cave-Ayland
On 13/11/2018 20:29, John Snow wrote: > On 11/13/18 8:16 AM, Kevin Wolf wrote: >> Am 12.11.2018 um 20:58 hat John Snow geschrieben: >>> >>> >>> On 11/11/18 4:40 AM, Mark Cave-Ayland wrote: Commit c8a35f1cf0f "fdc: use IsaDma interface instead of global DMA_* functions" accidentally

[Qemu-devel] [PATCH v4 11/23] hw/pvrdma: Add support to allow guest to configure GID table

2018-11-18 Thread Yuval Shaia
The control over the RDMA device's GID table is done by updating the device's Ethernet function addresses. Usually the first GID entry is determined by the MAC address, the second by the first IPv6 address and the third by the IPv4 address. Other entries can be added by adding more IP addresses.

[Qemu-devel] [PATCH v4 22/23] hw/rdma: Do not call rdma_backend_del_gid on an empty gid

2018-11-18 Thread Yuval Shaia
When device goes down the function fini_ports loops over all entries in gid table regardless of the fact whether entry is valid or not. In case that entry is not valid we'd like to skip from any further processing in backend device. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum ---

[Qemu-devel] [PATCH v4 23/23] docs: Update pvrdma device documentation

2018-11-18 Thread Yuval Shaia
Interface with the device is changed with the addition of support for MAD packets. Adjust documentation accordingly. While there fix a minor mistake which may lead to think that there is a relation between using RXE on host and the compatibility with bare-metal peers. Signed-off-by: Yuval Shaia

[Qemu-devel] [PATCH v4 07/23] hw/pvrdma: Make default pkey 0xFFFF

2018-11-18 Thread Yuval Shaia
Commit 6e7dba23af ("hw/pvrdma: Make default pkey 0x") exports default pkey as external definition but omit the change from 0x7FFF to 0x. Fixes: 6e7dba23af ("hw/pvrdma: Make default pkey 0x") Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/vmw/pvrdma.h | 2 +-

[Qemu-devel] [PATCH v4 20/23] hw/pvrdma: Clean device's resource when system is shutdown

2018-11-18 Thread Yuval Shaia
In order to clean some external resources such as GIDs, QPs etc, register to receive notification when VM is shutdown. Signed-off-by: Yuval Shaia Reviewed-by: Marcel Apfelbaum --- hw/rdma/vmw/pvrdma.h | 2 ++ hw/rdma/vmw/pvrdma_main.c | 12 2 files changed, 14 insertions(+)

[Qemu-devel] [Bug 1803872] Re: gcc 8.2 reports stringop-truncation when building qemu

2018-11-18 Thread Amir Gonnen
** Description changed: QEMU 3.0 block/sheepdog.c: In function 'find_vdi_name': block/sheepdog.c:1239:5: error: 'strncpy' specified bound 256 equals destination size [-Werror=stringop-truncation] - strncpy(buf + SD_MAX_VDI_LEN, tag, SD_MAX_VDI_TAG_LEN); -

Re: [Qemu-devel] [PATCH] docker: dockerfile for openSUSE Leap

2018-11-18 Thread Alex Bennée
Dario Faggioli writes: > Dockerfile for building an openSUSE Leap container. > > Tracks the latest release (at the time of writing this > patch, it is Leap 15). > > Signed-off-by: Dario Faggioli > --- > Cc: "Alex Bennée" > Cc: Fam Zheng > Cc: "Philippe Mathieu-Daudé" > --- >

[Qemu-devel] 3.1.0-rc{0,1} doesn't start

2018-11-18 Thread balducci
hello I'm building qemu from source and happily using it since a bit (2.3.0) Since 3.1.0-rc0 (including latest 3.1.0-rc1) I'm no more able to start qemu, getting: 8< install:115> qemu qemu: error: failed to set MSR 0x10a to 0x0 qemu:

[Qemu-devel] [RFC PATCH 1/2] docker: Add gentoo-mipsr5900el-cross image

2018-11-18 Thread Philippe Mathieu-Daudé
This image is based on Gentoo and the toolchain is built using crossdev. Recipe from: https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg03944.html Suggested-by: Fredrik Noring Signed-off-by: Philippe Mathieu-Daudé --- TODO: - Add Fredrik Noring S-o-b in his patches - Check patch

[Qemu-devel] [RFC PATCH 0/2] docker: Add gentoo-mipsr5900el-cross image

2018-11-18 Thread Philippe Mathieu-Daudé
Hi, The first patch adds a cross toolchain for the R5900 MIPS. It is working correctly but the patches provided by Fredrik in [1] don't have proper S-o-b, thus it is tagged RFC. Fredrik: any update on the status of those patches upstream? I setup this image to try Fredrik's TCG tests in [2]. The

[Qemu-devel] [RFC PATCH 2/2] shippable: Add the mipsr5900el linux-user target

2018-11-18 Thread Philippe Mathieu-Daudé
Shippable node pool must be updated to use at lease v5.8.2: http://docs.shippable.com/platform/runtime/machine-image/ami-v582/ Signed-off-by: Philippe Mathieu-Daudé --- .shippable.yml | 2 ++ tests/docker/dockerfiles/gentoo-mipsr5900el-cross.docker |

Re: [Qemu-devel] [PATCH] docker: dockerfile for openSUSE Leap

2018-11-18 Thread Dario Faggioli
On Sun, 2018-11-18 at 19:47 +, Alex Bennée wrote: > Dario Faggioli writes: > > > Dockerfile for building an openSUSE Leap container. > > > > Tracks the latest release (at the time of writing this > > patch, it is Leap 15). > > > > Signed-off-by: Dario Faggioli > > --- > > Cc: "Alex

Re: [Qemu-devel] [PATCH] docker: dockerfile for openSUSE Leap

2018-11-18 Thread Philippe Mathieu-Daudé
Hi Dario, On Sun, Nov 18, 2018 at 10:54 PM Dario Faggioli wrote: > > On Sun, 2018-11-18 at 19:47 +, Alex Bennée wrote: > > Dario Faggioli writes: > > > > > Dockerfile for building an openSUSE Leap container. > > > > > > Tracks the latest release (at the time of writing this > > > patch, it

Re: [Qemu-devel] SeaBIOS booting time optimization

2018-11-18 Thread Samuel Ortiz
Hi Stefano, On Fri, Nov 16, 2018 at 05:13:59PM +0100, Stefano Garzarella wrote: > Hi, > I'm investigating the SeaBIOS booting time, to understand if we can reduce > the boot time in some cases (e.g. legacy hardware is not needed). I think > this > can be interesting also for NEMU developers.

Re: [Qemu-devel] [PATCH 1/2] hw: fw_cfg: refactor fw_cfg_bootsplash()

2018-11-18 Thread 李强
At 2018-11-17 00:33:34, "Markus Armbruster" wrote: >Li Qiang writes: > >> Currently when the splash-time value is bigger than 0x >> we report and correct it, when it is less than 0 we just ingore it. > >s/ingore/ignore/ > >> Also we use qemu_opt_get() to get 'splash-time', then

Re: [Qemu-devel] [PATCH v5 00/11] hw/m68k: add Apple Machintosh Quadra 800 machine

2018-11-18 Thread Rob Landley
On 11/2/18 6:25 AM, Laurent Vivier wrote: >> If that does not work, I'm also fine if we simply deprecate the simcalls >> (if possible). > > I have a patch to deprecate the interface. I will send it once the > release will be done. Did I ever point out that I got m68k running under your q800

Re: [Qemu-devel] [PATCH qemu RFC 7/7] spapr: Add NVLink2 pass through support

2018-11-18 Thread David Gibson
On Tue, Nov 13, 2018 at 07:31:04PM +1100, Alexey Kardashevskiy wrote: > The NVIDIA V100 GPU comes with some on-board RAM which is mapped into > the host memory space and accessible as normal RAM via NVLink bus. > The VFIO-PCI driver implements special regions for such GPU and emulated > NVLink

Re: [Qemu-devel] [PATCH qemu RFC 3/7] pci: Move NVIDIA vendor id to the rest of ids

2018-11-18 Thread David Gibson
On Tue, Nov 13, 2018 at 07:31:00PM +1100, Alexey Kardashevskiy wrote: > sPAPR code will use it too so move it from VFIO to the common code. > > Signed-off-by: Alexey Kardashevskiy Reviewed-by: David Gibson This looks correct to me independent of the rest of the series. > --- >

Re: [Qemu-devel] [PATCH qemu RFC 1/7] vfio/spapr: Fix indirect levels calculation

2018-11-18 Thread David Gibson
On Tue, Nov 13, 2018 at 07:30:58PM +1100, Alexey Kardashevskiy wrote: > The current code assumes that we can address more bits on a PCI bus > for DMA than we really can. Limit to the known tested maximum of 55 bits > and assume 64K IOMMU pages. This doesn't make much sense to me. It looks

Re: [Qemu-devel] [PATCH qemu RFC 5/7] spapr-iommu: Always advertise the maximum possible DMA window size

2018-11-18 Thread David Gibson
On Tue, Nov 13, 2018 at 07:31:02PM +1100, Alexey Kardashevskiy wrote: > When deciding about the huge DMA window, the typical Linux pseries guest > uses the maximum allowed RAM size as the upper limit. We did the same > on QEMU side to match that logic. Now we are going to support GPU RAM > pass

Re: [Qemu-devel] [PATCH qemu RFC 4/7] vfio/nvidia-v100: Disable VBIOS update

2018-11-18 Thread David Gibson
On Tue, Nov 13, 2018 at 07:31:01PM +1100, Alexey Kardashevskiy wrote: > The NVIDIA V100 GPUs often come in several instances on the same system > board where they are connected directly via out of band fabric called > "NVLink". > > In order to make GPUs talk to each other, NVLink has to be

[Qemu-devel] [PATCH] hw/arm/stm32f205: Fix the UART and Timer region size

2018-11-18 Thread Seth K
From: Seth Kintigh I corrected these 2 memory regions based on specifications from the chip manufacturer. The existing ranges seem to overlap and and cause odd behavior and/or crashes when trying to set up multiple UARTs, Signed-off-by: Seth Kintigh --- Phil, I hope this is the right format.

Re: [Qemu-devel] [PATCH qemu RFC 5/7] spapr-iommu: Always advertise the maximum possible DMA window size

2018-11-18 Thread Alexey Kardashevskiy
On 19/11/2018 13:42, David Gibson wrote: > On Tue, Nov 13, 2018 at 07:31:02PM +1100, Alexey Kardashevskiy wrote: >> When deciding about the huge DMA window, the typical Linux pseries guest >> uses the maximum allowed RAM size as the upper limit. We did the same >> on QEMU side to match that

Re: [Qemu-devel] [PATCH qemu RFC 7/7] spapr: Add NVLink2 pass through support

2018-11-18 Thread Alexey Kardashevskiy
On 19/11/2018 14:01, David Gibson wrote: > On Tue, Nov 13, 2018 at 07:31:04PM +1100, Alexey Kardashevskiy wrote: >> The NVIDIA V100 GPU comes with some on-board RAM which is mapped into >> the host memory space and accessible as normal RAM via NVLink bus. >> The VFIO-PCI driver implements

Re: [Qemu-devel] [PATCH qemu RFC 5/7] spapr-iommu: Always advertise the maximum possible DMA window size

2018-11-18 Thread David Gibson
On Mon, Nov 19, 2018 at 04:08:33PM +1100, Alexey Kardashevskiy wrote: > > > On 19/11/2018 13:42, David Gibson wrote: > > On Tue, Nov 13, 2018 at 07:31:02PM +1100, Alexey Kardashevskiy wrote: > >> When deciding about the huge DMA window, the typical Linux pseries guest > >> uses the maximum

Re: [Qemu-devel] [PATCH qemu RFC 1/7] vfio/spapr: Fix indirect levels calculation

2018-11-18 Thread Alexey Kardashevskiy
On 19/11/2018 12:45, David Gibson wrote: > On Tue, Nov 13, 2018 at 07:30:58PM +1100, Alexey Kardashevskiy wrote: >> The current code assumes that we can address more bits on a PCI bus >> for DMA than we really can. Limit to the known tested maximum of 55 bits >> and assume 64K IOMMU pages. > >

Re: [Qemu-devel] [PULL 0/8] Monitor patches for 2018-10-30

2018-11-18 Thread Peter Xu
On Thu, Nov 08, 2018 at 10:44:06AM +0800, Peter Xu wrote: > On Wed, Nov 07, 2018 at 11:21:32AM +, Peter Maydell wrote: > > On 7 November 2018 at 02:56, Peter Xu wrote: > > > Strange, "make check -j8" failed on my hosts (I tried two) with either > > > Markus's pull tree or qemu master: > > > >

Re: [Qemu-devel] [PATCH 2/2] hw: fw_cfg: refactor fw_cfg_reboot()

2018-11-18 Thread Markus Armbruster
ÀîÇ¿ writes: > At 2018-11-17 00:52:58, "Markus Armbruster" wrote: >>Li Qiang writes: >> >>> Currently the user can set a negative reboot_timeout. >>> Also it is wrong to parse 'reboot-timeout' with qemu_opt_get() and then >>> convert it to number. >> >>Again, it's not wrong per se, just

Re: [Qemu-devel] [PULL 0/8] Monitor patches for 2018-10-30

2018-11-18 Thread Peter Xu
On Mon, Nov 19, 2018 at 02:17:27PM +0800, Peter Xu wrote: > On Thu, Nov 08, 2018 at 10:44:06AM +0800, Peter Xu wrote: > > On Wed, Nov 07, 2018 at 11:21:32AM +, Peter Maydell wrote: > > > On 7 November 2018 at 02:56, Peter Xu wrote: > > > > Strange, "make check -j8" failed on my hosts (I tried

Re: [Qemu-devel] [PATCH v4 10/23] json: Define new QMP message for pvrdma

2018-11-18 Thread Markus Armbruster
The subsystem tag in the commit message's title should be "qapi: " not "json: ". Yuval Shaia writes: > pvrdma requires that the same GID attached to it will be attached to the > backend device in the host. > > A new QMP messages is defined so pvrdma device can broadcast any change > made to its

Re: [Qemu-devel] [PATCH 2/2] hw: fw_cfg: refactor fw_cfg_reboot()

2018-11-18 Thread Li Qiang
Markus Armbruster 于2018年11月19日周一 下午3:01写道: > ÀîÇ¿ writes: > > > At 2018-11-17 00:52:58, "Markus Armbruster" wrote: > >>Li Qiang writes: > >> > >>> Currently the user can set a negative reboot_timeout. > >>> Also it is wrong to parse 'reboot-timeout' with qemu_opt_get() and then > >>> convert

Re: [Qemu-devel] SeaBIOS booting time optimization

2018-11-18 Thread Samuel Ortiz
Hi Stefan, On Fri, Nov 16, 2018 at 04:39:20PM +, Stefan Hajnoczi wrote: > On Fri, Nov 16, 2018 at 4:21 PM Stefano Garzarella > wrote: > > I'm investigating the SeaBIOS booting time, to understand if we can reduce > > the boot time in some cases (e.g. legacy hardware is not needed). I think

Re: [Qemu-devel] [PATCH 2/2] hw: fw_cfg: refactor fw_cfg_reboot()

2018-11-18 Thread 李强
At 2018-11-17 00:52:58, "Markus Armbruster" wrote: >Li Qiang writes: > >> Currently the user can set a negative reboot_timeout. >> Also it is wrong to parse 'reboot-timeout' with qemu_opt_get() and then >> convert it to number. > >Again, it's not wrong per se, just needlessly