Skip to content
Snippets Groups Projects
Commit b5f5fdca authored by Xiaoguang Chen's avatar Xiaoguang Chen Committed by Paolo Bonzini
Browse files

KVM: x86: add track_flush_slot page track notifier


When a memory slot is being moved or removed users of page track
can be notified. So users can drop write-protection for the pages
in that memory slot.

This notifier type is needed by KVMGT to sync up its shadow page
table when memory slot is being moved or removed.

Register the notifier type track_flush_slot to receive memslot move
and remove event.

Reviewed-by: default avatarXiao Guangrong <guangrong.xiao@intel.com>
Signed-off-by: default avatarChen Xiaoguang <xiaoguang.chen@intel.com>
[Squashed commits to avoid bisection breakage and reworded the subject.]
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent 23611332
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment