qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/3] migration-qtest: zero the first byte of each page on star


From: Daniil Tatianin
Subject: [PATCH v2 0/3] migration-qtest: zero the first byte of each page on start
Date: Tue, 19 Sep 2023 13:23:43 +0300

This series fixes an issue where the outcome of the migration qtest
relies on the initial memory contents all being the same across the
first 100MiB of RAM, which is a very fragile invariant.
 
We fix this by making sure we zero the first byte of every testable page
in range beforehand.

Changes since v1:
- Add a fix for the s390x test binary as well as suggested by Peter Xu

Daniil Tatianin (3):
  i386/a-b-bootblock: factor test memory addresses out into constants
  i386/a-b-bootblock: zero the first byte of each page on start
  s390x/a-b-bios: zero the first byte of each page on start

 tests/migration/i386/a-b-bootblock.S |  18 +-
 tests/migration/i386/a-b-bootblock.h |  16 +-
 tests/migration/s390x/a-b-bios.c     |   8 +
 tests/migration/s390x/a-b-bios.h     | 380 ++++++++++++++-------------
 4 files changed, 234 insertions(+), 188 deletions(-)

-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]