Re: [RFC v9 15/32] cpu: Introduce TCGCpuOperations struct

2020-12-09 Thread Alex Bennée
Claudio Fontana writes: > From: Eduardo Habkost > > The TCG-specific CPU methods will be moved to a separate struct, > to make it easier to move accel-specific code outside generic CPU > code in the future. Start by moving tcg_initialize(). > > The new CPUClass.tcg_opts field may eventually b

[RFC v9 15/32] cpu: Introduce TCGCpuOperations struct

2020-12-08 Thread Claudio Fontana
From: Eduardo Habkost The TCG-specific CPU methods will be moved to a separate struct, to make it easier to move accel-specific code outside generic CPU code in the future. Start by moving tcg_initialize(). The new CPUClass.tcg_opts field may eventually become a pointer, but keep it an embedded