Skip to content
Snippets Groups Projects
Commit e9e51b71 authored by Eduardo Habkost's avatar Eduardo Habkost Committed by Richard Henderson
Browse files

cpu: Introduce TCGCpuOperations struct


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 struct for now, to make code conversion
easier.

Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
[claudio: move TCGCpuOperations inside include/hw/core/cpu.h]
Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Message-Id: <20210204163931.7358-2-cfontana@suse.de>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 2f74f45e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment