[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
- Re: [Qemu-devel] machines and versions - why so many?, (continued)
- Re: [Qemu-devel] machines and versions - why so many?, Marcel Apfelbaum, 2014/06/24
- Re: [Qemu-devel] machines and versions - why so many?, Peter Maydell, 2014/06/23
- Re: [Qemu-devel] machines and versions - why so many?, Paolo Bonzini, 2014/06/24
- Re: [Qemu-devel] machines and versions - why so many?, Alexey Kardashevskiy, 2014/06/24
- Re: [Qemu-devel] machines and versions - why so many?, Markus Armbruster, 2014/06/24
- Re: [Qemu-devel] machines and versions - why so many?, Alexey Kardashevskiy, 2014/06/24
- Re: [Qemu-devel] machines and versions - why so many?, Andreas Färber, 2014/06/24
- Re: [Qemu-devel] machines and versions - why so many?,
Alexey Kardashevskiy <=
Re: [Qemu-devel] machines and versions - why so many?, Markus Armbruster, 2014/06/23