From: Eric Blake <eblake@redhat.com>
To: "Benoît Canet" <benoit@irqsave.net>, qemu-devel@nongnu.org
Cc: kwolf@redhat.com, famz@redhat.com, armbru@redhat.com,
stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/2] Giving names to graph's BlockDriverState
Date: Thu, 07 Nov 2013 13:34:06 -0700 [thread overview]
Message-ID: <527BF93E.8000108@redhat.com> (raw)
In-Reply-To: <1383836503-25447-1-git-send-email-benoit@irqsave.net>
[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]
On 11/07/2013 08:01 AM, Benoît Canet wrote:
> The following series introduce a new file.node-name property in order to be
> able to give a name to each BlockDriverState of the graph.
>
> It also define "undefined" as a special value for node-name; a value that will be
> used to indicate to the management that it can not manipulate a node because it
> was not named.
Is it necessary to use the actual string "undefined" to mean unnamed, or
can we be careful and use NULL for unnamed, and all other pointers as
the user-provided name? Either way, we have to special-case code to
check for the sentinel, but a NULL check is faster than a strcmp(), plus
it feels slightly nicer to not consume a value out of the user's namespace.
>
> After this patchset is merged I would like to take care of presenting the graph
> to the management. (HMP &&/|| QMP)
>
> Eric: Do you have some ideas on this topic ?
Overall, I'm looking forward to getting this into qemu 1.8; I'm still
waiting to see what else you propose for QMP interfaces.
--
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: 621 bytes --]
prev parent reply other threads:[~2013-11-07 20:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-07 15:01 [Qemu-devel] [PATCH 0/2] Giving names to graph's BlockDriverState Benoît Canet
2013-11-07 15:01 ` [Qemu-devel] [PATCH 1/2] block: Add bs->node_name to hold the name of a bs node of the bs graph Benoît Canet
2013-11-07 20:23 ` Eric Blake
2013-11-07 21:09 ` Benoît Canet
2013-11-08 9:51 ` Kevin Wolf
2013-11-07 20:54 ` Jeff Cody
2013-11-07 21:11 ` Benoît Canet
2013-11-08 8:19 ` Fam Zheng
2013-11-07 15:01 ` [Qemu-devel] [PATCH 2/2] block: Allow the user to define "node-name" option Benoît Canet
2013-11-07 20:31 ` Eric Blake
2013-11-08 9:55 ` Kevin Wolf
2013-11-07 20:34 ` Eric Blake [this message]
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=527BF93E.8000108@redhat.com \
--to=eblake@redhat.com \
--cc=armbru@redhat.com \
--cc=benoit@irqsave.net \
--cc=famz@redhat.com \
--cc=kwolf@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).