diff options
author | Gleb Natapov <gleb@redhat.com> | 2009-06-09 14:56:28 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 07:32:52 +0200 |
commit | 73880c80aa9c8dc353cd0ad26579023213cd5314 (patch) | |
tree | d5bee5c87c3468feb941cc898e342f52c0adce19 /arch/ia64/include | |
parent | KVM: Use pointer to vcpu instead of vcpu_id in timer code. (diff) | |
download | linux-73880c80aa9c8dc353cd0ad26579023213cd5314.tar.xz linux-73880c80aa9c8dc353cd0ad26579023213cd5314.zip |
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>
Diffstat (limited to 'arch/ia64/include')
-rw-r--r-- | arch/ia64/include/asm/kvm_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/kvm_host.h b/arch/ia64/include/asm/kvm_host.h index 5f43697aed30..9cf1c4b1f92f 100644 --- a/arch/ia64/include/asm/kvm_host.h +++ b/arch/ia64/include/asm/kvm_host.h @@ -465,7 +465,6 @@ struct kvm_arch { unsigned long metaphysical_rr4; unsigned long vmm_init_rr; - int online_vcpus; int is_sn2; struct kvm_ioapic *vioapic; |