qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 3/5] s390x: Add I/O adapter registration.


From: Cornelia Huck
Subject: Re: [Qemu-devel] [PATCH v2 3/5] s390x: Add I/O adapter registration.
Date: Tue, 18 Mar 2014 18:13:40 +0100

On Tue, 18 Mar 2014 17:10:33 +0100
Paolo Bonzini <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]