Re: [PATCH 21/44] KVM: MIPS: Register die notifier prior to kvm_init()

From: Philippe Mathieu-Daudé
Date: Thu Nov 03 2022 - 03:13:16 EST


On 3/11/22 00:18, Sean Christopherson wrote:
Call kvm_init() only after _all_ setup is complete, as kvm_init() exposes
/dev/kvm to userspace and thus allows userspace to create VMs (and call
other ioctls).

Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
---
arch/mips/kvm/mips.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>