Skip to content
Commit ff990d59 authored by Uri Lublin's avatar Uri Lublin Committed by Avi Kivity
Browse files

KVM: Remove write access permissions when dirty-page-logging is enabled



Enabling dirty page logging is done using KVM_SET_MEMORY_REGION ioctl.
If the memory region already exists, we need to remove write accesses,
so writes will be caught, and dirty pages will be logged.

Signed-off-by: default avatarUri Lublin <uril@qumranet.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 02b27c1f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment