[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 01/21] qom: documentation addition
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH 01/21] qom: documentation addition |
Date: |
Fri, 11 May 2012 04:08:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120421 Thunderbird/12.0 |
Am 02.05.2012 13:59, schrieb Andreas Färber:
> Am 02.05.2012 13:30, schrieb Paolo Bonzini:
>> Signed-off-by: Paolo Bonzini <address@hidden>
>> ---
>> include/qemu/object.h | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/include/qemu/object.h b/include/qemu/object.h
>> index ca1649c..d315dfa 100644
>> --- a/include/qemu/object.h
>> +++ b/include/qemu/object.h
>> @@ -555,6 +555,12 @@ ObjectClass *object_class_dynamic_cast(ObjectClass
>> *klass,
>> */
>> const char *object_class_get_name(ObjectClass *klass);
>>
>> +/**
>> + * object_class_by_name:
>> + * @typename: The QOM typename to obtain the class for.
>> + *
>> + * Returns: The class for @typename.
>
> ...or NULL if not found.
>
>> + */
>> ObjectClass *object_class_by_name(const char *typename);
>>
>> void object_class_foreach(void (*fn)(ObjectClass *klass, void *opaque),
Thanks, applied to qom-next (with the suggested addition, using %NULL,
and extended subject):
http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/qom-next
If there's no protest, I'd also queue this for a 1.1-rc2 PULL.
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- [Qemu-devel] [PATCH 00/21] qbus QOM conversion, rebased on top of my patches, Paolo Bonzini, 2012/05/02
- [Qemu-devel] [PATCH 01/21] qom: documentation addition, Paolo Bonzini, 2012/05/02
- [Qemu-devel] [PATCH 03/21] qom: add class_base_init, Paolo Bonzini, 2012/05/02
- [Qemu-devel] [PATCH 02/21] qom: add object_class_get_parent, Paolo Bonzini, 2012/05/02
- [Qemu-devel] [PATCH 04/21] qom: make Object a type, Paolo Bonzini, 2012/05/02
- [Qemu-devel] [PATCH 06/21] qdev: push "type" property up to Object, Paolo Bonzini, 2012/05/02