Re: [Qemu-devel] KVM call minutes for Feb 8

Peter Maydell
2011-02-08T19:02:36Z

On 8 February 2011 17:13, Markus Armbruster <armbru@redhat.com> wrote:
> As far as qdev's concerned, I can see two kinds of to-dos:
>
> * Further develop qdev so that more of the machine init code can becomes
>  qdev declarations.  Specific ideas welcome.  Patches even more, as
>  always.
>
> * Convert the remaining devices.  They are typically used only with
>  oddball machines, which makes the conversion hard to test for anyone
>  who's not already using them.
>
>  I've said this before: at some point in time (sooner rather than
>  later, if you ask me), we need to shoot the stragglers.  I'm pretty
>  optimistic that any victims worth keeping will receive timely
>  attention then.

So on IRC pbrook wrote:
<pbrook> So we have a bunch of devices that nominally claim to use the
qdev infrastructure, but are still making assumptions that qdev was
supposed to remove, so break horribly when you actually try to use it
as intended.

...and my question is: where is the documentation on how to do
a good conversion of a device to qdev, how it works, what the
assumptions you can/can't make are, etc ? I can't see anything
relevant in the source tree or on the website, but maybe I'm just
looking in the wrong places...

-- PMM