]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb096613107ec233b7ffab0b1ae98bc842368a2a0
treed5bee5c87c3468feb941cc898e342f52c0adce19
parentcf697fa418dbafee04ca6a06135bc3ee61b996ee
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