From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org,
qemu-devel@nongnu.org, borntraeger@de.ibm.com, agraf@suse.de,
gleb@kernel.org
Subject: Re: [PATCH v2 3/5] s390x: Add I/O adapter registration.
Date: Tue, 18 Mar 2014 18:13:40 +0100 [thread overview]
Message-ID: <20140318181340.28aa8a2d.cornelia.huck@de.ibm.com> (raw)
In-Reply-To: <53286FF9.6050602@redhat.com>
On Tue, 18 Mar 2014 17:10:33 +0100
Paolo Bonzini <pbonzini@redhat.com> wrote:
> Il 17/03/2014 19:11, Cornelia Huck ha scritto:
> > +static KVMS390FLICState *s390_get_flic(void)
> > +{
> > + ObjectProperty *op = object_property_find(qdev_get_machine(),
> > + "s390-flic", NULL);
> > +
> > + if (op) {
> > + return op->opaque;
> > + } else {
> > + return NULL;
> > + }
> > +}
>
> You can use object_resolve_path("/machine/s390-flic", NULL) instead.
Will do.
next prev parent reply other threads:[~2014-03-18 17:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-17 18:11 [PATCH v2 0/5] qemu: irqfds for s390x Cornelia Huck
2014-03-17 18:11 ` [PATCH v2 1/5] linux-headers: add new interfaces Cornelia Huck
2014-03-17 18:24 ` [Qemu-devel] " Peter Maydell
2014-03-18 7:26 ` Cornelia Huck
2014-03-17 18:11 ` [PATCH v2 2/5] kvm: add kvm_enable_cap_{vm,vcpu} Cornelia Huck
2014-03-18 16:08 ` Paolo Bonzini
2014-03-17 18:11 ` [PATCH v2 3/5] s390x: Add I/O adapter registration Cornelia Huck
2014-03-18 16:10 ` Paolo Bonzini
2014-03-18 17:13 ` Cornelia Huck [this message]
2014-03-17 18:12 ` [PATCH v2 4/5] s390x/virtio-ccw: reference-counted indicators Cornelia Huck
2014-03-17 18:12 ` [PATCH v2 5/5] s390x/virtio-ccw: Wire up irq routing and irqfds Cornelia Huck
2014-03-18 16:13 ` Paolo Bonzini
2014-03-18 17:14 ` Cornelia Huck
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=20140318181340.28aa8a2d.cornelia.huck@de.ibm.com \
--to=cornelia.huck@de.ibm.com \
--cc=agraf@suse.de \
--cc=borntraeger@de.ibm.com \
--cc=gleb@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@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