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>
Этот коммит содержится в:
Gleb Natapov
2009-06-09 15:56:28 +03:00
коммит произвёл Avi Kivity
родитель 1ed0ce000a
Коммит 73880c80aa
9 изменённых файлов: 55 добавлений и 33 удалений

Просмотреть файл

@@ -9,3 +9,6 @@ config HAVE_KVM_IRQCHIP
config HAVE_KVM_EVENTFD
bool
select EVENTFD
config KVM_APIC_ARCHITECTURE
bool