Paolo Bonzini writes:
> On 14/12/2016 18:47, Markus Armbruster wrote:
>> Paolo Bonzini writes:
>>
>>> On 14/12/2016 14:48, Eduardo Habkost wrote:
> How do you find all abstract TypeInfo in the source? The uninitiated
> might grep for .abstract
On 14/12/2016 18:47, Markus Armbruster wrote:
> Paolo Bonzini writes:
>
>> On 14/12/2016 14:48, Eduardo Habkost wrote:
How do you find all abstract TypeInfo in the source? The uninitiated
might grep for .abstract = true, and be misled. The initiated will be
Paolo Bonzini writes:
> On 14/12/2016 14:48, Eduardo Habkost wrote:
>>> How do you find all abstract TypeInfo in the source? The uninitiated
>>> might grep for .abstract = true, and be misled. The initiated will be
>>> annoyed instead, because grepping for *absence* of
On Wed, Dec 14, 2016 at 06:07:48PM +0100, Paolo Bonzini wrote:
>
>
> On 14/12/2016 14:48, Eduardo Habkost wrote:
> >> How do you find all abstract TypeInfo in the source? The uninitiated
> >> might grep for .abstract = true, and be misled. The initiated will be
> >> annoyed instead, because
On 14/12/2016 14:48, Eduardo Habkost wrote:
>> How do you find all abstract TypeInfo in the source? The uninitiated
>> might grep for .abstract = true, and be misled. The initiated will be
>> annoyed instead, because grepping for *absence* of .instance_size = is
>> bothersome.
>>
>> I suspect
On Wed, Dec 14, 2016 at 02:04:50PM +0100, Markus Armbruster wrote:
> Eduardo Habkost writes:
>
> > "qom-list-types abstract=false" currently returns all interface
> > types, as if they were not abstract. Fix this by making sure all
> > interface types are abstract.
> >
> >
Eduardo Habkost writes:
> "qom-list-types abstract=false" currently returns all interface
> types, as if they were not abstract. Fix this by making sure all
> interface types are abstract.
>
> All interface types have instance_size == 0, so we can use
> it to set
"qom-list-types abstract=false" currently returns all interface
types, as if they were not abstract. Fix this by making sure all
interface types are abstract.
All interface types have instance_size == 0, so we can use
it to set abstract=true on type_initialize().
Signed-off-by: Eduardo Habkost