KVM: Break dependency between vcpu index in vcpus array and vcpu_id.
authorGleb Natapov <gleb@redhat.com>
Tue, 9 Jun 2009 12:56:28 +0000 (15:56 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:52 +0000 (08:32 +0300)
commit73880c80aa9c8dc353cd0ad26579023213cd5314
treed5bee5c87c3468feb941cc898e342f52c0adce19
parent1ed0ce000a6c20c36ec649e32fc24393ef418ed8
KVM: Break dependency between vcpu index in vcpus array and vcpu_id.

Archs are free to use vcpu_id as they see fit. For x86 it is used as
vcpu's apic id. New ioctl is added to configure boot vcpu id that was
assumed to be 0 till now.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/include/asm/kvm_host.h
arch/ia64/kvm/Kconfig
arch/ia64/kvm/kvm-ia64.c
arch/ia64/kvm/vcpu.c
arch/x86/kvm/Kconfig
include/linux/kvm.h
include/linux/kvm_host.h
virt/kvm/Kconfig
virt/kvm/kvm_main.c