KVM: s390: Move hardware setup/unsetup to init/exit
authorSean Christopherson <seanjc@google.com>
Wed, 30 Nov 2022 23:08:50 +0000 (23:08 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Dec 2022 20:40:50 +0000 (15:40 -0500)
commite43f576225cfbf6f27f5aa82de7f338cb7272352
treea26d64cc6212bffb7833b9c39a08edfbc4e2da77
parentb801ef42149fe5cba21bb6fe80c6d8e4c031f990
KVM: s390: Move hardware setup/unsetup to init/exit

Now that kvm_arch_hardware_setup() is called immediately after
kvm_arch_init(), fold the guts of kvm_arch_hardware_(un)setup() into
kvm_arch_{init,exit}() as a step towards dropping one of the hooks.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Message-Id: <20221130230934.1014142-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/kvm-s390.c