OSDN Git Service

KVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops
authorLan Tianyu <Tianyu.Lan@microsoft.com>
Thu, 6 Dec 2018 13:21:04 +0000 (21:21 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Dec 2018 10:28:38 +0000 (11:28 +0100)
commita49b96352e68368c2e6784d13b0b4b7b8d830922
tree0274fdd423b0b3433a155e107bfb9d4180c3d5cb
parentee85dec2fe9c860c40f6e2e1d53052b80f36cd58
KVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops

Add flush range call back in the kvm_x86_ops and platform can use it
to register its associated function. The parameter "kvm_tlb_range"
accepts a single range and flush list which contains a list of ranges.

Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h