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 kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux