x86/kvm: Unify kvm_pv_guest_cpu_reboot() with kvm_guest_cpu_offline()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 14 Apr 2021 12:35:44 +0000 (14:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 May 2021 10:06:11 +0000 (06:06 -0400)
commit384fc672f528d3b84eacd9a86ecf35df3363b8ba
tree7031df0de425023932a8a2750e31d40c2606e59f
parent3d6b84132d2a57b5a74100f6923a8feb679ac2ce
x86/kvm: Unify kvm_pv_guest_cpu_reboot() with kvm_guest_cpu_offline()

Simplify the code by making PV features shutdown happen in one place.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210414123544.1060604-6-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kernel/kvm.c