[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 1/5] qdev: introduce qdev_create_kid(Object *par

From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/5] qdev: introduce qdev_create_kid(Object *parent, const char *type)
Date: Wed, 11 Jul 2012 09:01:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

Il 11/07/2012 03:17, liu ping fan ha scritto:
> OK, I will move the creation in the CPU. But I think as part of qom,
> DeviceState can have a DeviceState child, so there is need for wrapper
> for the function.  Maybe just make the qdev_create_kid(Object*) ->
> qdev_create_kid(DeviceState*) ?

You can just use object_property_add_child whenever you would use


reply via email to

[Prev in Thread] Current Thread [Next in Thread]