Re: [libvirt] [RFC PATCH v2 3/3] qemu: memory pre-pinning support for RDMA migration

2014-04-28 Thread Eric Blake
On 04/28/2014 03:38 AM, Paolo Bonzini wrote: > Il 04/04/2014 22:46, Eric Blake ha scritto: >>> > >>> > I'm still not seeing what's wrong with depending on the version >>> > number since other features are also depending on the version >>> > number. >> Every feature where we have to guess based on v

Re: [libvirt] [RFC PATCH v2 3/3] qemu: memory pre-pinning support for RDMA migration

2014-04-28 Thread Paolo Bonzini
Il 04/04/2014 22:46, Eric Blake ha scritto: > > I'm still not seeing what's wrong with depending on the version > number since other features are also depending on the version > number. Every feature where we have to guess based on version number is due to a bug in qemu for not providing enough

Re: [libvirt] [RFC PATCH v2 3/3] qemu: memory pre-pinning support for RDMA migration

2014-04-10 Thread Michael R. Hines
On 04/05/2014 04:46 AM, Eric Blake wrote: On 04/04/2014 12:29 AM, Michael R. Hines wrote: Yes, it's present, but it still does not guarantee that QEMU supports it if RDMA was compiled out - only the version number is a (minimal) guarantee, and even then the hardware can still throw an error if R

Re: [libvirt] [RFC PATCH v2 3/3] qemu: memory pre-pinning support for RDMA migration

2014-04-04 Thread Eric Blake
On 04/04/2014 12:29 AM, Michael R. Hines wrote: > > Yes, it's present, but it still does not guarantee that QEMU supports > it if RDMA was compiled out - only the version number is a > (minimal) guarantee, and even then the hardware can still throw > an error if RDMA itself is not supported. Whic

Re: [libvirt] [RFC PATCH v2 3/3] qemu: memory pre-pinning support for RDMA migration

2014-04-03 Thread Michael R. Hines
On 02/04/2014 10:56 PM, Jiri Denemark wrote: On Mon, Jan 13, 2014 at 14:28:12 +0800, mrhi...@linux.vnet.ibm.com wrote: From: "Michael R. Hines" RDMA Live migration requires registering memory with the hardware, Hmm, I forgot to ask when I was reviewing the previous patch but does any of this

Re: [libvirt] [RFC PATCH v2 3/3] qemu: memory pre-pinning support for RDMA migration

2014-02-04 Thread Jiri Denemark
On Mon, Jan 13, 2014 at 14:28:12 +0800, mrhi...@linux.vnet.ibm.com wrote: > From: "Michael R. Hines" > > RDMA Live migration requires registering memory with the hardware, Hmm, I forgot to ask when I was reviewing the previous patch but does any of this RDMA migration functionality require speci

[libvirt] [RFC PATCH v2 3/3] qemu: memory pre-pinning support for RDMA migration

2014-01-12 Thread mrhines
From: "Michael R. Hines" RDMA Live migration requires registering memory with the hardware, and thus QEMU offers a new 'capability' which supports the ability to pre-register / mlock() the guest memory in advance for higher RDMA performance before the migration begins. This patch exposes this ca