Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-23 Thread Jan Kiszka
On 2013-09-22 11:53, Gleb Natapov wrote: On Sun, Sep 22, 2013 at 10:53:14AM +0200, Paolo Bonzini wrote: Il 22/09/2013 09:42, Gleb Natapov ha scritto: On Mon, Sep 16, 2013 at 04:06:10PM +0200, Paolo Bonzini wrote: Paul Gortmaker reported a BUG on preempt-rt kernels, due to taking the mmu_lock

Re: [PATCH V3 4/6] vhost_net: determine whether or not to use zerocopy at one time

2013-09-23 Thread Michael S. Tsirkin
On Thu, Sep 05, 2013 at 10:54:44AM +0800, Jason Wang wrote: On 09/04/2013 07:59 PM, Michael S. Tsirkin wrote: On Mon, Sep 02, 2013 at 04:40:59PM +0800, Jason Wang wrote: Currently, even if the packet length is smaller than VHOST_GOODCOPY_LEN, if upend_idx != done_idx we still set zcopy_used

Re: [PATCH 3/3] KVM: ARM: Transparent huge pages and hugetlbfs support

2013-09-23 Thread Marc Zyngier
Hi Christoffer, Finally taking some time to review this patch. Sorry for the delay... On 09/08/13 05:07, Christoffer Dall wrote: From: Christoffer Dall cd...@cs.columbia.edu Support transparent huge pages in KVM/ARM 32-bit and 64-bit. The whole transparent_hugepage_adjust stuff is far from

Re: [PATCH 1/2] KVM: Implement default IRQ routing

2013-09-23 Thread Paul Mackerras
On Sun, Sep 22, 2013 at 03:32:53PM +0300, Gleb Natapov wrote: On Tue, Sep 17, 2013 at 07:18:40PM +1000, Paul Mackerras wrote: This implements a simple way to express the case of IRQ routing where there is one in-kernel PIC and the system interrupts (GSIs) are routed 1-1 to the corresponding

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-23 Thread Paul Gortmaker
On 13-09-22 05:53 AM, Gleb Natapov wrote: On Sun, Sep 22, 2013 at 10:53:14AM +0200, Paolo Bonzini wrote: Il 22/09/2013 09:42, Gleb Natapov ha scritto: On Mon, Sep 16, 2013 at 04:06:10PM +0200, Paolo Bonzini wrote: Paul Gortmaker reported a BUG on preempt-rt kernels, due to taking the mmu_lock

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-23 Thread Paolo Bonzini
Il 23/09/2013 15:36, Paul Gortmaker ha scritto: The change is not completely trivial, it splits lock. There is no obvious problem of course, otherwise you wouldn't send it and I would ack it :), but it does not mean that the chance for problem is zero, so why risk stability of stable even

Re: [PATCH 3/3] KVM: ARM: Transparent huge pages and hugetlbfs support

2013-09-23 Thread Marc Zyngier
On 23/09/13 11:11, Marc Zyngier wrote: Hi Christoffer, Finally taking some time to review this patch. Sorry for the delay... On 09/08/13 05:07, Christoffer Dall wrote: From: Christoffer Dall cd...@cs.columbia.edu Support transparent huge pages in KVM/ARM 32-bit and 64-bit. The whole

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-23 Thread Gleb Natapov
On Mon, Sep 23, 2013 at 03:44:21PM +0200, Paolo Bonzini wrote: Il 23/09/2013 15:36, Paul Gortmaker ha scritto: The change is not completely trivial, it splits lock. There is no obvious problem of course, otherwise you wouldn't send it and I would ack it :), but it does not mean that the

Re: [PATCH 0/3] KVM: Make kvm_lock non-raw

2013-09-23 Thread Paolo Bonzini
Il 23/09/2013 16:59, Gleb Natapov ha scritto: Perfect, I'll queue [v2 of] these patches for 3.12 then. Why 3.12 if it is not going to stable? Off-by-one. :) Paolo -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 1/6] kvm: Add KVM_GET_EMULATED_CPUID

2013-09-23 Thread Eduardo Habkost
On Sun, Sep 22, 2013 at 04:44:50PM +0200, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de Add a kvm ioctl which states which system functionality kvm emulates. The format used is that of CPUID and we return the corresponding CPUID bits set for which we do emulate functionality.

Re: [PATCH 6/6] qemu: Add support for emulated CPU features

2013-09-23 Thread Eduardo Habkost
(CCing qemu-devel and libvir-list) On Sun, Sep 22, 2013 at 04:44:55PM +0200, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de Add support for the KVM_GET_EMULATED_CPUID ioctl and leave feature bits enabled, when requested by userspace, if kvm emulates them. Signed-off-by:

Re: [PATCH 1/2] KVM: Implement default IRQ routing

2013-09-23 Thread Gleb Natapov
On Mon, Sep 23, 2013 at 09:24:14PM +1000, Paul Mackerras wrote: On Sun, Sep 22, 2013 at 03:32:53PM +0300, Gleb Natapov wrote: On Tue, Sep 17, 2013 at 07:18:40PM +1000, Paul Mackerras wrote: This implements a simple way to express the case of IRQ routing where there is one in-kernel PIC

Re: [PATCH] ARM: kvm: rename cpu_reset to avoid name clash

2013-09-23 Thread Olof Johansson
Hi Christoffer, On Mon, Sep 16, 2013 at 8:47 PM, Christoffer Dall christoffer.d...@linaro.org wrote: On 16 September 2013 19:41, Olof Johansson o...@lixom.net wrote: Hi, On Wed, Sep 11, 2013 at 6:50 PM, Christoffer Dall christoffer.d...@linaro.org wrote: On Wed, Sep 11, 2013 at 03:39:26PM

Re: [PATCH] ARM: kvm: rename cpu_reset to avoid name clash

2013-09-23 Thread Russell King - ARM Linux
On Mon, Sep 23, 2013 at 12:59:44PM -0700, Olof Johansson wrote: Hi Christoffer, On Mon, Sep 16, 2013 at 8:47 PM, Christoffer Dall christoffer.d...@linaro.org wrote: On 16 September 2013 19:41, Olof Johansson o...@lixom.net wrote: Hi, On Wed, Sep 11, 2013 at 6:50 PM, Christoffer Dall

Re: [PATCH] ARM: kvm: rename cpu_reset to avoid name clash

2013-09-23 Thread Christoffer Dall
On Mon, Sep 23, 2013 at 09:30:42PM +0100, Russell King - ARM Linux wrote: On Mon, Sep 23, 2013 at 12:59:44PM -0700, Olof Johansson wrote: Hi Christoffer, On Mon, Sep 16, 2013 at 8:47 PM, Christoffer Dall christoffer.d...@linaro.org wrote: On 16 September 2013 19:41, Olof Johansson

Re: [PATCH 5/6 v7] kvm: booke: clear host tlb reference flag on guest tlb invalidation

2013-09-23 Thread Scott Wood
On Mon, 2013-09-23 at 09:12 +0530, Bharat Bhushan wrote: On booke, struct tlbe_ref contains host tlb mapping information (pfn: for guest-pfn to pfn, flags: attribute associated with this mapping) for a guest tlb entry. So when a guest creates a TLB entry then struct tlbe_ref is set to point to

Re: [PATCH 1/2] kvm/powerpc: rename kvm_hypercall() to epapr_hypercall()

2013-09-23 Thread Scott Wood
On Mon, 2013-09-23 at 10:53 +0530, Bharat Bhushan wrote: kvm_hypercall() have nothing KVM specific, so renamed to epapr_hypercall(). Also this in moved to arch/powerpc/include/asm/epapr_hcalls.h [snip] + out[0] = r4; + out[1] = r5; + out[2] = r6; + out[3] = r7; + out[4]

Re: [PATCH 1/2] kvm/powerpc: rename kvm_hypercall() to epapr_hypercall()

2013-09-23 Thread Scott Wood
On Mon, 2013-09-23 at 17:45 -0500, Scott Wood wrote: On Mon, 2013-09-23 at 10:53 +0530, Bharat Bhushan wrote: kvm_hypercall() have nothing KVM specific, so renamed to epapr_hypercall(). Also this in moved to arch/powerpc/include/asm/epapr_hcalls.h [snip] + out[0] = r4; + out[1] = r5;

Re: Experiments using perf support in arm kvm guest

2013-09-23 Thread David Ahern
[Added Gleb and kvm list] On 9/23/13 9:53 AM, William Cohen wrote: Hi All, I was curious to see how well (or poorly) perf events work in a virtualizated environment. As a little experiment I have tried building papi from the git repo in a fedora rawhide guest vm running on an Intel ivy

Re: [PATCH 1/2] KVM: Implement default IRQ routing

2013-09-23 Thread Paul Mackerras
On Sun, Sep 22, 2013 at 03:32:53PM +0300, Gleb Natapov wrote: On Tue, Sep 17, 2013 at 07:18:40PM +1000, Paul Mackerras wrote: This implements a simple way to express the case of IRQ routing where there is one in-kernel PIC and the system interrupts (GSIs) are routed 1-1 to the corresponding

Re: [PATCH 1/2] KVM: Implement default IRQ routing

2013-09-23 Thread Gleb Natapov
On Mon, Sep 23, 2013 at 09:24:14PM +1000, Paul Mackerras wrote: On Sun, Sep 22, 2013 at 03:32:53PM +0300, Gleb Natapov wrote: On Tue, Sep 17, 2013 at 07:18:40PM +1000, Paul Mackerras wrote: This implements a simple way to express the case of IRQ routing where there is one in-kernel PIC

Re: [PATCH 5/6 v7] kvm: booke: clear host tlb reference flag on guest tlb invalidation

2013-09-23 Thread Scott Wood
On Mon, 2013-09-23 at 09:12 +0530, Bharat Bhushan wrote: On booke, struct tlbe_ref contains host tlb mapping information (pfn: for guest-pfn to pfn, flags: attribute associated with this mapping) for a guest tlb entry. So when a guest creates a TLB entry then struct tlbe_ref is set to point to

Re: [PATCH 1/2] kvm/powerpc: rename kvm_hypercall() to epapr_hypercall()

2013-09-23 Thread Scott Wood
On Mon, 2013-09-23 at 10:53 +0530, Bharat Bhushan wrote: kvm_hypercall() have nothing KVM specific, so renamed to epapr_hypercall(). Also this in moved to arch/powerpc/include/asm/epapr_hcalls.h [snip] + out[0] = r4; + out[1] = r5; + out[2] = r6; + out[3] = r7; + out[4]

Re: [PATCH 1/2] kvm/powerpc: rename kvm_hypercall() to epapr_hypercall()

2013-09-23 Thread Scott Wood
On Mon, 2013-09-23 at 17:45 -0500, Scott Wood wrote: On Mon, 2013-09-23 at 10:53 +0530, Bharat Bhushan wrote: kvm_hypercall() have nothing KVM specific, so renamed to epapr_hypercall(). Also this in moved to arch/powerpc/include/asm/epapr_hcalls.h [snip] + out[0] = r4; + out[1] = r5;