From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkE5a-0005Qw-7X for qemu-devel@nongnu.org; Fri, 31 Oct 2014 11:27:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjxaO-0003kf-5V for qemu-devel@nongnu.org; Thu, 30 Oct 2014 17:48:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjxaN-0003ju-Sx for qemu-devel@nongnu.org; Thu, 30 Oct 2014 17:48:52 -0400 Message-ID: <5452B23F.3000409@redhat.com> Date: Thu, 30 Oct 2014 15:48:47 -0600 From: Eric Blake MIME-Version: 1.0 References: <1414559044-14501-1-git-send-email-famz@redhat.com> In-Reply-To: <1414559044-14501-1-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gDrmkMi5KfDhhxtSjIi8klsCvK8Ce5t9L" Subject: Re: [Qemu-devel] [PATCH 0/4] block: Allow query stats for drive-mirror target List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: Kevin Wolf , Benoit Canet , Markus Armbruster , Max Reitz , Stefan Hajnoczi , Luiz Capitulino This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gDrmkMi5KfDhhxtSjIi8klsCvK8Ce5t9L Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/28/2014 11:04 PM, Fam Zheng wrote: > This series adds an optional bool parameter "query-nodes" to query-bloc= kstats. >=20 > By default, if omitted, the behavior is unchanged. >=20 > If set to "true", the command will iterate through all named nodes in B= DS graph > and report the statistics in a list, similarly. But the backing chain i= s not > built. >=20 > This provides a way for libvirt to watch the allocation status > (wr_highest_offset) of target image. Now, libvirt can start drive-mirro= r job > specifying a node-name parameter. Thus the created target image gets a = node > name that can be queried with the new query-blockstats. Well, only if libvirt actually starts naming the node at the destination of a drive-mirror job (doesn't happen now, but this patch shifts the blame from "qemu doesn't provide access to the information" over to "libvirt hasn't yet been coded to interact with what qemu provides"), so this is a step in the right direction. The idea makes sense to me. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --gDrmkMi5KfDhhxtSjIi8klsCvK8Ce5t9L 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 iQEcBAEBCAAGBQJUUrI/AAoJEKeha0olJ0NqmTMIAIUb2/HjcUtKzv5s6VcWUmEc kcfSZBINfe+bpVnb8+Uo8cnk0TM6AYOnGwSujjg48JtO476Fx/Bq2umiDV2SYz1S Rq4hnMi5g5/gPPZdm7OhYF54vya5Okj0mhOmEyuKJMg2Q7RV1py1+UI7mbJtTdAf F3AVifroAM+3LQZQRxxOeSnlC4EybJZ3p+HMcPODJ2shhC8hbQqcogc4TAPaJU5Z lyIShng1SsTfp7U/XyVAQOwrSeMKrt8H/uKeU7vMRs8SX/O9ObvoXN+EQ33cUycP FyXu/03tP2Cjyhxf4/DEUZGrV7Rf2SaesxIOjDwuSlKtLHFXowyHS38hAXsFdT0= =3yw+ -----END PGP SIGNATURE----- --gDrmkMi5KfDhhxtSjIi8klsCvK8Ce5t9L--