[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 02/17] ipmi: Add a PC ISA type structure

From: Corey Minyard
Subject: Re: [Qemu-devel] [PATCH 02/17] ipmi: Add a PC ISA type structure
Date: Mon, 11 May 2015 14:58:46 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

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.



reply via email to

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