On 06/24/2014 09:15 PM, Andreas Färber wrote: > Am 24.06.2014 07:21, schrieb Paolo Bonzini: >> Il 24/06/2014 00:33, Alexey Kardashevskiy ha scritto: >>> >>> I actually wonder if it is not going to be "-machine pseries-2.0" then >>> what >>> will it look like? "-machine pseries,qemucompat=2.0"? >> >> I would keep using pseries-2.0. >> >> There might be some class hierarchy, like >> >> spapr-machine >> spapr-machine-2.2 >> spapr-machine-2.1 >> >> I don't know what Andreas had in mind though, but you can check out >> Eduardo's patches for QOMifying the PC machines and take inspiration >> from there. That's probably a safe bet. > > That's pretty much what I meant, yes. (Eduardo, not Marcel then. :))
Aha. Eduardo, okaaaay :) I looked there, I fail to see why I should not cut-n-paste PC_COMPAT_XXX stuff to pseries and how that patchset helps me at all so any clues are very appreciated :) > Not sure about spapr-machine vs. spapr-machine-2.2, but > pseries-2.1-machine inheriting from and overriding properties of > pseries[-2.2]-machine definitely. Whatever works. -- Alexey