Am 23.05.2012 17:44, schrieb Paolo Bonzini:
> Can be replaced everywhere with object_property_find.
>
> Signed-off-by: Paolo Bonzini
Thanks, applied to qom-next:
http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/qom-next
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnbe
Il 24/05/2012 23:34, Andreas Färber ha scritto:
>> >
>> > -static ObjectProperty *object_property_find(Object *obj, const char *name)
>> > +ObjectProperty *object_property_find(Object *obj, const char *name)
>> > {
>> > ObjectProperty *prop;
>> >
> Any reason not to expose a bool object_p
Am 23.05.2012 17:44, schrieb Paolo Bonzini:
> Can be replaced everywhere with object_property_find.
>
> Signed-off-by: Paolo Bonzini
[...]
> diff --git a/include/qemu/object.h b/include/qemu/object.h
> index 5fd2270..b7efc63 100644
> --- a/include/qemu/object.h
> +++ b/include/qemu/object.h
> @@
Can be replaced everywhere with object_property_find.
Signed-off-by: Paolo Bonzini
---
hw/qdev-properties.c |5 -
hw/qdev.c |2 +-
hw/qdev.h |1 -
hw/scsi-bus.c |2 +-
include/qemu/object.h |9 +
qom/object.c |2 +-
6