Re: [Qemu-devel] [PATCH] net: vmxnet: check fragments count at pkt initialisation

2016-08-13 Thread Dmitry Fleytman
> On 12 Aug 2016, at 14:11 PM, 李强 wrote: > > Hi Dmitry > >> >>> On 12 Aug 2016, at 04:21 AM, 李强 wrote: >>> >>> Hello Dmitry, >>> >>> I don't see the assert for 'max_frags' in vmxnet device emulation. Could you >> please point it out? >> >> >> Hi, >> >> I mean that max_frags for vmxnet3 d

Re: [Qemu-devel] 答复: [PATCH] net: vmxnet: check fragments count at pkt initialisation

2016-08-13 Thread Peter Maydell
On 12 August 2016 at 02:21, 李强 wrote: > Hello Dmitry, > > I don't see the assert for 'max_frags' in vmxnet device emulation. Could you > please point it out? > > In my PoC, I set it to '0x2000', and in vmxnet_tx_pkt_init() the > 'p->raw' will be NULL because of an integer overflow(in x86).

[Qemu-devel] [PATCH] monitor: Add an "xlate" command for translating a virtual address

2016-08-13 Thread Benjamin Herrenschmidt
This is very handy when debugging a guest, especially when it's stuck on accessing some HW and the only way to figure out what specific piece of HW is to translate the virtual address to a hardware address that can then be matched with the mtree Signed-off-by: Benjamin Herrenschmidt --- hmp-comm

[Qemu-devel] [PULL 0/2] xen-20160812-tag-2

2016-08-13 Thread Stefano Stabellini
The following changes since commit 28b874429ba16e71e0caa46453f3a3e31efb3c51: Merge remote-tracking branch 'remotes/amit-migration/tags/migration-for-2.7-7' into staging (2016-08-11 17:53:35 +0100) are available in the git repository at: git://xenbits.xen.org/people/sstabellini/qemu-dm.git

[Qemu-devel] [PATCH] fpu: add mechanism to check for invalid long double formats

2016-08-13 Thread Andrew Dutcher
The macro require_valid_floatx80(value, status) will check for malformed extended precision encodings, and if one is found, generate an invalid-operation exception and return NaN. This check has been added to the beginning of the basic 80-bit float arithmetic functions. Signed-off-by: Andrew Dutch

[Qemu-devel] [Bug 1612908] [NEW] qom-[list, tree, get, set] don't accept tcp endpoint arg

2016-08-13 Thread Carl Allendorph
Public bug reported: Hi, I'm using origin/master [60ac13...]. When I run any of the commands in 'qemu/scripts/qmp/qom-[list,tree,get,set]', the help text says that it can connect to a QEMU instance by passing either a path to a unix socket or a tcp endpoint in the format "host:port". The unix

Re: [Qemu-devel] [PATCH] fpu: add mechanism to check for invalid long double formats

2016-08-13 Thread no-reply
Hi, Your series seems to have some coding style problems. See output below for more information: Message-id: 1471059185-18108-1-git-send-email-and...@andrewdutcher.com Subject: [Qemu-devel] [PATCH] fpu: add mechanism to check for invalid long double formats Type: series === TEST SCRIPT BEGIN ==

[Qemu-devel] [PATCH, Bug 1612908] scripts: Add ability for qom-* python scripts to target tcp endpoints

2016-08-13 Thread carl
From: Carl Allendorph The current code for QEMUMonitorProtocol accepts both a unix socket endpoint as a string and a tcp endpoint as a tuple. Most of the scripts that use this class don't massage the command line argument to generate a tuple. This patch refactors qmp-shell slightly to reuse the e

[Qemu-devel] [PATCH, Bug 1612908] scripts: Add TCP endpoints for qom-* scripts

2016-08-13 Thread carl
From: Carl Allendorph I've created a patch for bug #1612908. The current docs for the scripts in the "scripts/qmp/" directory suggest that both unix sockets and tcp endpoints can be used. The TCP endpoints don't work for most of the scripts, with notable exception of 'qmp-shell'. This patch attem

[Qemu-devel] [V16 0/4] AMD IOMMU

2016-08-13 Thread David Kiarie
Hi all, This patchset adds basic AMD IOMMU emulation support to Qemu. Changes since v15 -Endian-ness issue fix -cleaned up unused macros -removed guest frame number(gfn) from cache entry Changes since v14 -MMIO register reading/write bug fix [Peter] -Endian-ness issue fix[Peter]

[Qemu-devel] [V16 2/4] hw/i386/trace-events: Add AMD IOMMU trace events

2016-08-13 Thread David Kiarie
Signed-off-by: David Kiarie --- hw/i386/trace-events | 29 + 1 file changed, 29 insertions(+) diff --git a/hw/i386/trace-events b/hw/i386/trace-events index b4882c1..592de3a 100644 --- a/hw/i386/trace-events +++ b/hw/i386/trace-events @@ -13,3 +13,32 @@ mhp_pc_dimm_as

[Qemu-devel] [V16 1/4] hw/pci: Prepare for AMD IOMMU

2016-08-13 Thread David Kiarie
Introduce PCI macros from for use by AMD IOMMU Signed-off-by: David Kiarie --- include/hw/pci/pci.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index 929ec2f..5ff92de 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci

[Qemu-devel] [V16 3/4] hw/i386: Introduce AMD IOMMU

2016-08-13 Thread David Kiarie
Add AMD IOMMU emulaton to Qemu in addition to Intel IOMMU. The IOMMU does basic translation, error checking and has a minimal IOTLB implementation. This IOMMU bypassed the need for target aborts by responding with IOMMU_NONE access rights and exempts the region 0xfee0-0xfeef from translatio

[Qemu-devel] [PATCH v2] fpu: add mechanism to check for invalid long double formats

2016-08-13 Thread Andrew Dutcher
The macro require_valid_floatx80(value, status) will check for malformed extended precision encodings, and if one is found, generate an invalid-operation exception and return NaN. This check has been added to the beginning of the basic 80-bit float arithmetic functions. Version 2: fix code style

Re: [Qemu-devel] [PULL 3/3] vhost-user: Attempt to fix a race with set_mem_table.

2016-08-13 Thread Michael S. Tsirkin
On Sat, Aug 13, 2016 at 02:13:46AM -0400, Marc-André Lureau wrote: > Hi > > - Original Message - > > On Fri, Aug 12, 2016 at 11:54:54AM -0400, Marc-André Lureau wrote: > > > Hi > > > > > > - Original Message - > > > > On Fri, Aug 12, 2016 at 03:20:56AM -0400, Marc-André Lureau wro

Re: [Qemu-devel] [PULL 3/3] vhost-user: Attempt to fix a race with set_mem_table.

2016-08-13 Thread Michael S. Tsirkin
On Sat, Aug 13, 2016 at 02:13:46AM -0400, Marc-André Lureau wrote: > Hi > > - Original Message - > > On Fri, Aug 12, 2016 at 11:54:54AM -0400, Marc-André Lureau wrote: > > > Hi > > > > > > - Original Message - > > > > On Fri, Aug 12, 2016 at 03:20:56AM -0400, Marc-André Lureau wro

Re: [Qemu-devel] [PULL 3/3] vhost-user: Attempt to fix a race with set_mem_table.

2016-08-13 Thread Michael S. Tsirkin
On Fri, Aug 12, 2016 at 07:16:34AM +, Prerna Saxena wrote: > > On 12/08/16 12:08 pm, "Fam Zheng" wrote: > > > > > > >On Wed, 08/10 18:30, Michael S. Tsirkin wrote: > >> From: Prerna Saxena > >> > >> The set_mem_table command currently does not seek a reply. Hence, there is > >> no easy

[Qemu-devel] [PATCH v3 RFC] block/vxhs: Initial commit to add Veritas HyperScale VxHS block device support

2016-08-13 Thread Ashish Mittal
This patch adds support for a new block device type called "vxhs". Source code for the library that this code loads can be downloaded from: https://github.com/MittalAshish/libqnio.git Sample command line with a vxhs block device specification: ./qemu-system-x86_64 -name instance-0008 -S -vnc 0

Re: [Qemu-devel] [PATCH v3 RFC] block/vxhs: Initial commit to add Veritas HyperScale VxHS block device support

2016-08-13 Thread no-reply
Hi, Your series seems to have some coding style problems. See output below for more information: Message-id: 1471149312-28148-1-git-send-email-ashish.mit...@veritas.com Subject: [Qemu-devel] [PATCH v3 RFC] block/vxhs: Initial commit to add Veritas HyperScale VxHS block device support Type: serie

Re: [Qemu-devel] [PATCH v3 RFC] block/vxhs: Initial commit to add Veritas HyperScale VxHS block device support

2016-08-13 Thread no-reply
Hi, Your 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. Message-id: 1471149312-28148-1-git-send-email-ashish.mit...@veritas.com Subject: [Qemu-devel] [PATCH v3 RFC] block/vxhs: Initi