[PATCH v2] KVM: x86: put vcpu_create under kvm->srcu critical section

2015-09-21 Thread Paolo Bonzini
This is needed in case vcpu_create wants to access the memslots array. Fixes this lockdep splat: [26421.303750] === [26421.307952] [ INFO: suspicious RCU usage. ] [26421.312161] 4.3.0-rc1+ #1 Not tainted [26421.312161] --- [26421.312162]

Re: [PATCH v2] KVM: x86: put vcpu_create under kvm->srcu critical section

2015-09-21 Thread Borislav Petkov
On Mon, Sep 21, 2015 at 08:02:56AM +0200, Paolo Bonzini wrote: > This is needed in case vcpu_create wants to access the memslots array. > Fixes this lockdep splat: > > [26421.303750] === > [26421.307952] [ INFO: suspicious RCU usage. ] > [26421.312161] 4.3.0-rc1+ #1