Re: [PATCH] Set bit 1 in disabled processor's _STA

Glauber Costa
2009-05-18T00:42:46Z

On Sun, May 17, 2009 at 11:07:31PM +0300, Avi Kivity wrote:
> Gleb Natapov wrote:
>>
>> Theoretically we can provide different values for different OSes, but
>> this is just a guess work since there is no any documentation how CPU
>> hot-plug should work on x86.
>>
>
> ACPI in fact supports this, but I hope we don't have to do that.
I believe it actually makes sense. It may even ease the acception into upstream projects.
Note that cpu hotplug is totally non specified by ACPI. This implementation is "what linux
expects", and does not work on windows at all (and I imagine it may not work on other OSes
as well). For this case, it might make sense to provide different values for different OSes.