qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gitlab-ci: Check building KVM-only aarch64 target
@ 2023-01-19 15:56 Philippe Mathieu-Daudé
  2023-01-19 16:14 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-01-19 15:56 UTC (permalink / raw)
  To: qemu-devel
  Cc: Philippe Mathieu-Daudé, Fabiano Rosas,
	Wainer dos Santos Moschetta, Alex Bennée, Thomas Huth,
	Beraldo Leal, qemu-arm

gitlab-ci: Add KVM-only aarch64 cross-build job

Add a new job to cross-build the aarch64 target with
only the KVM accelerator enabled (in particular, no TCG).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
Based-on: <20230118193518.26433-1-farosas@suse.de>
          target/arm: CONFIG_TCG=n part 1

Successful job:
  https://gitlab.com/philmd/qemu/-/jobs/3630178191
  Duration: 15 minutes 25 seconds
---
 .gitlab-ci.d/crossbuilds.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.d/crossbuilds.yml b/.gitlab-ci.d/crossbuilds.yml
index 8dbbb8f881..fc78d36b31 100644
--- a/.gitlab-ci.d/crossbuilds.yml
+++ b/.gitlab-ci.d/crossbuilds.yml
@@ -210,3 +210,12 @@ cross-arm64-xen-only:
     IMAGE: debian-arm64-cross
     ACCEL: xen
     EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
+
+cross-arm64-kvm-only:
+  extends: .cross_accel_build_job
+  needs:
+    job: arm64-debian-cross-container
+  variables:
+    IMAGE: debian-arm64-cross
+    ACCEL: kvm
+    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-xen --without-default-devices
-- 
2.38.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gitlab-ci: Check building KVM-only aarch64 target
  2023-01-19 15:56 [PATCH] gitlab-ci: Check building KVM-only aarch64 target Philippe Mathieu-Daudé
@ 2023-01-19 16:14 ` Philippe Mathieu-Daudé
  2023-01-19 16:38   ` Alex Bennée
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-01-19 16:14 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fabiano Rosas, Wainer dos Santos Moschetta, Alex Bennée,
	Thomas Huth, Beraldo Leal, qemu-arm

On 19/1/23 16:56, Philippe Mathieu-Daudé wrote:
> gitlab-ci: Add KVM-only aarch64 cross-build job
> 
> Add a new job to cross-build the aarch64 target with
> only the KVM accelerator enabled (in particular, no TCG).
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> Based-on: <20230118193518.26433-1-farosas@suse.de>
>            target/arm: CONFIG_TCG=n part 1
> 
> Successful job:
>    https://gitlab.com/philmd/qemu/-/jobs/3630178191
>    Duration: 15 minutes 25 seconds

Alternatively we could move it to the custom aarch64 runner
in the qemu-project namespace...

> ---
>   .gitlab-ci.d/crossbuilds.yml | 9 +++++++++
>   1 file changed, 9 insertions(+)
> 
> diff --git a/.gitlab-ci.d/crossbuilds.yml b/.gitlab-ci.d/crossbuilds.yml
> index 8dbbb8f881..fc78d36b31 100644
> --- a/.gitlab-ci.d/crossbuilds.yml
> +++ b/.gitlab-ci.d/crossbuilds.yml
> @@ -210,3 +210,12 @@ cross-arm64-xen-only:
>       IMAGE: debian-arm64-cross
>       ACCEL: xen
>       EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
> +
> +cross-arm64-kvm-only:
> +  extends: .cross_accel_build_job
> +  needs:
> +    job: arm64-debian-cross-container
> +  variables:
> +    IMAGE: debian-arm64-cross
> +    ACCEL: kvm
> +    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-xen --without-default-devices



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gitlab-ci: Check building KVM-only aarch64 target
  2023-01-19 16:14 ` Philippe Mathieu-Daudé
@ 2023-01-19 16:38   ` Alex Bennée
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Bennée @ 2023-01-19 16:38 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Fabiano Rosas, Wainer dos Santos Moschetta,
	Thomas Huth, Beraldo Leal, qemu-arm


Philippe Mathieu-Daudé <philmd@linaro.org> writes:

> On 19/1/23 16:56, Philippe Mathieu-Daudé wrote:
>> gitlab-ci: Add KVM-only aarch64 cross-build job
>> Add a new job to cross-build the aarch64 target with
>> only the KVM accelerator enabled (in particular, no TCG).
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>> ---
>> Based-on: <20230118193518.26433-1-farosas@suse.de>
>>            target/arm: CONFIG_TCG=n part 1
>> Successful job:
>>    https://gitlab.com/philmd/qemu/-/jobs/3630178191
>>    Duration: 15 minutes 25 seconds
>
> Alternatively we could move it to the custom aarch64 runner
> in the qemu-project namespace...

Lets do that because we are under utilisied on that beefy box anyway and
it will save us shared CI minutes.

>
>> ---
>>   .gitlab-ci.d/crossbuilds.yml | 9 +++++++++
>>   1 file changed, 9 insertions(+)
>> diff --git a/.gitlab-ci.d/crossbuilds.yml
>> b/.gitlab-ci.d/crossbuilds.yml
>> index 8dbbb8f881..fc78d36b31 100644
>> --- a/.gitlab-ci.d/crossbuilds.yml
>> +++ b/.gitlab-ci.d/crossbuilds.yml
>> @@ -210,3 +210,12 @@ cross-arm64-xen-only:
>>       IMAGE: debian-arm64-cross
>>       ACCEL: xen
>>       EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-kvm
>> +
>> +cross-arm64-kvm-only:
>> +  extends: .cross_accel_build_job
>> +  needs:
>> +    job: arm64-debian-cross-container
>> +  variables:
>> +    IMAGE: debian-arm64-cross
>> +    ACCEL: kvm
>> +    EXTRA_CONFIGURE_OPTS: --disable-tcg --disable-xen --without-default-devices

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-19 16:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19 15:56 [PATCH] gitlab-ci: Check building KVM-only aarch64 target Philippe Mathieu-Daudé
2023-01-19 16:14 ` Philippe Mathieu-Daudé
2023-01-19 16:38   ` Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).