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

2022-11-03 Thread Philippe Mathieu-Daudé
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 --- arch/mips/kvm/mips.c | 9 + 1 file chan

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

2022-11-02 Thread Sean Christopherson
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 --- arch/mips/kvm/mips.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git