[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug |
Date: |
Tue, 27 Aug 2013 09:02:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 27/08/2013 08:37, Alexey Kardashevskiy ha scritto:
>>> So this is here to make sure we don't accidentally get out of halted state
>>> by an interrupt on that vcpu. Could you please somehow make that part
>>> obvious? Either by adding a comment or by only explicitly masking DEC and
>>> EE and a comment :).
>>>
>>>> + cs->exit_request = 1;
>>>
>>> This should probably be qemu_cpu_kick_self().
>>
>> Uh, no, I don't think so. This is there purely to make sure we exit
>> the inner loop, and actually test cpu_can_run() which will test
>> halted. AFAICT qemu_cpu_kick_self() won't do anything similar.
>
> rtas_stop_self() eventually returns to kvm_cpu_exec() which calls
> qemu_cpu_kick_self() and resets cs->exit_request before return so I do not
> really see the difference in behaviour. And actually both ways CPU stops in
> exactly the same way. What do I miss?
What about TCG?
Paolo
- [Qemu-ppc] [PATCH] spapr: support CPU hotplug, Alexey Kardashevskiy, 2013/08/23
- Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug, Alexander Graf, 2013/08/26
- Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug, David Gibson, 2013/08/26
- Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug, Alexey Kardashevskiy, 2013/08/27
- Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug,
Paolo Bonzini <=
- Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug, Alexey Kardashevskiy, 2013/08/27
- Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug, Alexander Graf, 2013/08/27
- Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug, Alexey Kardashevskiy, 2013/08/27
- Re: [Qemu-ppc] [PATCH] spapr: support CPU hotplug, Alexander Graf, 2013/08/27