Skip to content
Commit 557abc40 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: remove kvm_vcpu_compatible



The new created_vcpus field makes it possible to avoid the race between
irqchip and VCPU creation in a much nicer way; just check under kvm->lock
whether a VCPU has already been created.

We can then remove KVM_APIC_ARCHITECTURE too, because at this point the
symbol is only governing the default definition of kvm_vcpu_compatible.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 6c7caebc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment