[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 12/12] tests/migration: Enable the migration test
From: |
Juan Quintela |
Subject: |
Re: [Qemu-devel] [PULL 12/12] tests/migration: Enable the migration test on s390x, too |
Date: |
Thu, 13 Sep 2018 18:19:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Thomas Huth <address@hidden> wrote:
> On 2018-09-13 14:53, Juan Quintela wrote:
>> From: Thomas Huth <address@hidden>
>>
>> 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 <address@hidden>
>> Message-Id: <address@hidden>
>> Reviewed-by: Juan Quintela <address@hidden>
>> Acked-by: Cornelia Huck <address@hidden>
>> Signed-off-by: Juan Quintela <address@hidden>
>>
>> +a-b-bios.h: s390x.elf
>> + echo "$$__note" > header.tmp
>> + xxd -i $< | sed -e 's/.*int.*//' >> header.tmp
>> + mv header.tmp $@
>> +
>> +s390x.elf: a-b-bios.c
>> + $(CROSS_PREFIX)gcc $(CFLAGS) -I$(fwdir) $(fwdir)/start.S \
>> + $(fwdir)/sclp.c -o $@ $<
>
> Your modifications look basically fine to me, but please also strip the
> binary after compiling it, so that the header will be quite a bit smaller.
Oops, had it on the s390 and forgot to include it:
$(CROSS_PREFIX)strip --strip-unneded $@
Now sizes are similar.
Thanks, Juan.
- [Qemu-devel] [PULL 07/12] migration: use save_page_use_compression in flush_compressed_data, (continued)
- [Qemu-devel] [PULL 07/12] migration: use save_page_use_compression in flush_compressed_data, Juan Quintela, 2018/09/13
- [Qemu-devel] [PULL 04/12] Add a hint message to loadvm and exits on failure, Juan Quintela, 2018/09/13
- [Qemu-devel] [PULL 06/12] migration: show the statistics of compression, Juan Quintela, 2018/09/13
- [Qemu-devel] [PULL 05/12] migration: do not flush_compressed_data at the end of iteration, Juan Quintela, 2018/09/13
- [Qemu-devel] [PULL 08/12] tests/migration: Convert x86 boot block compilation script into Makefile, Juan Quintela, 2018/09/13
- [Qemu-devel] [PULL 10/12] tests/migration: Add migration-test header file, Juan Quintela, 2018/09/13
- [Qemu-devel] [PULL 09/12] tests/migration: Support cross compilation in generating boot header file, Juan Quintela, 2018/09/13
- [Qemu-devel] [PULL 11/12] tests: Add migration test for aarch64, Juan Quintela, 2018/09/13
- [Qemu-devel] [PULL 12/12] tests/migration: Enable the migration test on s390x, too, Juan Quintela, 2018/09/13
- Re: [Qemu-devel] [PULL 00/12] Migration queue, Peter Maydell, 2018/09/25