diff options
author | Kai Huang <kai.huang@linux.intel.com> | 2015-01-28 10:54:27 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-29 15:31:41 +0100 |
commit | 88178fd4f7187bbe290c5d373fd44aabec891934 (patch) | |
tree | 997b40341e4dccca84af8a570e33a493120f402d /arch/x86/kvm/vmx.c | |
parent | 1c91cad42366ce0799ca17e7ad6995418741d012 (diff) |
KVM: x86: Add new dirty logging kvm_x86_ops for PML
This patch adds new kvm_x86_ops dirty logging hooks to enable/disable dirty
logging for particular memory slot, and to flush potentially logged dirty GPAs
before reporting slot->dirty_bitmap to userspace.
kvm x86 common code calls these hooks when they are available so PML logic can
be hidden to VMX specific. SVM won't be impacted as these hooks remain NULL
there.
Signed-off-by: Kai Huang <kai.huang@linux.intel.com>
Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
0 files changed, 0 insertions, 0 deletions