qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/2] tcg: Move TCG arch-specific initialization


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 0/2] tcg: Move TCG arch-specific initialization inside TCG code
Date: Fri, 19 Dec 2014 11:29:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0


On 19/12/2014 10:47, Andreas Färber wrote:
> How do you imagine this to work with multiple CPU types? From the looks
> of it, this is for the target CPU, not the TCG architecture, so
> tcg_arch_init() limits us to one implementation unlike now.
> On the other hand it doesn't seem to be a per-CPU, i.e. CPUClass,
> initialization either...

I think these should go in a separate CPUClass method that is called by
tcg_exec_init (only for first_cpu now; later for all CPUs if each CPU
gets a separate tcg_ctx).

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]