qemu-devel
[Top][All Lists]
Advanced

[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: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 02/17] ipmi: Add a PC ISA type structure
Date: Mon, 11 May 2015 21:42:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0


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



reply via email to

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