aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2023-02-17 07:53:18 +0800
committerSean Christopherson <[email protected]>2023-03-16 17:19:53 -0700
commited335278bd1282641748b2b0ca23291c457038ef (patch)
treed8272893185cd5044581101b78a701581af0eda4 /lib/mpi/mpi-mod.c
parent2c86c444e2751a867bfa6a059a80ba67ef9d441a (diff)
KVM: x86/mmu: Allow the roots to be invalid in FNAME(invlpg)
Don't assume the current root to be valid, just check it and remove the WARN(). Also move the code to check if the root is valid into FNAME(invlpg) to simplify the code. Signed-off-by: Lai Jiangshan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions