Skip to content

Commit 2dc516c

Browse files
committed
distro: add Gunyah-specific distro configuration
Enable selection of Gunyah-based virtualization as an alternative to KVM for platform validation across boards. Define qcom-distro-gunyah modeled after the KVM variant. It enables the 'gunyah' DISTRO_FEATURE and provides a dedicated configuration for Gunyah-based builds. Declare mutual exclusion between KVM and Gunyah using CONFLICT_DISTRO_FEATURES to prevent invalid configurations. Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
1 parent e83d9df commit 2dc516c

4 files changed

Lines changed: 21 additions & 0 deletions

File tree

ci/qcom-distro-gunyah.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json
2+
3+
header:
4+
version: 14
5+
includes:
6+
- ci/qcom-distro.yml
7+
8+
distro: qcom-distro-gunyah
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
DISTRO_FEATURES:append = " \
2+
gunyah \
3+
"
4+
5+
DISTRO_NAME:append = " (Gunyah-enabled)"
6+
7+
# Gunyah and KVM are mutually exclusive
8+
CONFLICT_DISTRO_FEATURES = "kvm"

conf/distro/include/qcom-distro-kvm.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ DISTRO_FEATURES:append = " \
33
"
44

55
DISTRO_NAME:append = " (KVM-enabled)"
6+
7+
# Gunyah and KVM are mutually exclusive
8+
CONFLICT_DISTRO_FEATURES = "gunyah"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require conf/distro/include/qcom-base.inc
2+
require conf/distro/include/qcom-distro-gunyah.inc

0 commit comments

Comments
 (0)