qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC 01/18] pc: create "PC" device class


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC 01/18] pc: create "PC" device class
Date: Wed, 03 Oct 2012 16:50:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

Il 03/10/2012 16:48, Eduardo Habkost ha scritto:
>> > 
>> > Does it need to be a Device, or can it be a normal Object (or for
>> > clarity a derivative of TYPE_CONTAINER)?
> It needs to be a Device because that's the only way to use global
> properties, today.
> 
> I have some experimental patches that allow normal objects to get global
> properties set (as long as an explicit call to a
> object_set_global_props() function is made). Would that be preferrable?

That's nice, though there would be the question of when to call the
function...  I suppose instance_init would do.

Paolo




reply via email to

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