qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qom: if @instance_size==0, assign size of objec


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] qom: if @instance_size==0, assign size of object to parent object size
Date: Tue, 28 Feb 2012 09:39:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

Il 28/02/2012 08:18, Igor Mitsyanko ha scritto:
> QOM documentation states that for objects of type with @instance_size == 0 
> size
> will be assigned to match parent object's size. But currently this feauture is
> not implemented and qemu asserts during creation of object with zero 
> instance_size.
> This patch adjusts actual behaviour in accordance with documentation.

You can do it just once, in type_get_parent instead.

Paolo




reply via email to

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