Received: from eggs.gnu.org ([2001:4830:134:3::10]:51694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsr6e-0007vT-Nu for qemu-devel@nongnu.org; Thu, 23 Aug 2018 11:01:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsr6Y-0005IQ-Q0 for qemu-devel@nongnu.org; Thu, 23 Aug 2018 11:01:04 -0400 References: <1535027120-26187-1-git-send-email-thuth@redhat.com> <20180823165410.5ff77164.cohuck@redhat.com> From: Thomas Huth Message-ID: <88336ca5-052d-5b18-4cbe-1fb3b7fd7197@redhat.com> Date: Thu, 23 Aug 2018 17:00:55 +0200 MIME-Version: 1.0 In-Reply-To: <20180823165410.5ff77164.cohuck@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tests/migration: Enable the migration test on s390x, too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: Juan Quintela , "Dr. David Alan Gilbert" , qemu-devel@nongnu.org, qemu-s390x@nongnu.org On 2018-08-23 16:54, Cornelia Huck wrote: > On Thu, 23 Aug 2018 14:25:20 +0200 > Thomas Huth wrote: > >> We can re-use the s390-ccw bios code to implement a small firmware >> for a s390x guest which prints out the "A" and "B" characters and >> modifies the memory, as required for the migration test. >> >> Signed-off-by: Thomas Huth >> --- >> tests/Makefile.include | 1 + >> tests/migration-test.c | 23 ++ >> tests/migration/s390x-a-b-rebuild.sh | 42 ++++ >> tests/migration/s390x-a-b.c | 35 +++ >> tests/migration/s390x-a-b.h | 427 +++++++++++++++++++++++++++++++++++ >> 5 files changed, 528 insertions(+) >> create mode 100755 tests/migration/s390x-a-b-rebuild.sh >> create mode 100644 tests/migration/s390x-a-b.c >> create mode 100644 tests/migration/s390x-a-b.h > > Hm, I wanted to comment that those new files should be added to the > MAINTAINERS file pattern (here as well :), but tests/migration does not > seem to have an entry in MAINTAINERS yet... Yeah, but that's a pre-existing problem... care to send a patch? >> diff --git a/tests/migration/s390x-a-b.h b/tests/migration/s390x-a-b.h >> new file mode 100644 >> index 0000000..eb1bab4 >> --- /dev/null >> +++ b/tests/migration/s390x-a-b.h >> @@ -0,0 +1,427 @@ >> +/* >> + * This file is automatically generated from tests/migration/s390x-a-b.c, edit >> + * that and then run tests/migration/s390x-a-b-rebuild.sh to update, and then >> + * remember to send both in your patch submission. >> + */ > > And here I assumed that this file would be lovingly hand-crafted :) I was just about to warm up my hardly existing assembler foo, when I noticed that it is easier to write C here ;-) > Acked-by: Cornelia Huck Thanks! Thomas