Skip to contentSkip to conversation

package/jailhouse: remove package

PATCH In review Thomas Petazzoni via buildroot 2 participants 2 messages Oct 20 – Oct 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/jailhouse: remove package

jailhouse fails to build against recent Linux kernel versions:

driver/sysfs.c:571:17: error: initialization of 'ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t ' {aka 'long int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, long unsigned int)'} from incompatible p ointer type 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' {aka 'long int (*)(struct file *, struct
kobject *, struct bin_attribute *, char *, long long int, long unsigned int)'} [-Wincompatible-pointer-types]
571 | .read = core_show,

      |                 ^~~~~~~~~

[...]

driver/pci.c: In function 'create_vpci_of_overlay':
driver/pci.c:336:13: error: too few arguments to function 'of_overlay_fdt_apply'; expected 4, have 3
336 | if (of_overlay_fdt_apply(__dtb_vpci_template_begin,

      |             ^~~~~~~~~~~~~~~~~~~~

However, the project seems to be unmaintained: there has been no commits for the past 4 years in the upstream Git repository at
https://github.com/siemens/jailhouse/.

Since maintaining an hypervisor like this requires keeping up with Linux kernel changes, seeing the project being inactive for the past 4 years makes it basically unusable, which is why we're removing it.

There are a number of autobuilder failures related to jailhouse for the same reason.

---
 Config.in.legacy                              |   7 ++
 DEVELOPERS                                    |   2 -
 package/Config.in                             |   1 -
 .../0001-YOCIMX-9281-1-Fix-gcc15-errors.patch | 119 ------------------
 ...81-2-hypervisor-arm64-fix-strh-usage.patch |  38 ------
 package/jailhouse/Config.in                   |  28 -----
 package/jailhouse/jailhouse.hash              |   3 -
 package/jailhouse/jailhouse.mk                |  71 -----------
 .../testing/tests/package/test_jailhouse.py   | 103 ---------------
 9 files changed, 7 insertions(+), 365 deletions(-)
 delete mode 100644 package/jailhouse/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch
 delete mode 100644 package/jailhouse/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch
 delete mode 100644 package/jailhouse/Config.in
 delete mode 100644 package/jailhouse/jailhouse.hash
 delete mode 100644 package/jailhouse/jailhouse.mk
 delete mode 100644 support/testing/tests/package/test_jailhouse.py
Config.in.legacy +7 -0
index db320ea981..566f723ac4 100644
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2026.11"
 
+config BR2_PACKAGE_JAILHOUSE
+	bool "jailhouse"
+	select BR2_LEGACY
+	help
+	  jailhouse has been removed. It was no longer maintained
+	  upstream.
+
 config BR2_PACKAGE_IFENSLAVE
 	bool "ifenslave"
 	select BR2_LEGACY
DEVELOPERS +0 -2
index 0f52ba2267..1d8869f09c 100644
@@ -602,7 +602,6 @@ F:	configs/ti_am62x_sk_defconfig
 F:	configs/ti_am64x_sk_defconfig
 
 N:	Carlo Caione <[email protected]>
-F:	package/jailhouse/
 F:	package/sunxi-boards/
 
 N:	Carsten Schoenert <[email protected]>
@@ -1962,7 +1961,6 @@ F:	support/testing/tests/package/test_iperf3.py
 F:	support/testing/tests/package/test_iproute2.py
 F:	support/testing/tests/package/test_iptables.py
 F:	support/testing/tests/package/test_iputils.py
-F:	support/testing/tests/package/test_jailhouse.py
 F:	support/testing/tests/package/test_jq.py
 F:	support/testing/tests/package/test_jq/
 F:	support/testing/tests/package/test_kexec.py
package/Config.in +0 -1
index 6615c2b2af..54af5e7450 100644
@@ -2856,7 +2856,6 @@ menu "System tools"
 	source "package/iotop/Config.in"
 	source "package/iprutils/Config.in"
 	source "package/irqbalance/Config.in"
-	source "package/jailhouse/Config.in"
 	source "package/keyutils/Config.in"
 	source "package/kmod/Config.in"
 	source "package/kmon/Config.in"
package/jailhouse/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch deleted +0 -119

119 lines not on this page · raw message

package/jailhouse/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch deleted +0 -38
deleted file mode 100644
index 9b75b8bdbe..0000000000
@@ -1,38 +0,0 @@
-From bc09bd33a23f9599b0cb4596a0b7f5c601a74c75 Mon Sep 17 00:00:00 2001
-From: Peng Fan <[email protected]>
-Date: Mon, 25 Aug 2025 09:48:05 +0800
-Subject: [PATCH] YOCIMX-9281-2: hypervisor: arm64: fix strh usage
-
-hypervisor/arch/arm64/entry.S:555: Error: immediate offset out of range
-
-Per ARM spec:
-STRH (immediate)
-<pimm> Is the optional positive immediate byte offset, a multiple of 2 in
-the range 0 to 8190, defaulting to 0 and encoded in the "imm12" field
-as <pimm>/2.
-
-So align sdei_event to 2 bytes aligned.
-
-Upstream: https://github.com/nxp-imx/imx-jailhouse/commit/98f6f8dc23d6b3d4fe5b15045ccb3d3ef36747be
-
-Signed-off-by: Peng Fan <[email protected]>
-[Romain: rebase on top of latest commit on upstream repo
-  https://github.com/siemens/jailhouse/commit/e57d1eff6d55aeed5f977fe4e2acfb6ccbdd7560]
-Signed-off-by: Romain Naour <[email protected]>
----
- hypervisor/arch/arm64/include/asm/percpu_fields.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/hypervisor/arch/arm64/include/asm/percpu_fields.h b/hypervisor/arch/arm64/include/asm/percpu_fields.h
-index 67573fd6..118d69d0 100644
---- a/hypervisor/arch/arm64/include/asm/percpu_fields.h
-+++ b/hypervisor/arch/arm64/include/asm/percpu_fields.h
-@@ -13,4 +13,4 @@
- #define ARCH_PERCPU_FIELDS						\
- 	ARM_PERCPU_FIELDS						\
- 	unsigned long id_aa64mmfr0;					\
--	bool sdei_event;
-+	bool sdei_event __attribute__((aligned(2)));
--- 
-2.54.0
-
package/jailhouse/Config.in deleted +0 -28
deleted file mode 100644
index 445414162f..0000000000
@@ -1,28 +0,0 @@
-config BR2_PACKAGE_JAILHOUSE
-	bool "jailhouse"
-	depends on BR2_aarch64 || BR2_x86_64
-	depends on BR2_LINUX_KERNEL
-	help
-	  The Jailhouse partitioning Hypervisor based on Linux.
-
-	  https://github.com/siemens/jailhouse
-
-if BR2_PACKAGE_JAILHOUSE
-
-config BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS
-	bool "helper scripts"
-	depends on BR2_PACKAGE_PYTHON3
-	select BR2_PACKAGE_PYTHON_MAKO # runtime
-	help
-	  Python-based helpers for the Jailhouse Hypervisor.
-
-	  https://github.com/siemens/jailhouse
-
-comment "helper scripts require Python3"
-	depends on !BR2_PACKAGE_PYTHON3
-
-endif
-
-comment "jailhouse needs a Linux kernel to be built"
-	depends on BR2_aarch64 || BR2_x86_64
-	depends on !BR2_LINUX_KERNEL
package/jailhouse/jailhouse.hash deleted +0 -3
deleted file mode 100644
index 96d5819847..0000000000
@@ -1,3 +0,0 @@
-# Locally computed:
-sha256  38ea5d2d9672ce7f76fd0c163edaa8968711aca58f245aec3c8934f140e828b6  jailhouse-e57d1eff6d55aeed5f977fe4e2acfb6ccbdd7560.tar.gz
-sha256  3aafb31a2436178323663e00511f16d58fc36ea654b1457532e79d017205efd8  COPYING
package/jailhouse/jailhouse.mk deleted +0 -71

71 lines not on this page · raw message

support/testing/tests/package/test_jailhouse.py deleted +0 -103

103 lines not on this page · raw message

Signature · 6 lines
2.56.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 1/1
#1 lore raw

Hi Thomas,

Quoted 20 lines · Thomas Petazzoni via buildroot

jailhouse fails to build against recent Linux kernel versions:

driver/sysfs.c:571:17: error: initialization of 'ssize_t (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t ' {aka 'long int (*)(struct file *, struct kobject *, const struct bin_attribute *, char *, long long int, long unsigned int)'} from incompatible p ointer type 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t)' {aka 'long int (*)(struct file *, struct
kobject *, struct bin_attribute *, char *, long long int, long unsigned int)'} [-Wincompatible-pointer-types]
571 | .read = core_show,

      |                 ^~~~~~~~~

[...]

driver/pci.c: In function 'create_vpci_of_overlay':
driver/pci.c:336:13: error: too few arguments to function 'of_overlay_fdt_apply'; expected 4, have 3
336 | if (of_overlay_fdt_apply(__dtb_vpci_template_begin,

      |             ^~~~~~~~~~~~~~~~~~~~

However, the project seems to be unmaintained: there has been no commits for the past 4 years in the upstream Git repository at
https://github.com/siemens/jailhouse/.

Quoted 8 lines

Since maintaining an hypervisor like this requires keeping up with Linux kernel changes, seeing the project being inactive for the past 4 years makes it basically unusable, which is why we're removing it.

There are a number of autobuilder failures related to jailhouse for the same reason.

Added Julien and Romain to Cc, since they wanted to keep it alive when I tried to remove it for the same issues.

Best regards // John Ernberg
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot