]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1f0e812f84bb9631a64c9edfb012c9fef58d404
tree07945b4ea906f6b9a1b1941cc56c6487a50b6650
parent1063b71023f6df814f3eeeb8e847f2f6e8ec0891
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