kvm: selftests: dirty_log_test: reset guest test phys offset
authorAndrew Jones <drjones@redhat.com>
Tue, 6 Nov 2018 13:57:09 +0000 (14:57 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Dec 2018 10:28:28 +0000 (11:28 +0100)
commitfd3f6f813976620553e951eb10d3a11b673a8131
tree7b4fd0b6378cc66c8cf187ca372ec94e866043eb
parent6498e1da84daec4b3ef97e2174b07ea0af3ff06e
kvm: selftests: dirty_log_test: reset guest test phys offset

We need to reset the offset for each mode as it will change
depending on the number of guest physical address bits.

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