Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM/VMX: Avoid return error when flush tlb successfully in the hv_rem…
…ote_flush_tlb_with_range() The "ret" is initialized to be ENOTSUPP. The return value of __hv_remote_flush_tlb_with_range() will be Or with "ret" when ept table potiners are mismatched. This will cause return ENOTSUPP even if flush tlb successfully. This patch is to fix the issue and set "ret" to 0. Fixes: a5c214d ("KVM/VMX: Change hv flush logic when ept tables are mismatched.") Signed-off-by: Lan Tianyu <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
- Loading branch information