Improvements of cpreg emulation apart, we will still need to tackle with the great amount of registers not migrated because generated by a wildcarded register; some of these registers are in fact migrated by KVM. I think that the idea of keeping a reference to the generator register (i.e. the only register which is migrated in a wildcarded case) could be considered to handle the migration.
alvise On Wed, Feb 26, 2014 at 11:04 AM, Peter Maydell <peter.mayd...@linaro.org>wrote: > On 26 February 2014 10:02, alvise rigo <a.r...@virtualopensystems.com> > wrote: > > I agree that this is a sort of workaround, but it seems to me that a > > proper solution is not possible without changing the ideas contemplated > > now in the migration code. > > Are we willing to accept some major changes in the code to embrace > > this type of migration? > > Well, the migration code as it stands is in theory supposed to cope > with KVM<->TCG migration. I would expect that we'd need to improve > a number of places where our TCG cpreg emulation is wrong. > > thanks > -- PMM >