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