On 05/11/2015 02:42 PM, Paolo Bonzini wrote:
>
> On 11/05/2015 19:26, Andreas Färber wrote:
>> Another problem is that you're using object_new() in realize at all,
>> which means that it's too late for any management interface to tweak
>> properties on the new device. One possible solution would be to create
>> the object in a property setter, before realizing the object. Did you
>> look at how some of the other backends are implemented, such as rng?
> Note that this is not exactly a backend.  It's a different guest-visible
> I/O interface.  But there are no properties on the interface, so it's
> okay to create it at realize time.
>
> Paolo
I've debated this in my mind since I've been learning more about qemu. 
Some of
the bmc properties are being passed in to the interface and passed on to
the bmc.
Plus some IPMI systems have multiple interfaces that point to the same
bmc.  It
might be best to have the user create a bmc device then tie an interface
device to it.

If I do this, what is the acceptable way to look up another object this
way?  I hunted
a bit and didn't come up with anything clean.

Thanks,

-corey

Reply via email to