<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/migration/Makefile, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tests/migration/Makefile?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/migration/Makefile?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2018-10-11T18:58:26+00:00</updated>
<entry>
<title>migration-test: Only generate a single target architecture</title>
<updated>2018-10-11T18:58:26+00:00</updated>
<author>
<name>Juan Quintela</name>
</author>
<published>2018-09-13T13:23:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=36bd9e3c8b049cb9124e04ed8bf8f9451d63de03'/>
<id>urn:sha1:36bd9e3c8b049cb9124e04ed8bf8f9451d63de03</id>
<content type='text'>
Several changes:
- We only allow generate header "inside" the tree.  Why?  Because we
  need to connit the result, so it makes no sense to generate them on
  the build dir.
- We only generate a single target each time.  Getting all the
  cross-compilers correctly is an impossible task.  So know you do:
     make -C tests/migration $target (native)
     make CROSS_PREFIX=foo- -C tests/migratiion $target (cross)
  And you are done.

- If we are building out of tree, we have no data about if we are
  cross-compile or whatever.  So instead of guess what is happening,
  just do what I pointed on previous point.

Signed-off-by: Juan Quintela &lt;quintela@redhat.com&gt;
Message-Id: &lt;20180913132313.11370-1-quintela@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/migration: Enable the migration test on s390x, too</title>
<updated>2018-10-11T18:58:21+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2018-10-09T09:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5571dc824b3a8b9e890caa721a6938970e7596ed'/>
<id>urn:sha1:5571dc824b3a8b9e890caa721a6938970e7596ed</id>
<content type='text'>
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.

[quintela: Converted the compile script to Makefile rules]
Signed-off-by: Juan Quintela &lt;quintela@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;1539078677-25396-1-git-send-email-thuth@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Tested-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
  Fixed up Makefile since the aarch patch sneaked in first
</content>
</entry>
<entry>
<title>tests: Add migration test for aarch64</title>
<updated>2018-10-11T17:12:47+00:00</updated>
<author>
<name>Wei Huang</name>
</author>
<published>2018-10-04T16:08:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c02b37814cf6962b3320ab34e1b3a26a2323772f'/>
<id>urn:sha1:c02b37814cf6962b3320ab34e1b3a26a2323772f</id>
<content type='text'>
This patch adds migration test support for aarch64. The test code, which
implements the same functionality as x86, is booted as a kernel in qemu.
Here are the design choices we make for aarch64:

 * We choose this -kernel approach because aarch64 QEMU doesn't provide a
   built-in fw like x86 does. So instead of relying on a boot loader, we
   use -kernel approach for aarch64.
 * The serial output is sent to PL011 directly.
 * The physical memory base for mach-virt machine is 0x40000000. We change
   the start_address and end_address for aarch64.

In addition to providing the binary, this patch also includes the source
code and the build script in tests/migration/aarch64. So users can change
the source and/or re-compile the binary as they wish.

Reviewed-by: Juan Quintela &lt;quintela@redhat.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Tested-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Wei Huang &lt;wei@redhat.com&gt;
Message-Id: &lt;1538669326-28135-1-git-send-email-wei@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/migration: Support cross compilation in generating boot header file</title>
<updated>2018-09-26T12:19:03+00:00</updated>
<author>
<name>Wei Huang</name>
</author>
<published>2018-09-05T19:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d54927efdc93d0405c12ec94a9f466e41d8c3b52'/>
<id>urn:sha1:d54927efdc93d0405c12ec94a9f466e41d8c3b52</id>
<content type='text'>
Recently a new configure option, CROSS_CC_GUEST, was added to
$(TARGET)-softmmu/config-target.mak to support TCG-related tests. This
patch tries to leverage this option to support cross compilation when the
migration boot block file is being re-generated:

 * The x86 related files are moved to a new sub-dir (named ./i386).
 * A new top-layer Makefile is created in tests/migration/ directory.
   This Makefile searches and parses CROSS_CC_GUEST to generate CROSS_PREFIX.
   The CROSS_PREFIX, if available, is then passed to migration/$ARCH/Makefile.

Reviewed-by: Juan Quintela &lt;quintela@redhat.com&gt;
Signed-off-by: Wei Huang &lt;wei@redhat.com&gt;
Message-Id: &lt;1536174934-26022-3-git-send-email-wei@redhat.com&gt;
Signed-off-by: Juan Quintela &lt;quintela@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
</content>
</entry>
<entry>
<title>tests/migration: Convert x86 boot block compilation script into Makefile</title>
<updated>2018-09-26T11:28:12+00:00</updated>
<author>
<name>Wei Huang</name>
</author>
<published>2018-09-05T19:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fe7307740124347157286dc42fe60182d53efd2d'/>
<id>urn:sha1:fe7307740124347157286dc42fe60182d53efd2d</id>
<content type='text'>
The x86 boot block header currently is generated with a shell script.
To better support other CPUs (e.g. aarch64), we convert the script
into Makefile. This allows us to 1) support cross-compilation easily,
and 2) avoid creating a script file for every architecture.

Note that, in the new design, the cross compiler prefix can be specified by
setting the CROSS_PREFIX in "make" command. Also to allow gcc pre-processor
to include the C-style file correctly, it also renames the
x86-a-b-bootblock.s file extension from .s to .S.

Reviewed-by: Juan Quintela &lt;quintela@redhat.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Wei Huang &lt;wei@redhat.com&gt;
Message-Id: &lt;1536174934-26022-2-git-send-email-wei@redhat.com&gt;
Signed-off-by: Juan Quintela &lt;quintela@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
</content>
</entry>
</feed>
