qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Wei Huang <wei@redhat.com>
To: qemu-devel@nongnu.org
Cc: dgilbert@redhat.com, peter.maydell@linaro.org,
	quintela@redhat.com, drjones@redhat.com
Subject: [Qemu-devel] [PATCH V3 0/2] tests: Add migration test for aarch64
Date: Thu, 15 Feb 2018 01:07:23 -0500	[thread overview]
Message-ID: <1518674845-6517-1-git-send-email-wei@redhat.com> (raw)

This is a new version of migration-test for aarch64. This version needs to
be applied on top of Dave Gilbert's recent patch "[v4] tests/migration: Add
source to PC boot block".

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 (2):
  tests/migration: Convert the boot block compilation script into
    Makefile
  tests: Add migration test for aarch64

 tests/Makefile.include                   |  1 +
 tests/migration-test.c                   | 39 ++++++++++++++---
 tests/migration/Makefile                 | 46 ++++++++++++++++++++
 tests/migration/aarch64-a-b-kernel.h     | 19 ++++++++
 tests/migration/aarch64-a-b-kernel.s     | 74 ++++++++++++++++++++++++++++++++
 tests/migration/rebuild-x86-bootblock.sh | 34 ---------------
 tests/migration/x86-a-b-bootblock.h      |  2 +-
 7 files changed, 174 insertions(+), 41 deletions(-)
 create mode 100644 tests/migration/Makefile
 create mode 100644 tests/migration/aarch64-a-b-kernel.h
 create mode 100644 tests/migration/aarch64-a-b-kernel.s
 delete mode 100755 tests/migration/rebuild-x86-bootblock.sh

-- 
1.8.3.1

             reply	other threads:[~2018-02-15  6:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-15  6:07 Wei Huang [this message]
2018-02-15  6:07 ` [Qemu-devel] [PATCH V3 1/2] tests/migration: Convert the boot block compilation script into Makefile Wei Huang
2018-02-15  6:07 ` [Qemu-devel] [PATCH V3 2/2] tests: Add migration test for aarch64 Wei Huang
2018-02-15 10:09   ` Andrew Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1518674845-6517-1-git-send-email-wei@redhat.com \
    --to=wei@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=drjones@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).