From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYwjh-0007Be-MI for qemu-devel@nongnu.org; Thu, 15 Nov 2012 05:31:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYwje-0002Mv-Kl for qemu-devel@nongnu.org; Thu, 15 Nov 2012 05:31:53 -0500 Received: from mail-da0-f45.google.com ([209.85.210.45]:52866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYwje-0002Mn-E7 for qemu-devel@nongnu.org; Thu, 15 Nov 2012 05:31:50 -0500 Received: by mail-da0-f45.google.com with SMTP id n15so599337dad.4 for ; Thu, 15 Nov 2012 02:31:49 -0800 (PST) Sender: Paolo Bonzini Message-ID: <50A4C48E.8080902@redhat.com> Date: Thu, 15 Nov 2012 11:31:42 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <50A313A5.8030500@linux.vnet.ibm.com> <50A314EE.6080801@linux.vnet.ibm.com> <20121114084509.GB23826@stefanha-thinkpad.redhat.com> <50A36A90.9000402@linux.vnet.ibm.com> <50A37325.9030607@redhat.com> <50A46D1D.5040503@linux.vnet.ibm.com> In-Reply-To: <50A46D1D.5040503@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] libqblock OOM issue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: Kevin Wolf , Stefan Hajnoczi , Anthony Liguori , qemu-devel , Blue Swirl Il 15/11/2012 05:18, Wenchao Xia ha scritto: > Personally agree, but I want to add a simple wrapper to let libqblock > get user faster. In this way I guess best choice now is making rpc > client and server not mirrored in implemention, server provides > r/w/info retrieving capabilities via XDR protocol, client keeps > the API unchanged but implement a bit different than server, which > may archieve the same effect as invoking qemu-img inside without string > parsing. I think the result would really not be simple... > Not sure if libqblock now is blocked by OOM issue as 1st version to > be reviewed. If you think it must be resolved first, I would add this > wrapper quickly. No, I was lost with the build problems. Please repost the last version you have. Paolo