Re: [PATCH v2 6/8] arm/arm64: KVM: Add forwarded physical interrupts documentation

2015-09-09 Thread Eric Auger
Salut Andre, On 09/09/2015 10:49 AM, Christoffer Dall wrote: > On Tue, Sep 8, 2015 at 6:57 PM, Andre Przywara wrote: >> Hi Eric, >> >> thanks for you answer. >> >> On 08/09/15 09:43, Eric Auger wrote: >>> Hi Andre, >>> On 09/07/2015 01:25 PM, Andre Przywara wrote: Hi,

[RFC PATCH v4 3/3] vfio: platform: return device properties as arrays of unsigned integers

2015-09-09 Thread Baptiste Reynal
From: Antonios Motakis Certain properties of a device are accessible as an array of unsigned integers, either u64, u32, u16, or u8. Let the VFIO user query this type of device properties. Signed-off-by: Antonios Motakis

[PATCH v2 3/8] KVM: VMX: drop rdtscp_enabled check in prepare_vmcs02()

2015-09-09 Thread Xiao Guangrong
SECONDARY_EXEC_RDTSCP set for L2 guest comes from vmcs12 Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 073cbc8..61d44b0 100644 ---

[PATCH v2 4/8] KVM: VMX: simplify rdtscp handling in vmx_cpuid_update()

2015-09-09 Thread Xiao Guangrong
if vmx_rdtscp_supported() is true SECONDARY_EXEC_RDTSCP must have already been set in current vmcs by vmx_secondary_exec_control() Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff

[PATCH v2 6/8] KVM: VMX: unify SECONDARY_VM_EXEC_CONTROL update

2015-09-09 Thread Xiao Guangrong
Unify the update in vmx_cpuid_update() Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 97e3340..5a074d0 100644 ---

[PATCH v2 8/8] KVM: VMX: drop rdtscp_enabled field

2015-09-09 Thread Xiao Guangrong
Check cpuid bit instead of it Signed-off-by: Xiao Guangrong --- arch/x86/kvm/cpuid.h | 8 arch/x86/kvm/vmx.c | 19 ++- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/arch/x86/kvm/cpuid.h b/arch/x86/kvm/cpuid.h index

[PATCH v2 0/8] KVM: x86: enable cflushopt/clwb/pcommit and simplify code

2015-09-09 Thread Xiao Guangrong
Changelog: Thanks for Paolo's review, there are the changes in v2: - use WARN_ON(1) instead of BUG() if PCOMMIT-exit happend for L1 guest - drop set_clear_2nd_exec_ctrl() and use vmcs_{set,clear}_bits instead - improve commit log and adjust code style This pachset enables clfushopt, clwb and

[PATCH v2 2/8] KVM: x86: add pcommit support

2015-09-09 Thread Xiao Guangrong
Pass PCOMMIT CPU feature to guest to enable PCOMMIT instruction Currently we do not catch pcommit instruction for L1 guest and allow L1 to catch this instruction for L2 if, as required by the spec, L1 can enumerate the PCOMMIT instruction via CPUID: | IA32_VMX_PROCBASED_CTLS2[53] (which

Re: [PATCH v2 6/8] arm/arm64: KVM: Add forwarded physical interrupts documentation

2015-09-09 Thread Christoffer Dall
On Tue, Sep 8, 2015 at 6:57 PM, Andre Przywara wrote: > Hi Eric, > > thanks for you answer. > > On 08/09/15 09:43, Eric Auger wrote: >> Hi Andre, >> On 09/07/2015 01:25 PM, Andre Przywara wrote: >>> Hi, >>> >>> firstly: this text is really great, thanks for coming up with

[RFC PATCH v4 1/3] vfio: platform: add device properties skeleton and user API

2015-09-09 Thread Baptiste Reynal
From: Antonios Motakis This patch introduces an API that allows to return device properties (OF or ACPI) of a device bound to the vfio-platform/vfio-amba driver and the skeleton of the implementation for VFIO_PLATFORM. Information about any device node bound by

[PATCH v2 1/8] KVM: x86: allow guest to use cflushopt and clwb

2015-09-09 Thread Xiao Guangrong
Pass these CPU features to guest to enable them in guest They are needed by nvdimm drivers Signed-off-by: Xiao Guangrong --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c

[Bug 104271] New: Boot crashes on Lenovo W520 KVM and Discrete Graphic enabled in BIOS

2015-09-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104271 Bug ID: 104271 Summary: Boot crashes on Lenovo W520 KVM and Discrete Graphic enabled in BIOS Product: Virtualization Version: unspecified Kernel Version: 4.1.6

Cher utilisateur de messagerie Web.

2015-09-09 Thread Lillie Phillips
Cher utilisateur de messagerie Web. Nous avons un problème technique, nous notre base de date pour le moment. vous êtes au CLIQUEZ ICI pour vous reconfirmer web compte de messagerie une fois de plus. Help desk -- To unsubscribe from this list: send the

[PULL] vhost: cleanups and fixes

2015-09-09 Thread Michael S. Tsirkin
The following changes since commit 64291f7db5bd8150a74ad2036f1037e6a0428df2: Linux 4.2 (2015-08-30 11:34:09 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to

[Bug 104271] Boot crashes on Lenovo W520 with KVM and Discrete Graphic enabled in BIOS

2015-09-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104271 Hans Streibel changed: What|Removed |Added Summary|Boot crashes on Lenovo W520 |Boot crashes on

[PATCH v2 5/8] KVM: VMX: simplify invpcid handling in vmx_cpuid_update()

2015-09-09 Thread Xiao Guangrong
If vmx_invpcid_supported() is true, second execution control filed must be supported and SECONDARY_EXEC_ENABLE_INVPCID must have already been set in current vmcs by vmx_secondary_exec_control() If vmx_invpcid_supported() is false, no need to clear SECONDARY_EXEC_ENABLE_INVPCID Signed-off-by:

[PATCH v2 7/8] KVM: VMX: clean up bit operation on SECONDARY_VM_EXEC_CONTROL

2015-09-09 Thread Xiao Guangrong
Use vmcs_set_bits() and vmcs_clear_bits() to clean up the code Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 31 --- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index

[RFC PATCH v4 2/3] vfio: platform: access device property as a list of strings

2015-09-09 Thread Baptiste Reynal
From: Antonios Motakis Certain device properties (e.g. the device node name, the compatible string), are available as a list of strings (separated by the null terminating character). Let the VFIO user query this type of properties. Signed-off-by: Antonios

Re: [PATCH v3 07/10] KVM: arm/arm64: vgic: Allow HW interrupts for non-shared devices

2015-09-09 Thread Eric Auger
Hi Christoffer, On 09/02/2015 09:42 PM, Christoffer Dall wrote: > On Mon, Aug 10, 2015 at 03:21:01PM +0200, Eric Auger wrote: >> From: Marc Zyngier >> >> So far, the only use of the HW interrupt facility was the timer, >> implying that the active state is context-switched

KVM call for agenda for 2015-09-15

2015-09-09 Thread Juan Quintela
Hi Please, send any topic that you are interested in covering. At the end of Monday I will send an email with the agenda or the cancellation of the call, so hurry up. After discussions on the QEMU Summit, we are going to have always open a KVM call where you can add topics. Call details: By

Re: Who wants to mentor for Outreachy Dec-Mar?

2015-09-09 Thread Michal Privoznik
On 09.09.2015 12:28, Stefan Hajnoczi wrote: > We are now looking for mentors for the next round of Outreachy running > from December 7, 2015 to March 7, 2016. I have set up a wiki page > here: > http://qemu-project.org/Outreachy_2015_DecemberMarch I've copied over unused projects from GSoC which

RE: [PATCH v3 2/5] KVM: arm64: Implement vGICv3 distributor and redistributor access from userspace

2015-09-09 Thread Pavel Fedin
Hello Andre! I haven't heard from you on any of my questions. But, nevertheless, i would like to inform you (and other interested people) that i'm leaving on vacation, and will be back 2 weeks later. Just in case if someone writes me something and i don't reply. Kind regards, Pavel Fedin

Who wants to mentor for Outreachy Dec-Mar?

2015-09-09 Thread Stefan Hajnoczi
We are now looking for mentors for the next round of Outreachy running from December 7, 2015 to March 7, 2016. I have set up a wiki page here: http://qemu-project.org/Outreachy_2015_DecemberMarch Our communities have participated in previous years to mentor people from underrepresented groups

Re: Who wants to mentor for Outreachy Dec-Mar?

2015-09-09 Thread Stefan Hajnoczi
On Wed, Sep 9, 2015 at 12:59 PM, Michal Privoznik wrote: > On 09.09.2015 12:28, Stefan Hajnoczi wrote: >> We are now looking for mentors for the next round of Outreachy running >> from December 7, 2015 to March 7, 2016. I have set up a wiki page >> here: >>

Re: [PATCH v7 0/3] KVM: Dynamic Halt-Polling

2015-09-09 Thread Christian Borntraeger
Am 03.09.2015 um 16:07 schrieb Wanpeng Li: > v6 -> v7: > * explicit signal (set a bool) > * fix the tracepoint > > v5 -> v6: > * fix wait_ns and poll_ns > > v4 -> v5: > * set base case 10us and max poll time 500us > * handle short/long halt, idea from David, many thanks David > > v3 ->

[Bug 104271] Boot crashes on Lenovo W520 with KVM and Discrete Graphic enabled in BIOS

2015-09-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104271 Huaitong Han changed: What|Removed |Added CC||oen...@gmail.com ---

Re: [PATCH] powerpc/e500: move qemu machine spec together with the rest

2015-09-09 Thread Scott Wood
On Fri, 2015-09-04 at 15:46 +0300, Laurentiu Tudor wrote: > This way we get rid of an entire file with mostly > duplicated code plus a Kconfig option that you always > had to take care to check it in order for kvm to work. > > Signed-off-by: Laurentiu Tudor > --- >

Re: [PATCH v7 0/3] KVM: Dynamic Halt-Polling

2015-09-09 Thread Wanpeng Li
On 9/9/15 9:39 PM, Christian Borntraeger wrote: Am 03.09.2015 um 16:07 schrieb Wanpeng Li: v6 -> v7: * explicit signal (set a bool) * fix the tracepoint v5 -> v6: * fix wait_ns and poll_ns v4 -> v5: * set base case 10us and max poll time 500us * handle short/long halt, idea from

Re: [PATCH] kvmtool Makefile: relax arm test

2015-09-09 Thread Riku Voipio
On 4 September 2015 at 14:06, Andre Przywara wrote: > Hi Riku, > > On 04/09/15 11:52, Riku Voipio wrote: >> On 4 September 2015 at 13:10, Andre Przywara wrote: >>> Hi Riku, >>> >>> On 03/09/15 12:20, riku.voi...@linaro.org wrote: From: Riku

Re: [RFC PATCH v4 1/3] vfio: platform: add device properties skeleton and user API

2015-09-09 Thread Alex Williamson
On Wed, 2015-09-09 at 11:17 +0200, Baptiste Reynal wrote: > From: Antonios Motakis > > This patch introduces an API that allows to return device properties (OF > or ACPI) of a device bound to the vfio-platform/vfio-amba driver and the > skeleton of the

Re: [RFC PATCH v4 2/3] vfio: platform: access device property as a list of strings

2015-09-09 Thread Alex Williamson
On Wed, 2015-09-09 at 11:17 +0200, Baptiste Reynal wrote: > From: Antonios Motakis > > Certain device properties (e.g. the device node name, the compatible > string), are available as a list of strings (separated by the null > terminating character). Let the

Re: [RFC PATCH v4 3/3] vfio: platform: return device properties as arrays of unsigned integers

2015-09-09 Thread Alex Williamson
On Wed, 2015-09-09 at 11:17 +0200, Baptiste Reynal wrote: > From: Antonios Motakis > > Certain properties of a device are accessible as an array of unsigned > integers, either u64, u32, u16, or u8. Let the VFIO user query this > type of device properties. > >

[Bug 104271] Boot crashes on Lenovo W520 with KVM and Discrete Graphic enabled in BIOS

2015-09-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104271 --- Comment #2 from Hans Streibel --- Yes, it works on Windows 7. I did not recognize any problems there. Ok, I did not try any virtualization like Virtual Box under Windows, but everything else seems to work. Even if it

[Bug 104271] Boot crashes on Lenovo W520 with KVM and Discrete Graphic enabled in BIOS

2015-09-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104271 Alex Williamson changed: What|Removed |Added CC|

Re: [PATCH v4 3/4] irqchip: GIC: Convert to EOImode == 1

2015-09-09 Thread Julien Grall
Hi, I've been trying the latest linus/master (a794b4f), which include this patch, as baremetal kernel on X-gene. This is failing on early boot without much log. After bisecting the tree, I found the error coming from this patch. While this patch is valid, it made me remembered that X-Gene (at