qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] machines and versions - why so many?


From: Alexey Kardashevskiy
Subject: Re: [Qemu-devel] machines and versions - why so many?
Date: Tue, 24 Jun 2014 22:56:10 +1000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 06/24/2014 09:22 PM, Andreas Färber wrote:
> Am 24.06.2014 10:17, schrieb Markus Armbruster:
>> Back then gerd created a way to do the compatibility stuff without
>> getting into the other target's hair: compat_props.  They've served us
>> well enough, but now that more targets get interested in migration,
>> their shortcomings start to hurt.  Having to duplicate device
>> compatibility gunk in multiple places, all far away from the device, is
>> decidedly suboptimal.  Better ideas welcome.
> 
> Might it make sense to reconsider the proposed machine type hierarchy
> and have machine-2.2 <- pc-i440fx-2.2, with global properties in
> machine-x.y types and pc_compat_x_y() taking care of PC inheritence? We
> can't inherit from both pc-x.y and machine-x.y though, so probably not,
> just throwing thoughts around.


I wanted to suggest this but I do not want even think about multiple
inheritance in QOM :)

And in fact all I would possibly want for pseries from those versioned PCs
is those PC_COMPAT_X_Y things with enforced device properties.


-- 
Alexey



reply via email to

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