From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RulgC-0006OP-DO for qemu-devel@nongnu.org; Tue, 07 Feb 2012 09:05:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rulg8-00055F-Bp for qemu-devel@nongnu.org; Tue, 07 Feb 2012 09:05:56 -0500 Received: from mail-pz0-f45.google.com ([209.85.210.45]:43682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rulg8-000555-73 for qemu-devel@nongnu.org; Tue, 07 Feb 2012 09:05:52 -0500 Received: by dadp14 with SMTP id p14so7627862dad.4 for ; Tue, 07 Feb 2012 06:05:51 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4F312FB6.3080707@redhat.com> Date: Tue, 07 Feb 2012 15:05:42 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <73865e0ce364c40e0eb65ec6b22b819d@mail.gmail.com> <4F312854.3080404@redhat.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH] replication agent module List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , dlaor@redhat.com, qemu-devel@nongnu.org, Ori Mamluk , Luiz Capitulino On 02/07/2012 02:50 PM, Stefan Hajnoczi wrote: >> I guess we might need to attach multiple QMP monitors for this to work >> (one for libvirt, one for the rephub). I'm not sure if there is a >> fundamental problem with this or if it just needs to be done. > > Agreed. You can already query block devices using QMP 'query-block'. > By adding in-process NBD server support you could then launch an NBD > server for each volume which you wish to replicate. However, in this > case it sounds almost like you want the reverse - you could provide an > NBD server on the rephub and QEMU would mirror writes to it (the NBD > client code is already in QEMU). Yes, this is how we were also planning to do migration without shared storage, right? Paolo