Re: [RFC PATCH 1/2] Hyper-H reference counter

2013-05-15 Thread Vadim Rozenfeld
On Tue, 2013-05-14 at 16:14 +0200, Peter Lieven wrote: On 13.05.2013 13:45, Vadim Rozenfeld wrote: Signed-off: Peter Lieven p...@dlh.net Signed-off: Gleb Natapov g...@redhat.com Signed-off: Vadim Rozenfeld vroze...@redhat.com The following patch allows to activate Hyper-V reference

Re: Xen as L1 support

2013-05-15 Thread Paolo Bonzini
Il 15/05/2013 03:24, Ren, Yongjie ha scritto: -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Alex Palesandro Sent: Tuesday, May 14, 2013 10:51 PM To: kvm@vger.kernel.org Subject: Fwd: Xen as L1 support Hi, I'm new to KVM. I'm

Re: [PATCH 2/2] KVM/MIPS32: Wrap calls to gfn_to_pfn() with srcu_read_lock/unlock()

2013-05-15 Thread Sanjay Lal
On May 14, 2013, at 2:27 AM, Gleb Natapov wrote: +EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */ + What you need this for? It is not used anywhere in this patch and by mips/kvm code in general. I did some digging around myself, since the

Re: [PATCH 2/2] KVM/MIPS32: Wrap calls to gfn_to_pfn() with srcu_read_lock/unlock()

2013-05-15 Thread David Daney
On 05/15/2013 08:54 AM, Sanjay Lal wrote: On May 14, 2013, at 2:27 AM, Gleb Natapov wrote: +EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */ + What you need this for? It is not used anywhere in this patch and by mips/kvm code in general. I did

[PATCH] KVM: take over co-maintainership from Marcelo, fix MAINTAINERS entry

2013-05-15 Thread Paolo Bonzini
As announced last week by Marcelo Tosatti, I will be co-maintaining KVM together with Gleb. Cc: Marcelo Tosatti mtosa...@redhat.com Cc: Gleb Natapov g...@redhat.com Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- MAINTAINERS | 7 --- 1 file changed, 4

Re: [PATCH 2/2] KVM/MIPS32: Wrap calls to gfn_to_pfn() with srcu_read_lock/unlock()

2013-05-15 Thread Gleb Natapov
On Wed, May 15, 2013 at 09:54:24AM -0700, David Daney wrote: On 05/15/2013 08:54 AM, Sanjay Lal wrote: On May 14, 2013, at 2:27 AM, Gleb Natapov wrote: +EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */ + What you need this for? It is not

Re: KVM: x86: limit difference between kvmclock updates

2013-05-15 Thread Gleb Natapov
On Tue, May 14, 2013 at 10:12:57AM -0300, Marcelo Tosatti wrote: On Tue, May 14, 2013 at 12:05:13PM +0300, Gleb Natapov wrote: On Thu, May 09, 2013 at 08:21:41PM -0300, Marcelo Tosatti wrote: kvmclock updates which are isolated to a given vcpu, such as vcpu-cpu migration, should not

Re: Xen as L1 support

2013-05-15 Thread Jan Kiszka
On 2013-05-15 16:59, Paolo Bonzini wrote: Il 15/05/2013 03:24, Ren, Yongjie ha scritto: -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Alex Palesandro Sent: Tuesday, May 14, 2013 10:51 PM To: kvm@vger.kernel.org Subject: Fwd: Xen

Re: Xen as L1 support

2013-05-15 Thread Gleb Natapov
On Wed, May 15, 2013 at 04:59:24PM +0200, Paolo Bonzini wrote: Il 15/05/2013 03:24, Ren, Yongjie ha scritto: -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Alex Palesandro Sent: Tuesday, May 14, 2013 10:51 PM To:

Re: Xen as L1 support

2013-05-15 Thread Gleb Natapov
On Wed, May 15, 2013 at 07:43:25PM +0200, Jan Kiszka wrote: On 2013-05-15 16:59, Paolo Bonzini wrote: Il 15/05/2013 03:24, Ren, Yongjie ha scritto: -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Alex Palesandro Sent: Tuesday,

Re: Xen as L1 support

2013-05-15 Thread Jan Kiszka
On 2013-05-15 19:45, Gleb Natapov wrote: On Wed, May 15, 2013 at 07:43:25PM +0200, Jan Kiszka wrote: On 2013-05-15 16:59, Paolo Bonzini wrote: Il 15/05/2013 03:24, Ren, Yongjie ha scritto: -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf

Re: [PATCH 2/2] KVM/MIPS32: Wrap calls to gfn_to_pfn() with srcu_read_lock/unlock()

2013-05-15 Thread Sanjay Lal
On May 15, 2013, at 10:30 AM, Gleb Natapov wrote: On Wed, May 15, 2013 at 09:54:24AM -0700, David Daney wrote: On 05/15/2013 08:54 AM, Sanjay Lal wrote: On May 14, 2013, at 2:27 AM, Gleb Natapov wrote: +EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by

Re: KVM: x86: limit difference between kvmclock updates

2013-05-15 Thread Marcelo Tosatti
On Wed, May 15, 2013 at 08:41:54PM +0300, Gleb Natapov wrote: On Tue, May 14, 2013 at 10:12:57AM -0300, Marcelo Tosatti wrote: On Tue, May 14, 2013 at 12:05:13PM +0300, Gleb Natapov wrote: On Thu, May 09, 2013 at 08:21:41PM -0300, Marcelo Tosatti wrote: kvmclock updates which are

RE: [Qemu-devel] Para-Virtualized Clock Usage

2013-05-15 Thread Joji Mekkattuparamban (joji)
Hi Gleb, On a related note, does Qemu have an option to emulate RDTSC? Thanks, Joji. -Original Message- From: Gleb Natapov [mailto:g...@redhat.com] Sent: Wednesday, April 24, 2013 11:57 PM To: Joji Mekkattuparamban (joji) Cc: Marcelo Tosatti; qemu-de...@nongnu.org; kvm@vger.kernel.org

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-15 Thread Nicholas A. Bellinger
On Wed, 2013-05-15 at 14:47 +0930, Rusty Russell wrote: Asias He as...@redhat.com writes: scsi.c includes vhost.c which uses memcpy_fromiovec. This patch fixes this build failure. From Randy Dunlap: ''' on x86_64: ERROR: memcpy_fromiovec [drivers/vhost/vhost_scsi.ko]

Re: [PATCH] KVM: allow host header to be included even for !CONFIG_KVM

2013-05-15 Thread Frederic Weisbecker
On Mon, Mar 25, 2013 at 02:14:20PM -0700, Kevin Hilman wrote: Gleb Natapov g...@redhat.com writes: On Sun, Mar 24, 2013 at 02:44:26PM +0100, Frederic Weisbecker wrote: 2013/3/21 Gleb Natapov g...@redhat.com: Isn't is simpler for kernel/context_tracking.c to define empty

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-15 Thread Rusty Russell
Nicholas A. Bellinger n...@linux-iscsi.org writes: On Wed, 2013-05-15 at 14:47 +0930, Rusty Russell wrote: Asias He as...@redhat.com writes: scsi.c includes vhost.c which uses memcpy_fromiovec. This patch fixes this build failure. From Randy Dunlap: ''' on x86_64:

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-15 Thread Asias He
On Wed, May 15, 2013 at 03:37:30PM -0700, Nicholas A. Bellinger wrote: On Wed, 2013-05-15 at 14:47 +0930, Rusty Russell wrote: Asias He as...@redhat.com writes: scsi.c includes vhost.c which uses memcpy_fromiovec. This patch fixes this build failure. From Randy Dunlap:

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-15 Thread Asias He
On Wed, May 15, 2013 at 02:47:53PM +0930, Rusty Russell wrote: Asias He as...@redhat.com writes: scsi.c includes vhost.c which uses memcpy_fromiovec. This patch fixes this build failure. From Randy Dunlap: ''' on x86_64: ERROR: memcpy_fromiovec

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-15 Thread Asias He
On Thu, May 16, 2013 at 09:05:38AM +0930, Rusty Russell wrote: Nicholas A. Bellinger n...@linux-iscsi.org writes: On Wed, 2013-05-15 at 14:47 +0930, Rusty Russell wrote: Asias He as...@redhat.com writes: scsi.c includes vhost.c which uses memcpy_fromiovec. This patch fixes this build

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-15 Thread David Miller
From: Rusty Russell ru...@rustcorp.com.au Date: Thu, 16 May 2013 09:05:38 +0930 memcpy_fromiovec() has nothing to do with networking: that was just the first user. Note that crypto/algif_skcipher.c also uses it. The obvious answer is to move it into lib/. +1 -- To unsubscribe from this

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-15 Thread Rusty Russell
Asias He as...@redhat.com writes: On Wed, May 15, 2013 at 02:47:53PM +0930, Rusty Russell wrote: Asias He as...@redhat.com writes: scsi.c includes vhost.c which uses memcpy_fromiovec. This patch fixes this build failure. From Randy Dunlap: ''' on x86_64: ERROR:

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-15 Thread Joe Perches
On Thu, 2013-05-16 at 13:04 +0930, Rusty Russell wrote: Asias He as...@redhat.com writes: On Wed, May 15, 2013 at 02:47:53PM +0930, Rusty Russell wrote: [] Other users are using memcpy_fromiovec and friends outside net. It seems a good idea to put it in a util library. e.g.

Re: [PATCH] vhost-scsi: Depend on NET for memcpy_fromiovec

2013-05-15 Thread Asias He
On Thu, May 16, 2013 at 01:04:58PM +0930, Rusty Russell wrote: Asias He as...@redhat.com writes: On Wed, May 15, 2013 at 02:47:53PM +0930, Rusty Russell wrote: Asias He as...@redhat.com writes: scsi.c includes vhost.c which uses memcpy_fromiovec. This patch fixes this build failure.

Re: [PATCH 2/2] KVM/MIPS32: Wrap calls to gfn_to_pfn() with srcu_read_lock/unlock()

2013-05-15 Thread Gleb Natapov
On Wed, May 15, 2013 at 11:36:02AM -0700, Sanjay Lal wrote: On May 15, 2013, at 10:30 AM, Gleb Natapov wrote: On Wed, May 15, 2013 at 09:54:24AM -0700, David Daney wrote: On 05/15/2013 08:54 AM, Sanjay Lal wrote: On May 14, 2013, at 2:27 AM, Gleb Natapov wrote: