Re: [PATCH] KVM: x86: Keep masked bits unmodified on kvm_set_shared_msr

2014-08-22 Thread Nadav Amit
On Aug 22, 2014, at 7:13 AM, Wanpeng Li wanpeng...@linux.intel.com wrote: Hi Paolo, On Thu, Aug 21, 2014 at 01:56:46PM +0200, Paolo Bonzini wrote: Il 21/08/2014 10:05, Wanpeng Li ha scritto: Hi Nadav, On Wed, Aug 20, 2014 at 03:11:51PM +0300, Nadav Amit wrote: Currently, when an msr is

Re: [question] one vhost kthread servers mulitiple tx/rx queues which blong to one virtio-net device

2014-08-22 Thread Jason Wang
On 08/22/2014 10:30 AM, Zhang Haoyu wrote: Hi, Krishna, Shirley How got get the latest patch of M:N Implementation of mulitiqueue, I am going to test the the combination of M:N Implementation of mulitiqueue and vhost: add polling mode. Thanks, Zhang Haoyu Just FYI. You may refer

Re: [PATCH v6 2/2] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-22 Thread Paolo Bonzini
Il 22/08/2014 01:30, Wanpeng Li ha scritto: Maybe I misunderstand your comments On real hardware you could point the virtual-APIC page to an invalid address. http://lists.openwall.net/linux-kernel/2014/08/07/344 That referred to an address that doesn't correspond to RAM. You can use

Re: [PATCH v6 2/2] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-22 Thread Wanpeng Li
On Fri, Aug 22, 2014 at 10:36:07AM +0200, Paolo Bonzini wrote: Il 22/08/2014 01:30, Wanpeng Li ha scritto: Maybe I misunderstand your comments On real hardware you could point the virtual-APIC page to an invalid address. http://lists.openwall.net/linux-kernel/2014/08/07/344 That referred to

Re: Nested paging in nested SVM setup

2014-08-22 Thread Paolo Bonzini
Il 22/08/2014 06:33, Valentine Sinitsyn ha scritto: On 22.08.2014 02:31, Paolo Bonzini wrote: VMX used the right access size already, the tests are separate for VMX and SVM. Sure. So the bug is NPT-specific? Looks like that, yes. Paolo -- To unsubscribe from this list: send the line

[RFC 2/5] vfio: platform: decouple code probing devices from the platform bus

2014-08-22 Thread Antonios Motakis
Hide functionality related to discovering Linux platform device resources in separate callback functions. This will allow us to implement AMBA support while reusing a lot of the code. Signed-off-by: Antonios Motakis a.mota...@virtualopensystems.com --- drivers/vfio/platform/vfio_platform.c

[RFC 1/5] driver core: amba: add device binding path 'driver_override'

2014-08-22 Thread Antonios Motakis
As already demonstrated with PCI [1] and the platform bus [2], a driver_override property in sysfs can be used to bypass the id matching of a device to a AMBA driver. This can be used by VFIO to bind to any AMBA device requested by the user. [1]

[RFC 0/5] vfio: AMBA devices support

2014-08-22 Thread Antonios Motakis
This patch series depends on the VFIO for PLATFORM devices patch series, and implements AMBA device support for VFIO. This can be used for example with the PL330 DMA Controller, which is an AMBA device and not a proper platform device. By using the VFIO AMBA driver introduced here, one can bind

[RFC 4/5] vfio: amba: VFIO support for AMBA devices

2014-08-22 Thread Antonios Motakis
Add support for discovering AMBA devices with VFIO and handle them similarly to Linux platform devices. Signed-off-by: Antonios Motakis a.mota...@virtualopensystems.com --- drivers/vfio/platform/vfio_amba.c | 129 ++ 1 file changed, 129 insertions(+) create

[RFC 3/5] vfio: platform: move code that can be shared with AMBA to a common file

2014-08-22 Thread Antonios Motakis
Having decoupled a portion of the VFIO_PLATFORM code from platform bus specific resource discovery code, we can now move that code separate file. This will allow us to implement discovering AMBA devices and their resources, but reuse the a large part of the VFIO_PLATFORM implementation.

[RFC 5/5] vfio: amba: add the VFIO for AMBA devices module to Kconfig

2014-08-22 Thread Antonios Motakis
Enable building the VFIO AMBA driver. VFIO_AMBA depends on VFIO_PLATFORM, since it is sharing a portion of the code, and it is essentially implemented as a platform device whose resources are discovered via AMBA specific APIs in the kernel. Signed-off-by: Antonios Motakis

Re: [PATCH] vhost: Add polling mode

2014-08-22 Thread Zhang Haoyu
Results: Netperf, 1 vm: The polling patch improved throughput by ~33% (1516 MB/sec - 2046 MB/sec). Number of exits/sec decreased 6x. The same improvement was shown when I tested with 3 vms running netperf (4086 MB/sec - 5545 MB/sec). filebench, 1 vm: ops/sec improved by

Re: [PATCH] vhost: Add polling mode

2014-08-22 Thread Zhang Haoyu
Results: Netperf, 1 vm: The polling patch improved throughput by ~33% (1516 MB/sec - 2046 MB/sec). Number of exits/sec decreased 6x. The same improvement was shown when I tested with 3 vms running netperf (4086 MB/sec - 5545 MB/sec). filebench, 1 vm: ops/sec improved by

Re: [PATCH v7 00/14] kvm-unit-tests/arm: initial drop

2014-08-22 Thread Paolo Bonzini
Il 16/07/2014 10:47, Andrew Jones ha scritto: These patches (v7) are also available from a git repo here https://github.com/rhdrjones/kvm-unit-tests/commits/arm/v7-initial-drop Thanks, I pulled from here -- it's not yet on kernel.org, but it should get there on Monday. Paolo -- To unsubscribe