From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMcfC-0008UG-HL for qemu-devel@nongnu.org; Wed, 27 Aug 2014 08:49:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMcf3-0000Io-4x for qemu-devel@nongnu.org; Wed, 27 Aug 2014 08:49:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMcf2-0000Ih-S2 for qemu-devel@nongnu.org; Wed, 27 Aug 2014 08:49:13 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7RCnBqG025617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 27 Aug 2014 08:49:12 -0400 Message-ID: <53FDD3C6.3050708@redhat.com> Date: Wed, 27 Aug 2014 06:49:10 -0600 From: Eric Blake MIME-Version: 1.0 References: <1409120576-5726-1-git-send-email-famz@redhat.com> In-Reply-To: <1409120576-5726-1-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4AqUMTCU3fHtI414RPbT8uTct1pAWNTSx" Subject: Re: [Qemu-devel] [PATCH] block: Introduce "null" driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4AqUMTCU3fHtI414RPbT8uTct1pAWNTSx Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/27/2014 12:22 AM, Fam Zheng wrote: > 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. >=20 > Signed-off-by: Fam Zheng > --- > block/Makefile.objs | 1 + > block/null.c | 172 ++++++++++++++++++++++++++++++++++++++++++++= ++++++++ > 2 files changed, 173 insertions(+) > create mode 100644 block/null.c Worth also adding it to BlockdevOptions in qapi/block-core.json to allow hotplug of this driver? (Not that libvirt will ever hotplug one, but I really want to move towards being feature-complete on letting QMP drive all block types) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --4AqUMTCU3fHtI414RPbT8uTct1pAWNTSx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJT/dPGAAoJEKeha0olJ0NqpJYH/1VenZziP5yQ9aW1QcFfJo// ZWuKQmarFX8grjaYE6hkiILJY1NwAx/JrcHP7Z8FQJwacNL3gF7brQwVZUiyks7v L37fh6VAh3fvsfnm2+BLnb/pBwbdS1oVTAhsbcKh4Vd+xfWNs+mNj5U5HyVwv4k3 6iKejDX4FZLwqniaKL0gsSKtp8DFrLxsFf07+aAzKJ8Eq34tuQXYmHE0ENtsLjNf IigB+Umox9hwnWH6JHPlaR7o+mNxrGxBg1fchVMLHmMtOaBU4APB/KmmcyikgPDq xMkRjOFzOhox8Xx6WHXcIEgY5ZGc+cYAjVAji0UeVDejOZJaVOFskoF8zNZrfCo= =v+2p -----END PGP SIGNATURE----- --4AqUMTCU3fHtI414RPbT8uTct1pAWNTSx--