• Paolo Bonzini's avatar
    KVM: remove kvm_vcpu_compatible · 557abc40
    Paolo Bonzini authored
    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>
    557abc40
x86.c 216 KB