mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
qom: Pass available size to object_initialize()
To be passed on to object_initialize_with_type(). Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> (virtio-ccw) Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
fb17dfe057
commit
213f0c4f61
13 changed files with 44 additions and 38 deletions
|
@ -329,7 +329,7 @@ void object_initialize_with_type(void *data, TypeImpl *type)
|
|||
object_post_init_with_type(obj, type);
|
||||
}
|
||||
|
||||
void object_initialize(void *data, const char *typename)
|
||||
void object_initialize(void *data, size_t size, const char *typename)
|
||||
{
|
||||
TypeImpl *type = type_get_by_name(typename);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue