]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
KVM: Introduce kvm_vcpu_is_bsp() function.
authorGleb Natapov <gleb@redhat.com>
Tue, 9 Jun 2009 12:56:26 +0000 (15:56 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:51 +0000 (08:32 +0300)
commitc5af89b68abb26eea5e745f33228f4d672f115e5
treeaad12571ebedea7b869adbeec27e614c498715f4
parentd555c333aa544b222fe077adcd5dfea024b2c913
KVM: Introduce kvm_vcpu_is_bsp() function.

Use it instead of open code "vcpu_id zero is BSP" assumption.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c
arch/ia64/kvm/vcpu.c
arch/x86/kvm/i8254.c
arch/x86/kvm/i8259.c
arch/x86/kvm/lapic.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/ioapic.c
virt/kvm/kvm_main.c