Re: [PATCH 2/3] kvm: rename last argument to kvm_get_dirty_log_protect

From: Junaid Shahid
Date: Mon Nov 26 2018 - 17:49:15 EST



On 11/26/2018 08:54 AM, Paolo Bonzini wrote:
> When manual dirty log reprotect will be enabled, kvm_get_dirty_log_protect's
> pointer argument will always be false on exit, because no TLB flush is needed
> until the manual re-protection operation. Rename it from "is_dirty" to "flush",
> which more accurately tells the caller what they have to do with it.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---
> arch/mips/kvm/mips.c | 6 +++---
> arch/x86/kvm/x86.c | 6 +++---
> include/linux/kvm_host.h | 2 +-
> virt/kvm/arm/arm.c | 6 +++---
> virt/kvm/kvm_main.c | 6 +++---
> 5 files changed, 13 insertions(+), 13 deletions(-)
>

Reviewed-by: Junaid Shahid <junaids@xxxxxxxxxx>