On Mon, 4 Dec 2017 21:35:29 +0100 Christoffer Dall <cdall@xxxxxxxxxx> wrote: > From: Christoffer Dall <christoffer.dall@xxxxxxxxxx> > > Move vcpu_load() and vcpu_put() into the architecture specific > implementations of kvm_arch_vcpu_ioctl_set_sregs(). > > Signed-off-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx> > --- > arch/powerpc/kvm/book3s.c | 8 +++++++- > arch/powerpc/kvm/booke.c | 15 +++++++++++---- > arch/s390/kvm/kvm-s390.c | 4 ++++ > arch/x86/kvm/x86.c | 13 ++++++++++--- > virt/kvm/kvm_main.c | 2 -- > 5 files changed, 32 insertions(+), 10 deletions(-) With David's suggestions included: Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>