On 06/12/2020 19.55, Philippe Mathieu-Daudé wrote:
> Cross-build ARM aarch64 target with KVM and TCG accelerators enabled.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> later this job will build KVM-only.
> ---
> .gitlab-ci.d/crossbuilds-kvm-arm.yml | 5 +++++
> .gitlab-ci.yml | 1 +
> MAINTAINERS | 1 +
> 3 files changed, 7 insertions(+)
> create mode 100644 .gitlab-ci.d/crossbuilds-kvm-arm.yml
>
> diff --git a/.gitlab-ci.d/crossbuilds-kvm-arm.yml b/.gitlab-ci.d/crossbuilds-kvm-arm.yml
> new file mode 100644
> index 00000000000..c74c6fdc9fb
> --- /dev/null
> +++ b/.gitlab-ci.d/crossbuilds-kvm-arm.yml
> @@ -0,0 +1,5 @@
> +cross-arm64-kvm:
> + extends: .cross_accel_build_job
> + variables:
> + IMAGE: debian-arm64-cross
> + TARGETS: aarch64-softmmu
Now that's a little bit surprising, I had expected that the KVM code is
already compiled by the "cross-arm64-system" job ... but looking at the
output of a corresponding pipeline, it says "KVM support: NO", see e.g.:
https://gitlab.com/qemu-project/qemu/-/jobs/883985039#L298
What's going wrong there? ... ah, well, it's because of the
"--target-list-exclude=aarch64-softmmu" in the template :-(
That was stupid. So instead of adding a new job, could you please simply
replace the aarch64-softmmu there by arm-softmmu?
Thanks,
Thomas