Re: [PATCH] KVM/VMX: Avoid return error when flush tlb successfully in the hv_remote_flush_tlb_with_range()

2019-01-11 Thread Radim Krčmář
2019-01-04 15:20+0800, lantianyu1...@gmail.com: > From: Lan Tianyu > > 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

[PATCH] KVM/VMX: Avoid return error when flush tlb successfully in the hv_remote_flush_tlb_with_range()

2019-01-03 Thread lantianyu1986
From: Lan Tianyu 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. Fix: