From: Cornelia Huck <cohuck@redhat.com>
To: Halil Pasic <pasic@linux.vnet.ibm.com>
Cc: qemu-devel@nongnu.org, qemu-s390x@nongnu.org,
borntraeger@de.ibm.com, pmorel@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH RFC 0/2] s390x: cut down on unattached devices
Date: Mon, 4 Dec 2017 17:51:42 +0100 [thread overview]
Message-ID: <20171204175142.7af81901.cohuck@redhat.com> (raw)
In-Reply-To: <f3a922c1-6b8e-8c97-2809-ee929a79d744@linux.vnet.ibm.com>
On Mon, 4 Dec 2017 15:47:37 +0100
Halil Pasic <pasic@linux.vnet.ibm.com> wrote:
> On 12/04/2017 10:22 AM, Cornelia Huck wrote:
> > On Fri, 1 Dec 2017 15:41:21 +0100
> > Halil Pasic <pasic@linux.vnet.ibm.com> wrote:
> >
> >> On 11/28/2017 04:21 PM, Halil Pasic wrote:
> >> [..]
> >>>>> Otherwise at first glance both patches seem sane.
> >>>>
> >>>> Can I count this as an ack, or do you plan to do more review?
> >>>>
> >>>
> >>> Yes I was planning to give it another look. And I do already
> >>> have questions. Isn't the QOM composition tree API? I mean
> >>> let's assume the QMP commands working on this tree are not completely
> >>> useless. How is client code (management software) supposed to work,
> >>> assumed it can rely on paths of e.g. properties being stable. Just
> >>> imagine we had this default-cssid property (for the sake of the
> >>> argument, not like we want it) on the css bridge.
> >>
> >> Ping! I would like to get this clarified before proceeding with reviewing
> >> this series.
> >
> > [It might be helpful to not drop cc:s.]
> >
>
> Sorry. Wrong button.
>
> > I don't think we really want a static tree. As long as the devices are
> > locateable, it should be fine.
> >
>
> What do you mean by locateable in particular?
>
> Let's say I'm management software guy who want's to access a certain
> property of a certain device. For that I'm supposed to use qom-get. Now
> qom-get takes a path as input argument (absolute or relative). The question
> is, how I'm supposed to figure out this path as management software developer?
> In other words what is the algorithm?
I'd expect qom-tree to put out a path to the right object.
No idea if/how much management software relies on this. But hardcoded
paths sound fragile to me.
>
> One naive approach would be, to assume that the path is stable between
> releases. So I have to figure it out when I'm implementing the stuff,
> and then it keeps working ever after. I read your answer as this naive
> approach is wrong.
>
> (BTW I find static also confusing in this context.)
>
> [..]
>
next prev parent reply other threads:[~2017-12-04 16:51 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-28 13:46 [Qemu-devel] [PATCH RFC 0/2] s390x: cut down on unattached devices Cornelia Huck
2017-11-28 13:46 ` [Qemu-devel] [PATCH RFC 1/2] s390x/css: attach css bridge Cornelia Huck
2017-11-28 14:02 ` Christian Borntraeger
2017-12-08 11:43 ` Cornelia Huck
2017-11-28 13:46 ` [Qemu-devel] [PATCH RFC 2/2] s390x: attach autogenerated nics Cornelia Huck
2017-12-04 11:17 ` [Qemu-devel] [qemu-s390x] " Christian Borntraeger
2017-12-04 16:40 ` Cornelia Huck
2017-12-04 17:33 ` Halil Pasic
2017-12-04 17:51 ` Cornelia Huck
2017-11-28 14:17 ` [Qemu-devel] [PATCH RFC 0/2] s390x: cut down on unattached devices Halil Pasic
2017-11-28 14:27 ` Cornelia Huck
2017-11-28 15:21 ` Halil Pasic
2017-12-01 14:41 ` Halil Pasic
2017-12-04 9:22 ` Cornelia Huck
2017-12-04 14:47 ` Halil Pasic
2017-12-04 16:51 ` Cornelia Huck [this message]
2017-12-04 11:47 ` [Qemu-devel] [qemu-s390x] " David Hildenbrand
2017-12-05 8:59 ` [Qemu-devel] " Bjoern Walk
2017-12-07 16:34 ` Cornelia Huck
2017-12-07 17:01 ` Halil Pasic
2017-12-07 17:06 ` Cornelia Huck
2017-12-07 17:15 ` Halil Pasic
2017-12-08 11:42 ` Cornelia Huck
2017-12-08 12:14 ` Halil Pasic
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=20171204175142.7af81901.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=pasic@linux.vnet.ibm.com \
--cc=pmorel@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
/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).