Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: x86/PVM: Use 'current->active_mm' to obtain the host pgd
When building the PVM module as builtin, the 'current->mm' can be NULL since the current thread may be the swapper task, which is a kernel thread. Therefore, use 'current->active_mm' instead, as it should not be NULL. Signed-off-by: Hou Wenlong <[email protected]>
- Loading branch information