lkml.org 
[lkml]   [2014]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/9] KVM: add kvm_arch_sched_in
On 19/08/14 22:35, Radim Krčmář wrote:

> --- a/virt/kvm/kvm_main.c
> +++ b/virt/kvm/kvm_main.c
> @@ -3123,6 +3123,8 @@ static void kvm_sched_in(struct preempt_notifier *pn, int cpu)
> if (vcpu->preempted)
> vcpu->preempted = false;
>
> + kvm_arch_sched_in(vcpu, cpu);
> +
> kvm_arch_vcpu_load(vcpu, cpu);
> }
>

Why cant you reuse kvm_arch_vcpu_load? Its also called on each sched_in and is architecture specific.

Christian

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2014-08-20 10:21    [W:1.913 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site