Skip to contentSkip to conversation

gitlab-ci: Check building KVM-only aarch64 target

PATCH Superseded Philippe Mathieu-Daudé 2 participants 3 messages Jan 19, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitlab-ci: Check building KVM-only aarch64 target

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

---
Based-on: <[email protected]>
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(+)
.gitlab-ci.d/crossbuilds.yml +9 -0
index 8dbbb8f881..fc78d36b31 100644
@@ -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
Signature · 1 line
2.38.1
#1 lore raw
Quoted 5 lines · Philippe Mathieu-Daudé

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

Quoted 8 lines

---
Based-on: <[email protected]>
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...

Quoted 21 lines
---
  .gitlab-ci.d/crossbuilds.yml | 9 +++++++++
  1 file changed, 9 insertions(+)
.gitlab-ci.d/crossbuilds.yml +9 -0
index 8dbbb8f881..fc78d36b31 100644
@@ -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 lore raw
Quoted 12 lines · Philippe Mathieu-Daudé
Quoted 10 lines · Philippe Mathieu-Daudé

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

---
Based-on: <[email protected]>
target/arm: CONFIG_TCG=n part 1
Successful job:
https://gitlab.com/philmd/qemu/-/jobs/3630178191
Duration: 15 minutes 25 seconds

Quoted 2 lines

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.

Quoted 22 lines
Quoted 22 lines
---
  .gitlab-ci.d/crossbuilds.yml | 9 +++++++++
  1 file changed, 9 insertions(+)
.gitlab-ci.d/crossbuilds.yml +9 -0
index 8dbbb8f881..fc78d36b31 100644
@@ -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
Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro