-
- Downloads
KVM: page track: add notifier support
Notifier list is introduced so that any node wants to receive the track event can register to the list Two APIs are introduced here: - kvm_page_track_register_notifier(): register the notifier to receive track event - kvm_page_track_unregister_notifier(): stop receiving track event by unregister the notifier The callback, node->track_write() is called when a write access on the write tracked page happens Signed-off-by:Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- arch/x86/include/asm/kvm_host.h 1 addition, 0 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/include/asm/kvm_page_track.h 39 additions, 0 deletionsarch/x86/include/asm/kvm_page_track.h
- arch/x86/kvm/page_track.c 70 additions, 0 deletionsarch/x86/kvm/page_track.c
- arch/x86/kvm/x86.c 4 additions, 0 deletionsarch/x86/kvm/x86.c
Loading
Please register or sign in to comment