s390x/a-b-bios: zero the first byte of each page on start
commitb28e3ecf0de1bc77b6a1a520e3c223f37b5afce2
authorDaniil Tatianin <d-tatianin@yandex-team.ru>
Tue, 19 Sep 2023 10:23:46 +0000 (19 13:23 +0300)
committerJuan Quintela <quintela@redhat.com>
Wed, 4 Oct 2023 09:48:18 +0000 (4 11:48 +0200)
tree0adb1be229f40c5a7f7b5847c232ddf3b70360aa
parentadc1914a403e0ec89ebec4761ec8427668261c5b
s390x/a-b-bios: zero the first byte of each page on start

Same as with the x86 verison of this test, we relied on the contents of
all pages in RAM to be the same across the entire test range, which is
very fragile. Zero the first byte of each page before running the
increment loop to fix this.

Fixes: 5571dc824b ("tests/migration: Enable the migration test on s390x, too")
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20230919102346.2117963-4-d-tatianin@yandex-team.ru>
tests/migration/s390x/a-b-bios.c
tests/migration/s390x/a-b-bios.h