Skip to content
Commit 14f47605 authored by Yu Zhao's avatar Yu Zhao Committed by Paolo Bonzini
Browse files

kvm: set page dirty only if page has been writable



In absence of shadow dirty mask, there is no need to set page dirty
if page has never been writable. This is a tiny optimization but
good to have for people who care much about dirty page tracking.

Signed-off-by: default avatarYu Zhao <yuzhao@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 14ebda33
Loading
Loading
Loading
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