[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] provide cpu_index to env mapping
From: |
Glauber Costa |
Subject: |
Re: [Qemu-devel] [PATCH] provide cpu_index to env mapping |
Date: |
Tue, 9 Jun 2009 13:52:21 -0300 |
User-agent: |
Jack Bauer |
On Tue, Jun 09, 2009 at 07:42:42PM +0300, Avi Kivity wrote:
> Glauber Costa wrote:
>> On Tue, Jun 09, 2009 at 07:25:02PM +0300, Avi Kivity wrote:
>>
>>> Glauber Costa wrote:
>>>
>>>> There are some people interested in, given a cpu number,
>>>> pick its CPUState. KVM is an example, although not yet in tree.
>>>> This patch provides a way of doing that.
>>>>
>>>>
>>> I think it's better to migrate kvm towards using env as the handle
>>> instead of the cpu index.
>>>
>> btw: the particular user of this is cpu hotplug.
>>
>
> Well, cpu hotplug should definitely use the apic id.
yes.