qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] migration-qtest: zero the first byte of each page on start
@ 2023-09-19 10:23 Daniil Tatianin
  2023-09-19 10:23 ` [PATCH v2 1/3] i386/a-b-bootblock: factor test memory addresses out into constants Daniil Tatianin
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Daniil Tatianin @ 2023-09-19 10:23 UTC (permalink / raw)
  To: Juan Quintela
  Cc: Peter Xu, Leonardo Bras, qemu-devel, qemu-s390x, Daniil Tatianin

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-10-04  8:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 10:23 [PATCH v2 0/3] migration-qtest: zero the first byte of each page on start Daniil Tatianin
2023-09-19 10:23 ` [PATCH v2 1/3] i386/a-b-bootblock: factor test memory addresses out into constants Daniil Tatianin
2023-09-26 21:22   ` Vladimir Sementsov-Ogievskiy
2023-10-02  7:24   ` Daniil Tatianin
2023-10-04  8:50   ` Juan Quintela
2023-09-19 10:23 ` [PATCH v2 2/3] i386/a-b-bootblock: zero the first byte of each page on start Daniil Tatianin
2023-09-26 21:23   ` Vladimir Sementsov-Ogievskiy
2023-10-04  8:53   ` Juan Quintela
2023-09-19 10:23 ` [PATCH v2 3/3] s390x/a-b-bios: " Daniil Tatianin
2023-09-26 21:25   ` Vladimir Sementsov-Ogievskiy
2023-10-04  8:53   ` Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).