[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v6 10/11] accel: introduce AccelCPUClass extending CPUClass
From: |
Claudio Fontana |
Subject: |
Re: [RFC v6 10/11] accel: introduce AccelCPUClass extending CPUClass |
Date: |
Fri, 27 Nov 2020 14:32:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
On 11/27/20 2:31 PM, Paolo Bonzini wrote:
> On 27/11/20 12:41, Claudio Fontana wrote:
>> This seems to be due to "-machine none", is machine none supposed to
>> have no default cpu_type? Is it expected that for machine none
>> current_machine->cpu_type is NULL, or is it a bug?
>
> "-machine none" has no CPU at all, so I think anything is acceptable.
> There's also the possibility of emulating big.LITTLE machines in the
> future with >1 cpu_type, so the cop out of doing it on the whole
> hierarchy is easiest.
>
> Paolo
>
Ok will take that route then.
Thanks!
Claudio
- [RFC v6 06/11] i386: move cpu dump out of helper.c into cpu-dump.c, (continued)
- [RFC v6 06/11] i386: move cpu dump out of helper.c into cpu-dump.c, Claudio Fontana, 2020/11/26
- [RFC v6 05/11] i386: move TCG accel files into tcg/, Claudio Fontana, 2020/11/26
- [RFC v6 04/11] i386: hvf: remove stale MAINTAINERS entry for old hvf stubs, Claudio Fontana, 2020/11/26
- [RFC v6 07/11] i386: move TCG cpu class initialization out of helper.c, Claudio Fontana, 2020/11/26
- [RFC v6 10/11] accel: introduce AccelCPUClass extending CPUClass, Claudio Fontana, 2020/11/26
Re: [RFC v6 10/11] accel: introduce AccelCPUClass extending CPUClass, Eduardo Habkost, 2020/11/27
[RFC v6 09/11] accel: replace struct CpusAccel with AccelOpsClass, Claudio Fontana, 2020/11/26
[RFC v6 11/11] i386: split cpu accelerators from cpu.c, using AccelCPUClass, Claudio Fontana, 2020/11/26