KVM: x86: hyper-v: Use common code for hypercall userspace exit
authorVipin Sharma <vipinsh@google.com>
Mon, 12 Dec 2022 18:37:15 +0000 (10:37 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 1 Feb 2023 21:41:44 +0000 (13:41 -0800)
commit1a9df3262a632020071327abf56e9243e4dd7bde
tree6f27a484d7c71882d1c2a3f37fa0abbc75924e28
parent2eb398df77a1bae6839df39193f6bca35ea65f87
KVM: x86: hyper-v: Use common code for hypercall userspace exit

Remove duplicate code to exit to userspace for hyper-v hypercalls and
use a common place to exit.

No functional change intended.

Signed-off-by: Vipin Sharma <vipinsh@google.com>
Suggested-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20221212183720.4062037-9-vipinsh@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/hyperv.c