kvm: accept non-mapped memory in kvm_dirty_pages_log_change
commitea8cb1a8d98f5e3822a23a7cecdb4add0f29178b
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Apr 2015 12:51:31 +0000 (27 14:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jun 2015 15:09:59 +0000 (5 17:09 +0200)
treeb70a1eb90cccc738000dd117e5d7d168fc4c6fa1
parent677e7805cf95f3b2bca8baf0888d1ebed7f0c606
kvm: accept non-mapped memory in kvm_dirty_pages_log_change

It is okay if memory is not mapped into the guest but has dirty logging
enabled.  When this happens, KVM will not do anything and only accesses
from the host will be logged.

This can be triggered by iofuzz.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
kvm-all.c