Re: [PATCH RFC 2/2] KVM: thread creating a vcpu is the owner of that vcpu

2014-12-03 Thread Paolo Bonzini
On 25/11/2014 17:04, David Hildenbrand wrote: > @@ -124,15 +124,6 @@ int vcpu_load(struct kvm_vcpu *vcpu) > > if (mutex_lock_killable(&vcpu->mutex)) > return -EINTR; > - if (unlikely(vcpu->pid != current->pids[PIDTYPE_PID].pid)) { > - /* The thread running th

Re: [PATCH RFC 2/2] KVM: thread creating a vcpu is the owner of that vcpu

2014-11-25 Thread Christian Borntraeger
Am 25.11.2014 um 17:04 schrieb David Hildenbrand: > Currently, we allow changing the PID of a VCPU. This PID is used to > identify the thread to yield to if we want to yield to this specific > VCPU. > > In practice (e.g. QEMU), the thread creating and executing the VCPU remains > always the same.