diff options
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | 2016-02-24 17:51:13 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-03 14:36:22 +0100 |
commit | 0eb05bf290cfe8610d9680b49abef37febd1c38a (patch) | |
tree | c3708bc310e6d9eb63f967fe27819b724c7064f2 /arch/x86/kvm/mmu.c | |
parent | e5691a81e830c12d396b3f219ab999be87a1208f (diff) | |
download | lwn-0eb05bf290cfe8610d9680b49abef37febd1c38a.tar.gz lwn-0eb05bf290cfe8610d9680b49abef37febd1c38a.zip |
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>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions