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

Aurelien Jarno
2011-02-08T19:30:37Z

On Tue, Feb 08, 2011 at 06:13:53PM +0100, Markus Armbruster wrote:
> Chris Wright <chrisw@redhat.com> writes:
>
> [...]
> > - qdev/vmstate both examples of partially completed work that need more
> > attention
>
> 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.
>

For those oddball machines, qdev doesn't really bring anything, that's
why there is so little interest in converting them, and why I prefer to
spend my time on the emulation correctness than converting those
remaining to qdev. Of course I agree it's something to do, and with an
unlimited amount of free time, I'll do them immediately.

Let's take for example the SH4 target. It's nice to be able to create
the whole machine from a script, except your kernel won't boot if the
machine:
- has a different cpu
- doesn't a SM501 chipset
- has not the correct memory size
- doesn't have 2 serial port

That basically only leaves the PCI and USB devices configurable, but
those are already using qdev.

--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net