qemu-devel
[Top][All Lists]
Advanced

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]