From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arYFH-0000yP-2M for qemu-devel@nongnu.org; Sat, 16 Apr 2016 17:59:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arYFD-0001h9-SA for qemu-devel@nongnu.org; Sat, 16 Apr 2016 17:59:15 -0400 References: <1460699173-31401-1-git-send-email-xiecl.fnst@cn.fujitsu.com> <1460699173-31401-2-git-send-email-xiecl.fnst@cn.fujitsu.com> From: Max Reitz Message-ID: <5712B5AA.8000707@redhat.com> Date: Sat, 16 Apr 2016 23:59:06 +0200 MIME-Version: 1.0 In-Reply-To: <1460699173-31401-2-git-send-email-xiecl.fnst@cn.fujitsu.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lEijE8T1bfDQEmDQituU3xMB2dD4T46pv" Subject: Re: [Qemu-devel] [PATCH v1 1/2] block: fix description of @stats List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Changlong Xie , qemu devel , qemu trivial , Kevin Wolf , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lEijE8T1bfDQEmDQituU3xMB2dD4T46pv Content-Type: multipart/mixed; boundary="uOOoT0lCgVBo2CdwCoj12vb6qUgEXoX6S" From: Max Reitz To: Changlong Xie , qemu devel , qemu trivial , Kevin Wolf , Stefan Hajnoczi Cc: Wen Congyang Message-ID: <5712B5AA.8000707@redhat.com> Subject: Re: [PATCH v1 1/2] block: fix description of @stats References: <1460699173-31401-1-git-send-email-xiecl.fnst@cn.fujitsu.com> <1460699173-31401-2-git-send-email-xiecl.fnst@cn.fujitsu.com> In-Reply-To: <1460699173-31401-2-git-send-email-xiecl.fnst@cn.fujitsu.com> --uOOoT0lCgVBo2CdwCoj12vb6qUgEXoX6S Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 15.04.2016 07:46, Changlong Xie wrote: > Qemu does not support "info blockstats" now. It doesn't? Mine is more than happy to accept that command: $ x86_64-softmmu/qemu-system-x86_64 -nodefaults \ -drive if=3Dnone,id=3Ddrv0,driver=3Dnull-co \ -monitor stdio QEMU 2.5.90 monitor - type 'help' for more information (qemu) info blockstats drv0: rd_bytes=3D0 wr_bytes=3D0 rd_operations=3D0 wr_operations=3D0 flush_operations=3D0 wr_total_time_ns=3D0 rd_total_time_ns=3D0 flush_total_time_ns=3D0 rd_merged=3D0 wr_merged=3D0 idle_time_ns=3D0 Max > Signed-off-by: Changlong Xie > --- > block/block-backend.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/block/block-backend.c b/block/block-backend.c > index d74f670..05d5d09 100644 > --- a/block/block-backend.c > +++ b/block/block-backend.c > @@ -49,7 +49,7 @@ struct BlockBackend { > =20 > bool enable_write_cache; > =20 > - /* I/O stats (display with "info blockstats"). */ > + /* I/O stats (display with { "execute": "query-blockstats" }). */ > BlockAcctStats stats; > =20 > BlockdevOnError on_read_error, on_write_error; >=20 --uOOoT0lCgVBo2CdwCoj12vb6qUgEXoX6S-- --lEijE8T1bfDQEmDQituU3xMB2dD4T46pv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXErWrAAoJEDuxQgLoOKytO1AH/0Q5Kfb41ZCUAzc4J6/BzuXk 8JF/4P5xZnhbsKS9CQh4z/LDbGtAv/dnQd9XBLVawlxKt2DWSM9HveFSvrtCvi/l DbIVqgWKMCvDGREwbBAeMvvXRjw6rDACYtiSzdNIDnIj7UqomH9+77iwqcqn8uQk 0/ABSPjOrwP4fzcKiML35n97JI1wpzh78UG3D3JjKnwr7CPJpRibks2Tsaj5QD5W 79iwz2lGZU7By59GK5HiihwzAYjhCprj7IpSVSfQ3nZn9rFIZ3IvC38FPnuzA894 JJJy6bcZ5SP+El1ql25pVhhxbgAXCzlQZS2989fQ22S1XHItdTRRYR6DoTWER2s= =lGow -----END PGP SIGNATURE----- --lEijE8T1bfDQEmDQituU3xMB2dD4T46pv--