Re: [Qemu-devel] [RFC 03/15] kvm: set vcpu_id to APIC ID instead of CPU index

2012-08-13 Thread Eduardo Habkost
On Mon, Aug 13, 2012 at 09:16:52PM +0200, Igor Mammedov wrote: > On 08/07/2012 09:56 PM, Eduardo Habkost wrote: > >The CPU ID in KVM is supposed to be the APIC ID, so change the > >KVM_CREATE_VCPU call to match it. It didn't break anything yet because > >today the APIC ID is assumed to be == the CP

Re: [Qemu-devel] [RFC 03/15] kvm: set vcpu_id to APIC ID instead of CPU index

2012-08-13 Thread Igor Mammedov
On 08/07/2012 09:56 PM, Eduardo Habkost wrote: The CPU ID in KVM is supposed to be the APIC ID, so change the KVM_CREATE_VCPU call to match it. It didn't break anything yet because today the APIC ID is assumed to be == the CPU index, but this won't be true in the future. What it would break if A

[Qemu-devel] [RFC 03/15] kvm: set vcpu_id to APIC ID instead of CPU index

2012-08-07 Thread Eduardo Habkost
The CPU ID in KVM is supposed to be the APIC ID, so change the KVM_CREATE_VCPU call to match it. It didn't break anything yet because today the APIC ID is assumed to be == the CPU index, but this won't be true in the future. Signed-off-by: Eduardo Habkost --- kvm-all.c | 2 +- 1 file changed, 1