qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V5 0/4] tests: Add migration test for aarch64
@ 2018-02-23 21:58 Wei Huang
  2018-02-23 21:58 ` [Qemu-devel] [PATCH V5 1/4] rules: Move cross compilation auto detection functions to rules.mak Wei Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Wei Huang @ 2018-02-23 21:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: dgilbert, peter.maydell, quintela, drjones

This patchset adds a migration test for aarch64. It leverages
Dave Gilbert's recent patch "tests/migration: Add source to PC boot block"
to create a new test case for aarch64.

V4->V5:
 * Extract cross compilation detection code into rules.mak for sharing
 * Minor comment and code revision in migration-test.c & aarch64-a-b-kernel.S
 
V3->V4:
 * Rename .s to .S, allowing assembly to include C-style header file
 * Move test defines into a new migration-test.h file
 * Use different cpu & gic settings for kvm and tcg modes on aarch64
 * Clean up aarch64-a-b-kernel.S based on Andrew Jones' comments
 
V2->V3:
 * Convert build script to Makefile
 * Add cross-compilation support
 * Fix CPU type for "tcg" machine type
 * Revise asm code and the compilation process from asm to header file

V1->V2:
 * Similar to Dave Gilbert's recent changes to migration-test, we
   provide the test source and a build script in V2.
 * aarch64 kernel blob is defined as "unsigned char" because the source
   is now provided in V2.
 * Add "-machine none" to test_deprecated() because aarch64 doesn't have
   a default machine type.

RFC->V1:
 * aarch64 kernel blob is defined as an uint32_t array
 * The test code is re-written to address a data caching issue under KVM.
   Tests passed under both x86 and aarch64.
 * Re-use init_bootfile_x86() for both x86 and aarch64
 * Other minor fixes

Thanks,
-Wei

Wei Huang (4):
  rules: Move cross compilation auto detection functions to rules.mak
  tests/migration: Convert the boot block compilation script into
    Makefile
  tests/migration: Add migration-test header file
  tests: Add migration test for aarch64

 roms/Makefile                                      | 24 ++-----
 rules.mak                                          | 15 +++++
 tests/Makefile.include                             |  1 +
 tests/migration-test.c                             | 74 ++++++++++++++++------
 tests/migration/Makefile                           | 44 +++++++++++++
 tests/migration/aarch64-a-b-kernel.S               | 71 +++++++++++++++++++++
 tests/migration/aarch64-a-b-kernel.h               | 19 ++++++
 tests/migration/migration-test.h                   | 23 +++++++
 tests/migration/rebuild-x86-bootblock.sh           | 33 ----------
 .../{x86-a-b-bootblock.s => x86-a-b-bootblock.S}   | 12 ++--
 tests/migration/x86-a-b-bootblock.h                |  4 +-
 11 files changed, 244 insertions(+), 76 deletions(-)
 create mode 100644 tests/migration/Makefile
 create mode 100644 tests/migration/aarch64-a-b-kernel.S
 create mode 100644 tests/migration/aarch64-a-b-kernel.h
 create mode 100644 tests/migration/migration-test.h
 delete mode 100755 tests/migration/rebuild-x86-bootblock.sh
 rename tests/migration/{x86-a-b-bootblock.s => x86-a-b-bootblock.S} (88%)

-- 
2.14.3

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

end of thread, other threads:[~2018-02-27 16:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-23 21:58 [Qemu-devel] [PATCH V5 0/4] tests: Add migration test for aarch64 Wei Huang
2018-02-23 21:58 ` [Qemu-devel] [PATCH V5 1/4] rules: Move cross compilation auto detection functions to rules.mak Wei Huang
2018-02-26  9:07   ` Andrew Jones
2018-02-23 21:58 ` [Qemu-devel] [PATCH V5 2/4] tests/migration: Convert the boot block compilation script into Makefile Wei Huang
2018-02-26  9:07   ` Andrew Jones
2018-02-26 18:01   ` Dr. David Alan Gilbert
2018-02-26 18:28     ` Wei Huang
2018-02-27 11:38       ` Dr. David Alan Gilbert
2018-02-27 15:21         ` Wei Huang
2018-02-27 16:19           ` Dr. David Alan Gilbert
2018-02-23 21:58 ` [Qemu-devel] [PATCH V5 3/4] tests/migration: Add migration-test header file Wei Huang
2018-02-26  9:05   ` Andrew Jones
2018-02-26  9:38   ` Andrew Jones
2018-02-23 21:58 ` [Qemu-devel] [PATCH V5 4/4] tests: Add migration test for aarch64 Wei Huang
2018-02-26  9:30   ` Andrew Jones
2018-02-26  9:43     ` Andrew Jones

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).