KVM: drop bsp_vcpu pointer from kvm struct
[linux-flexiantxendom0-3.2.10.git] / virt / kvm / kvm_main.c
index d8bac07..0835c4b 100644 (file)
@@ -1743,10 +1743,6 @@ static int kvm_vm_ioctl_create_vcpu(struct kvm *kvm, u32 id)
        smp_wmb();
        atomic_inc(&kvm->online_vcpus);
 
-#ifdef CONFIG_KVM_APIC_ARCHITECTURE
-       if (kvm->bsp_vcpu_id == id)
-               kvm->bsp_vcpu = vcpu;
-#endif
        mutex_unlock(&kvm->lock);
        return r;