From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO7Rc-0005l4-NX for qemu-devel@nongnu.org; Thu, 13 Mar 2014 11:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO7RT-0007dy-Sz for qemu-devel@nongnu.org; Thu, 13 Mar 2014 11:21:16 -0400 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:45348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO7RT-0007dk-L5 for qemu-devel@nongnu.org; Thu, 13 Mar 2014 11:21:07 -0400 Received: by mail-ea0-f182.google.com with SMTP id b10so545666eae.41 for ; Thu, 13 Mar 2014 08:21:06 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5321CCDF.8000908@redhat.com> Date: Thu, 13 Mar 2014 16:21:03 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20140313144017.GA4798@irqsave.net> In-Reply-To: <20140313144017.GA4798@irqsave.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Building QMP in qemu-nbd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Beno=EEt_Canet?= , qemu-devel@nongnu.org Il 13/03/2014 15:40, Benoît Canet ha scritto: > Hi, > > I want to make qemu-nbd QMP aware so the cloud stack my customer work on could > start lxc containers with qcow2 KVM images and still benefit from the quorum > and snapshot goodness. Yes, blockdev can help for this. In the meanwhile, could you start a dummy guest ("-M none -m 1 -machine accel=qtest -display none -nodefaults" consumes ~16M here) and use the embedded NBD server? > Stefan mentioned the nice idea of splitting qapi-schema.json in small files > in a subdirectory so qemu-nbd could use only the block related commands. > > Eric: What do you think of this idea ? > Do you have variants of this idea ? Weren't there patches to add "include" directives to qapi-schema.json? Paolo