commit | 557abc40d121358883d2da8bc8bf976d6e8ec332 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Jun 13 14:50:04 2016 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 16 00:05:00 2016 +0200 |
tree | 2ff0bd1c4012d2b07eddc0078b7fd8c0d537cc1d | |
parent | 6c7caebc26c5f0b618f0ef6b851e9f5f27c3812f [diff] |
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: Paolo Bonzini <pbonzini@redhat.com>