kvm: selftests: dirty_log_test: don't identity map the test mem
authorAndrew Jones <drjones@redhat.com>
Tue, 6 Nov 2018 13:57:07 +0000 (14:57 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Dec 2018 10:28:27 +0000 (11:28 +0100)
commitd4df5a15602e8edc2e90f5ee880de3cf7dbd92cd
tree07945b4ea906f6b9a1b1941cc56c6487a50b6650
parentb442324b581556e106010bb092dbb7e3ee25c94c
kvm: selftests: dirty_log_test: don't identity map the test mem

It isn't necessary and can even cause problems when testing high
guest physical addresses. This patch leaves the test memory id-
mapped by default, but when using '-t' the test memory virtual
addresses stay the same even though the physical addresses switch
to the topmost valid addresses.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
tools/testing/selftests/kvm/dirty_log_test.c