Re: [PATCH 1/2] kvm/x86: Hyper-V based guest crash data handling

2015-06-12 Thread Peter Hornyack
Hi Denis, Andrey, I have a few comments and questions. (re-sending in plain-text mode, apologies for sending twice.) On Thu, Jun 11, 2015 at 6:18 AM, Denis V. Lunev wrote: > From: Andrey Smetanin > > Windows 2012 guests can notify hypervisor about occurred guest crash > (Windows bugcheck(BSOD))

[PATCH 2/2] arm64: KVM: Add VCPU support for Qualcomm Technologies Kryo ARMv8 CPU

2015-06-12 Thread Timur Tabi
From: Shanker Donthineni This patch enables assignment of 32/64bit guest VCPU to Qualcomm Technologies ARMv8 CPU. Added KVM_ARM_TARGET_QCOM_KRYO to the KVM target list and modified vm_target_cpu() to return KVM_ARM_TARGET_QCOM_KRYO when CPU running in AArch64 mode. Signed-off-by: Shanker Donthin

[PATCH 1/2] arm64: qcom: Add define for ARMv8 implementer (MIDR)

2015-06-12 Thread Timur Tabi
From: Shanker Donthineni This patch adds define for Qualcomm Technologies ARMv8 CPU implementer ID 0x51 and part number for Kryo in asm/cputype.h. Signed-off-by: Shanker Donthineni Signed-off-by: Timur Tabi --- arch/arm64/include/asm/cputype.h | 4 1 file changed, 4 insertions(+) diff -

Re: [v4 08/16] KVM: kvm-vfio: User API for IRQ forwarding

2015-06-12 Thread Alex Williamson
On Fri, 2015-06-12 at 21:48 +0300, Avi Kivity wrote: > On 06/12/2015 06:41 PM, Alex Williamson wrote: > > On Fri, 2015-06-12 at 00:23 +, Wu, Feng wrote: > >>> -Original Message- > >>> From: Avi Kivity [mailto:avi.kiv...@gmail.com] > >>> Sent: Friday, June 12, 2015 3:59 AM > >>> To: Wu,

Re: [v4 08/16] KVM: kvm-vfio: User API for IRQ forwarding

2015-06-12 Thread Avi Kivity
On 06/12/2015 06:41 PM, Alex Williamson wrote: On Fri, 2015-06-12 at 00:23 +, Wu, Feng wrote: -Original Message- From: Avi Kivity [mailto:avi.kiv...@gmail.com] Sent: Friday, June 12, 2015 3:59 AM To: Wu, Feng; kvm@vger.kernel.org; linux-ker...@vger.kernel.org Cc: pbonz...@redhat.com;

Re: [PATCH 05/13] KVM: arm64: handle ITS related GICv3 redistributor registers

2015-06-12 Thread Andre Przywara
Hi Eric, On 06/09/2015 09:52 AM, Eric Auger wrote: > On 05/29/2015 11:53 AM, Andre Przywara wrote: >> In the GICv3 redistributor there are the PENDBASER and PROPBASER >> registers which we did not emulate so far, as they only make sense >> when having an ITS. In preparation for that emulate those

Re: [PATCH 13/13] KVM: arm64: enable ITS emulation as a virtual MSI controller

2015-06-12 Thread Eric Auger
On 05/29/2015 11:53 AM, Andre Przywara wrote: > If userspace has provided a base address for the ITS register frame, > we enable the bits that advertise LPIs in the GICv3. > When the guest has enabled LPIs and the ITS, we enable the emulation > part by initializing the ITS data structures and trapp

Re: [v4 08/16] KVM: kvm-vfio: User API for IRQ forwarding

2015-06-12 Thread Alex Williamson
On Fri, 2015-06-12 at 00:23 +, Wu, Feng wrote: > > > -Original Message- > > From: Avi Kivity [mailto:avi.kiv...@gmail.com] > > Sent: Friday, June 12, 2015 3:59 AM > > To: Wu, Feng; kvm@vger.kernel.org; linux-ker...@vger.kernel.org > > Cc: pbonz...@redhat.com; mtosa...@redhat.com; > > a

Re: [PATCH 11/13] KVM: arm64: implement ITS command queue command handlers

2015-06-12 Thread Eric Auger
Hi Andre On 05/29/2015 11:53 AM, Andre Przywara wrote: > The connection between a device, an event ID, the LPI number and the > allocated CPU is stored in in-memory tables in a GICv3, but their > format is not specified by the spec. Instead software uses a command > queue to let the ITS implementat

Re: [v4 12/16] KVM: kvm-vfio: implement the VFIO skeleton for VT-d Posted-Interrupts

2015-06-12 Thread Alex Williamson
On Fri, 2015-06-12 at 04:54 +, Wu, Feng wrote: > > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Friday, June 12, 2015 1:15 AM > > To: Wu, Feng > > Cc: kvm@vger.kernel.org; linux-ker...@vger.kernel.org; pbonz...@redhat.com; > > mtosa...

Re: [PATCH] kvm: x86: fix kvm_apic_has_events to check for NULL pointer

2015-06-12 Thread Josh Boyer
On Thu, Jun 4, 2015 at 4:18 AM, Paolo Bonzini wrote: > Malicious (or egregiously buggy) userspace can trigger it, but it > should never happen in normal operation. > > Signed-off-by: Paolo Bonzini This should probably be backported to the stable trees, right? josh > --- > arch/x86/kvm/lapic.h

Re: [PATCH 1/2] KVM: MMU: fix SMAP virtualization

2015-06-12 Thread Luis Henriques
On Mon, Jun 08, 2015 at 10:14:49PM -0700, Vinson Lee wrote: > On Tue, May 26, 2015 at 7:53 PM, Xiao Guangrong > wrote: > > > > > > On 05/26/2015 10:48 PM, Paolo Bonzini wrote: > >> > >> > >> > >> On 26/05/2015 16:45, Edward Cree wrote: > > > > This breaks older compilers that can't initial

Re: [PATCH] MIPS: KVM: do not sign extend on unsigned MMIO load

2015-06-12 Thread Luis Henriques
On Mon, Jun 08, 2015 at 09:33:50AM +0100, James Hogan wrote: > Hi stable folk, > > On 08/05/15 15:16, James Hogan wrote: > > On 07/05/15 13:47, Nicholas Mc Guire wrote: > >> Fix possible unintended sign extension in unsigned MMIO loads by casting > >> to uint16_t in the case of mmio_needed != 2. >

[Bug 99861] KVM: Linux host warns "user requested TSC rate below hardware speed" on the Baytrail-I platform when start a guest

2015-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=99861 Lan Tianyu changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|virtualization_k