[PATCH v3 02/16] KVM: Prepare for moving vcpu_load/vcpu_put into arch specific code

Cornelia Huck cohuck at redhat.com
Mon Dec 11 03:57:49 PST 2017


On Mon,  4 Dec 2017 21:35:24 +0100
Christoffer Dall <cdall at kernel.org> wrote:

> From: Christoffer Dall <christoffer.dall at linaro.org>
> 
> In preparation for moving calls to vcpu_load() and vcpu_put() into the
> architecture specific implementations of the KVM vcpu ioctls, move the
> calls in the main kvm_vcpu_ioctl() dispatcher function to each case
> of the ioctl select statement.  This allows us to move the vcpu_load()
> and vcpu_put() calls into architecture specific implementations of vcpu
> ioctls, one by one.
> 
> Reviewed-by: David Hildenbrand <david at redhat.com>
> Signed-off-by: Christoffer Dall <christoffer.dall at linaro.org>
> ---
>  virt/kvm/kvm_main.c | 26 ++++++++++++++++++++++++--
>  1 file changed, 24 insertions(+), 2 deletions(-)

Reviewed-by: Cornelia Huck <cohuck at redhat.com>



More information about the linux-arm-kernel mailing list