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

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

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux