Re: [PATCH v3 10/11] KVM: x86/MMU: Require reboot permission to disable NX hugepages
From: Sean Christopherson
Date: Wed Mar 30 2022 - 14:02:18 EST
On Wed, Mar 30, 2022, Ben Gardon wrote:
> Ensure that the userspace actor attempting to disable NX hugepages has
> permission to reboot the system. Since disabling NX hugepages would
> allow a guest to crash the system, it is similar to reboot permissions.
This patch needs to be squashed with the patch that introduces the capability,
otherwise you're introdcuing a bug and then fixing it in the same series.