Re: [RFC PATCH 1/3] kvm: keep track of which task is running a KVM vcpu

Chris Wright
2010-12-03T01:18:10Z

* Rik van Riel (riel@redhat.com) wrote:
> Keep track of which task is running a KVM vcpu. This helps us
> figure out later what task to wake up if we want to boost a
> vcpu that got preempted.
>
> Unfortunately there are no guarantees that the same task
> always keeps the same vcpu, so we can only track the task
> across a single "run" of the vcpu.

So shouldn't it confine to KVM_RUN? The other vcpu_load callers aren't
always a vcpu in a useful runnable state.