Re: [PATCH v2 4/6] KVM: Add arch hooks for enabling/disabling virtualization

From: Chao Gao
Date: Thu May 23 2024 - 01:32:08 EST


On Tue, May 21, 2024 at 07:28:25PM -0700, Sean Christopherson wrote:
>Add arch hooks that are invoked when KVM enables/disable virtualization.
>x86 will use the hooks to register an "emergency disable" callback, which
>is essentially an x86-specific shutdown notifier that is used when the
>kernel is doing an emergency reboot/shutdown/kexec.
>
>Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>

Reviewed-by: Chao Gao <chao.gao@xxxxxxxxx>