From: Eric Blake <eblake@redhat.com>
To: Fam Zheng <famz@redhat.com>, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>, Benoit Canet <benoit@irqsave.net>,
Markus Armbruster <armbru@redhat.com>,
Max Reitz <mreitz@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
Luiz Capitulino <lcapitulino@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 3/4] block: Include "node-name" if present in query-blockstats
Date: Thu, 30 Oct 2014 15:36:46 -0600 [thread overview]
Message-ID: <5452AF6E.8020108@redhat.com> (raw)
In-Reply-To: <1414559044-14501-4-git-send-email-famz@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]
On 10/28/2014 11:04 PM, Fam Zheng wrote:
> Node name is a better identifier of BDS.
>
> We will want to query statistics of a BDS node buried in the BDS graph,
> so reporting the node's name if there is one will do the good.
s/do the good/do the trick/
> +++ b/qapi/block-core.json
> @@ -408,6 +408,8 @@
> # @device: #optional If the stats are for a virtual block device, the name
> # corresponding to the virtual block device.
> #
> +# @device: #optional The node name of the device. (Since 2.3)
Yeah, we missed soft freeze and this is a feature, so your versioning is
correct.
The node-name would become non-optional once Jeff's patches auto-assign
a node name, right?
> +#
> # @stats: A @BlockDeviceStats for the device.
> #
> # @parent: #optional This describes the file block device if it has one.
> @@ -418,7 +420,8 @@
> # Since: 0.14.0
> ##
> { 'type': 'BlockStats',
> - 'data': {'*device': 'str', 'stats': 'BlockDeviceStats',
> + 'data': {'*device': 'str', '*node-name': 'str',
> + 'stats': 'BlockDeviceStats',
> '*parent': 'BlockStats',
Indentation looks odd here. Fix that, and:
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 539 bytes --]
next prev parent reply other threads:[~2014-10-31 15:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-29 5:04 [Qemu-devel] [PATCH 0/4] block: Allow query stats for drive-mirror target Fam Zheng
2014-10-29 5:04 ` [Qemu-devel] [PATCH 1/4] block: Add bdrv_next_node Fam Zheng
2014-10-29 8:49 ` Max Reitz
2014-10-30 21:32 ` Eric Blake
2014-10-29 5:04 ` [Qemu-devel] [PATCH 2/4] block: Add bdrv_get_node_name Fam Zheng
2014-10-29 8:51 ` Max Reitz
2014-10-30 21:33 ` Eric Blake
2014-10-29 5:04 ` [Qemu-devel] [PATCH 3/4] block: Include "node-name" if present in query-blockstats Fam Zheng
2014-10-29 8:57 ` Max Reitz
2014-10-30 21:36 ` Eric Blake [this message]
2014-10-29 5:04 ` [Qemu-devel] [PATCH 4/4] qmp: Add optional switch "query-nodes" " Fam Zheng
2014-10-29 9:11 ` Max Reitz
2014-10-31 3:20 ` Fam Zheng
2014-11-04 8:49 ` Max Reitz
2014-10-30 21:47 ` Eric Blake
2014-10-31 3:14 ` Fam Zheng
2014-10-30 21:48 ` [Qemu-devel] [PATCH 0/4] block: Allow query stats for drive-mirror target Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5452AF6E.8020108@redhat.com \
--to=eblake@redhat.com \
--cc=armbru@redhat.com \
--cc=benoit@irqsave.net \
--cc=famz@redhat.com \
--cc=kwolf@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.