qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC] accel: add cpu_reset


From: Philippe Mathieu-Daudé
Subject: Re: [RFC] accel: add cpu_reset
Date: Tue, 23 Mar 2021 09:43:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

On 3/22/21 2:54 PM, Claudio Fontana wrote:
> On 3/22/21 2:42 PM, Philippe Mathieu-Daudé wrote:
>> On 3/22/21 2:27 PM, Claudio Fontana wrote:
>>> XXX
>>> ---
>>>  accel/accel-common.c        | 9 +++++++++
>>>  hw/core/cpu.c               | 3 ++-
>>>  include/hw/core/accel-cpu.h | 2 ++
>>>  include/qemu/accel.h        | 6 ++++++
>>>  target/i386/cpu.c           | 4 ----
>>>  target/i386/kvm/kvm-cpu.c   | 6 ++++++
>>>  6 files changed, 25 insertions(+), 5 deletions(-)
>>>
>>>
>>> This surprisingly works without moving cpu_reset() to a
>>> specific_ss module, even though
>>>
>>> accel-common.c is specific_ss,
>>> hw/core/cpu.c  is common_ss.
>>>
>>> How come the call to accel_reset_cpu works?
>>
>> Each CPU optionally calls cpu_reset() manually?
> 
> Hi Philippe, are you concerned about these calls?
> Or what are you highlighting here?
> 
> They in turn call cpu_reset() so we should be good right?

I guess I simply misunderstood your question :)



reply via email to

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