Received: from eggs.gnu.org ([2001:4830:134:3::10]:52625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMuyc-0007Bq-Jh for qemu-devel@nongnu.org; Thu, 28 Aug 2014 04:22:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMuyW-0007BG-Et for qemu-devel@nongnu.org; Thu, 28 Aug 2014 04:22:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMuyW-00079D-7K for qemu-devel@nongnu.org; Thu, 28 Aug 2014 04:22:32 -0400 From: Markus Armbruster References: <1409198556-15996-1-git-send-email-famz@redhat.com> Date: Thu, 28 Aug 2014 10:22:26 +0200 In-Reply-To: <1409198556-15996-1-git-send-email-famz@redhat.com> (Fam Zheng's message of "Thu, 28 Aug 2014 12:02:36 +0800") Message-ID: <877g1t3tx9.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2] block: Introduce "null" driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , benoit.canet@irqsave.net, qemu-devel@nongnu.org, Stefan Hajnoczi Fam Zheng writes: > This is an analogue to Linux null_blk. It can be used for testing block > device emulation and general block layer functionalities such as > coroutines and throttling, where disk IO is not necessary or wanted. > > Use null:// for AIO version, and null-co:// for coroutine version. > > Signed-off-by: Fam Zheng > > --- > V2: Don't #ifdef code, add two drivers. (Benoit) > Add to QAPI BlockdevOptions. (Eric) > Add "file.size" option to override backend size. (What is a better > way to associate /dev/vd{a,b,c} with command line devices, if sizes > are the same?) Is this a request for advice? If yes, please explain the problem in more detail, because I'm too dense to get it :)