Re: [PATCH v16 01/23] cpu: Introduce TCGCpuOperations struct

2021-02-10 Thread Roman Bolshakov
On Wed, Feb 10, 2021 at 07:32:55AM -0500, Eduardo Habkost wrote: > On Wed, Feb 10, 2021 at 03:21:51PM +0300, Roman Bolshakov wrote: > > On Thu, Feb 04, 2021 at 05:39:09PM +0100, Claudio Fontana wrote: > > > From: Eduardo Habkost > > > > > > The TCG-specific CPU methods will be moved to a separate

Re: [PATCH v16 01/23] cpu: Introduce TCGCpuOperations struct

2021-02-10 Thread Eduardo Habkost
On Wed, Feb 10, 2021 at 03:21:51PM +0300, Roman Bolshakov wrote: > On Thu, Feb 04, 2021 at 05:39:09PM +0100, Claudio Fontana wrote: > > 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

Re: [PATCH v16 01/23] cpu: Introduce TCGCpuOperations struct

2021-02-10 Thread Claudio Fontana
On 2/10/21 1:21 PM, Roman Bolshakov wrote: > On Thu, Feb 04, 2021 at 05:39:09PM +0100, Claudio Fontana wrote: >> 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.

Re: [PATCH v16 01/23] cpu: Introduce TCGCpuOperations struct

2021-02-10 Thread Roman Bolshakov
On Thu, Feb 04, 2021 at 05:39:09PM +0100, Claudio Fontana wrote: > 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 C

[PATCH v16 01/23] cpu: Introduce TCGCpuOperations struct

2021-02-04 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