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

Philippe Mathieu-Daudé philmd at linaro.org
Thu Nov 3 18:12:05 AEDT 2022


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 at google.com>
> ---
>   arch/mips/kvm/mips.c | 9 +++++----
>   1 file changed, 5 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd at linaro.org>



More information about the Linuxppc-dev mailing list