[Qemu-devel] [PATCH] fixup! tcg/mips: Make direct jump patching thread-safe

2016-05-01 Thread Sergey Fedorov
From: Sergey Fedorov Signed-off-by: Sergey Fedorov Signed-off-by: Sergey Fedorov --- tcg/mips/tcg-target.inc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/mips/tcg-target.inc.c b/tcg/mips/tcg-target.inc.c index b0440b9c5a79..b514cd7114d2 100644 --- a/tcg/mips/tcg-t

Re: [Qemu-devel] [PATCH 11/18] vhost-user: add shutdown support

2016-05-01 Thread Yuanhan Liu
On Sun, May 01, 2016 at 02:37:19PM +0300, Michael S. Tsirkin wrote: > On Fri, Apr 29, 2016 at 10:48:35AM -0700, Yuanhan Liu wrote: > > > But, I > > > would worry first about a backend that crashes that it may corrupt the > > > VM memory too... > > > > Not quite sure I follow this. But, backend jus

Re: [Qemu-devel] [V9 1/4] hw/i386: Introduce AMD IOMMU

2016-05-01 Thread Michael S. Tsirkin
On Sat, Apr 30, 2016 at 01:42:40AM +0300, David Kiarie wrote: > Add AMD IOMMU emulaton to Qemu in addition to Intel IOMMU > The IOMMU does basic translation, error checking and has a > minimal IOTLB implementation > > Signed-off-by: David Kiarie > --- > hw/i386/Makefile.objs |1 + > hw/i386/

Re: [Qemu-devel] [V9 0/4] AMD IOMMU

2016-05-01 Thread Michael S. Tsirkin
On Sun, May 01, 2016 at 04:47:44PM +0300, Michael S. Tsirkin wrote: > On Sat, Apr 30, 2016 at 01:42:39AM +0300, David Kiarie wrote: > > These series adds AMD IOMMU support to Qemu. It's currently in the 9th > > version. > > > > In this series I have (hopefully) addressed all the comments made in

Re: [Qemu-devel] [V9 0/4] AMD IOMMU

2016-05-01 Thread Michael S. Tsirkin
On Sat, Apr 30, 2016 at 01:42:39AM +0300, David Kiarie wrote: > These series adds AMD IOMMU support to Qemu. It's currently in the 9th > version. > > In this series I have (hopefully) addressed all the comments made in the > previous version. changelog? > I have also tested and successfully pa

Re: [Qemu-devel] [V9 2/4] hw/i386: ACPI table for AMD IOMMU

2016-05-01 Thread Michael S. Tsirkin
On Sat, Apr 30, 2016 at 01:42:41AM +0300, David Kiarie wrote: > Add IVRS table for AMD IOMMU. Generate IVRS or DMAR > depending on emulated IOMMU > > Signed-off-by: David Kiarie > --- > hw/acpi/aml-build.c | 2 +- > hw/acpi/core.c | 13 --- > hw/i386/acpi-build.c

[Qemu-devel] [PULL 0/1] acpi: last minute fix for 2.6

2016-05-01 Thread Michael S. Tsirkin
The following changes since commit 47dac82d8b013a5c7dd044a797ae6727b553959a: Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2016-04-29 12:12:33 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

[Qemu-devel] [PULL 1/1] acpi: fix bios linker loadder COMMAND_ALLOCATE on bigendian host

2016-05-01 Thread Michael S. Tsirkin
From: Igor Mammedov 'make check' fails with: ERROR:tests/bios-tables-test.c:493:load_expected_aml: assertion failed: (g_file_test(aml_file, G_FILE_TEST_EXISTS)) since commit: caf50c7166a6ed96c462ab5db4b495e1234e4cc6 tests: pc: acpi: drop not needed 'expected SSDT' blobs Assert happens becau

[Qemu-devel] [Bug 1202289] Re: Windows 2008/7 Guest to Guest Very slow 10-20Mbit/s

2016-05-01 Thread Ingo Krabbe
I'm not sure yet, but I think the TSO problem affects much more setups, not only windows guests. You might try to set GSO to off in windows guests too, if there is such an option (GSO might be a linux kernel feature). I currently think that we have similar problems with centos7 hosts and guests as

[Qemu-devel] TCP Segementation Offloading

2016-05-01 Thread Ingo Krabbe
Good Mayday Qemu Developers, today I tried to find a reference to a networking problem, that seems to be of quite general nature: TCP Segmentation Offloading (TSO) in virtual environments. When I setup TAP network adapter for a virtual machine and put it into a host bridge, the known best pract

Re: [Qemu-devel] [PATCH 11/18] vhost-user: add shutdown support

2016-05-01 Thread Michael S. Tsirkin
On Fri, Apr 29, 2016 at 10:48:35AM -0700, Yuanhan Liu wrote: > > But, I > > would worry first about a backend that crashes that it may corrupt the > > VM memory too... > > Not quite sure I follow this. But, backend just touches the virtio > related memory, so it will do no harm to the VM? It cras

Re: [Qemu-devel] [PATCH V2 RFC] fixup! virtio: convert to use DMA api

2016-05-01 Thread Michael S. Tsirkin
On Thu, Apr 28, 2016 at 04:48:25PM +0100, David Woodhouse wrote: > On Thu, 2016-04-28 at 18:37 +0300, Michael S. Tsirkin wrote: > > OK, so for intel, it seems that it's enough to set > > pdev->dev.archdata.iommu = DUMMY_DEVICE_DOMAIN_INFO; > > for the device. > > Yes, currently. Although that'

Re: [Qemu-devel] [PATCH v3 for-2.6 3/5] virtio: Mark host notifiers as external

2016-05-01 Thread Michael S. Tsirkin
On Sun, May 01, 2016 at 11:15:10AM +0300, Michael S. Tsirkin wrote: > On Fri, Apr 22, 2016 at 09:53:54PM +0800, Fam Zheng wrote: > > The effect of this change is the block layer drained section can work, > > for example when mirror job is being completed. > > > > Signed-off-by: Fam Zheng > > Thi

Re: [Qemu-devel] [V9 3/4] hw/core: Add AMD IOMMU to machine properties

2016-05-01 Thread Marcel Apfelbaum
On 04/30/2016 01:42 AM, David Kiarie wrote: Added an enum, subject to review, to machine properties which it used to override iommu emulated from Intel to AMD. Signed-off-by: David Kiarie --- hw/core/machine.c | 33 ++--- include/hw/boards.h

Re: [Qemu-devel] [V9 4/4] hw/pci-host: Emulate AMD IOMMU

2016-05-01 Thread Marcel Apfelbaum
On 04/30/2016 01:42 AM, David Kiarie wrote: Add AMD IOMMU emulation support to q35 chipset Signed-off-by: David Kiarie --- hw/pci-host/q35.c | 25 ++--- include/hw/i386/intel_iommu.h | 2 +- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/hw/

Re: [Qemu-devel] [PATCH v2 4/5] test: Postcopy

2016-05-01 Thread Marcel Apfelbaum
Hi David, On 04/29/2016 05:47 PM, Dr. David Alan Gilbert (git) wrote: From: "Dr. David Alan Gilbert" This is a postcopy test (x86 only) that actually runs the guest and checks the memory contents. The test runs from an x86 boot block with the hex embedded in the test; the source for this is:

Re: [Qemu-devel] [PATCH v2 5/5] tests: fix libqtest socket timeouts

2016-05-01 Thread Marcel Apfelbaum
On 04/29/2016 05:47 PM, Dr. David Alan Gilbert (git) wrote: From: Andrea Arcangeli I kept getting timeouts and unix socket accept failures under high load, the patch fixes it. Signed-off-by: Andrea Arcangeli --- tests/libqtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [Qemu-devel] [PATCH for-2.6] acpi: fix bios linker loadder COMMAND_ALLOCATE on bigendian host

2016-05-01 Thread Marcel Apfelbaum
On 04/29/2016 03:44 PM, Igor Mammedov wrote: 'make check' fails with: ERROR:tests/bios-tables-test.c:493:load_expected_aml: assertion failed: (g_file_test(aml_file, G_FILE_TEST_EXISTS)) since commit: caf50c7166a6ed96c462ab5db4b495e1234e4cc6 tests: pc: acpi: drop not needed 'expected SSDT' b