Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/qemu: bump to version 11.0.0
@ 2026-05-27  7:00 Shubham Chakraborty
  2026-05-27  7:23 ` Baruch Siach via buildroot
  0 siblings, 1 reply; 4+ messages in thread
From: Shubham Chakraborty @ 2026-05-27  7:00 UTC (permalink / raw)
  To: buildroot; +Cc: Shubham Chakraborty, Romain Naour

Changes include:
- Refined architecture support conditions for better target/host compatibility
- Removed support for 32-bit ARM, i386, MIPS targets (now 64-bit only where applicable)
- Added host architecture dependencies for QEMU tools
- New build dependencies: host-python-setuptools and host-python-wheel without these
  the build of host fails.
- Added --disable-download flag to prevent runtime downloads
- Fixed typo: BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORT to BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS

For upstream release notes, see:
- https://wiki.qemu.org/ChangeLog/11.0

Tested using:
- ./utils/test-pkg -p qemu -a

Signed-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>
---
 package/qemu/Config.in      | 6 +-----
 package/qemu/Config.in.host | 8 +++++++-
 package/qemu/qemu.hash      | 2 +-
 package/qemu/qemu.mk        | 7 ++++++-
 4 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/package/qemu/Config.in b/package/qemu/Config.in
index 0b16c8c284..4469ba6340 100644
--- a/package/qemu/Config.in
+++ b/package/qemu/Config.in
@@ -2,13 +2,9 @@ config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
 	bool
 	# Only tested on these architectures
 	default y if BR2_aarch64
-	default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
-	default y if BR2_i386
-	default y if BR2_mips
-	default y if BR2_mipsel
 	default y if BR2_powerpc64
 	default y if BR2_powerpc64le
-	default y if BR2_riscv
+	default y if BR2_riscv && BR2_ARCH_IS_64
 	default y if BR2_s390x
 	default y if BR2_x86_64
 
diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host
index c7dd5876e5..c72f418668 100644
--- a/package/qemu/Config.in.host
+++ b/package/qemu/Config.in.host
@@ -24,12 +24,18 @@ config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
 	default y if BR2_x86_64
 	depends on !BR2_x86_steamroller && !BR2_x86_core_avx2
 	depends on !BR2_powerpc_620 && !BR2_powerpc_630
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "aarch64" || \
+		BR2_HOSTARCH = "powerpc64le" || BR2_HOSTARCH = "s390x" || \
+		BR2_HOSTARCH = "loongarch64" || BR2_HOSTARCH = "riscv64"
 
 config BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS
 	bool
 	default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
 	default y if BR2_mips64
 	default y if BR2_mips64el
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "aarch64" || \
+		BR2_HOSTARCH = "powerpc64le" || BR2_HOSTARCH = "s390x" || \
+		BR2_HOSTARCH = "loongarch64" || BR2_HOSTARCH = "riscv64"
 
 config BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
 	bool
@@ -37,7 +43,7 @@ config BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
 
 comment "host-qemu needs a host gcc >= 8"
 	depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || \
-		BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORT
+		BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
 	depends on !BR2_HOST_GCC_AT_LEAST_8
 
 config BR2_PACKAGE_HOST_QEMU
diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash
index f8e750225f..7c7325a6ce 100644
--- a/package/qemu/qemu.hash
+++ b/package/qemu/qemu.hash
@@ -1,4 +1,4 @@
 # Locally computed, tarball verified with GPG signature
-sha256  9e30ad1b8b9f7b4463001582d1ab297f39cfccea5d08540c0ca6d6672785883a  qemu-10.2.0.tar.xz
+sha256  c04ca36012653f32d11c674d370cf52a710e7d3f18c2d8b63e4932052a4854d6  qemu-11.0.0.tar.xz
 sha256  dd3ce02338c3a48abb6ba59b48809f7108a8bd242cb0cc8be90daafa30707c28  COPYING
 sha256  31c90ce76b6f5aab90a205851e71d5c27e31c0aa3d7017a4383b98a6fe3f1faa  COPYING.LIB
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index b7007e3b98..8999e33f87 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -6,7 +6,7 @@
 
 # When updating the version, check whether the list of supported targets
 # needs to be updated.
-QEMU_VERSION = 10.2.0
+QEMU_VERSION = 11.0.0
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz
 QEMU_SITE = https://download.qemu.org
 QEMU_SELINUX_MODULES = qemu virt
@@ -28,6 +28,8 @@ QEMU_DEPENDENCIES = \
 	host-pkgconf \
 	host-python3 \
 	host-python-distlib \
+	host-python-setuptools \
+	host-python-wheel \
 	libglib2 \
 	zlib
 
@@ -372,6 +374,8 @@ HOST_QEMU_DEPENDENCIES = \
 	host-pkgconf \
 	host-python3 \
 	host-python-distlib \
+	host-python-setuptools \
+	host-python-wheel \
 	host-slirp \
 	host-zlib
 
@@ -528,6 +532,7 @@ define HOST_QEMU_CONFIGURE_CMDS
 		--enable-slirp \
 		--enable-tools \
 		--disable-guest-agent \
+		--disable-download \
 		$(HOST_QEMU_OPTS)
 endef
 
-- 
2.54.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/qemu: bump to version 11.0.0
@ 2026-04-25  0:03 Joseph Kogut
  0 siblings, 0 replies; 4+ messages in thread
From: Joseph Kogut @ 2026-04-25  0:03 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, joseph.kogut, Joseph Kogut

Changelog:
https://wiki.qemu.org/ChangeLog/11.0

Note:
  Support for all 32-bit host systems has been removed.

Signed-off-by: Joseph Kogut <joseph@anodize.com>
---
Build tested against all toolchains using test-pkg.

  32 builds, 23 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed

Notably, this version of qemu brings upstream support for host native
context, which also requires the virglrenderer patch series [0].

[0] https://lore.kernel.org/buildroot/20260318-virglrenderer-v5-0-09a3274852d6@gmail.com/

This feature enables virtualized guests to run applications with
hardware accelerated graphics and compute, using the native Mesa driver
inside the guest.
---
 package/qemu/Config.in | 5 +----
 package/qemu/qemu.hash | 2 +-
 package/qemu/qemu.mk   | 2 +-
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/package/qemu/Config.in b/package/qemu/Config.in
index 0b16c8c284..c735381b4b 100644
--- a/package/qemu/Config.in
+++ b/package/qemu/Config.in
@@ -1,11 +1,8 @@
 config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
 	bool
 	# Only tested on these architectures
+	default n if !BR2_ARCH_IS_64
 	default y if BR2_aarch64
-	default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
-	default y if BR2_i386
-	default y if BR2_mips
-	default y if BR2_mipsel
 	default y if BR2_powerpc64
 	default y if BR2_powerpc64le
 	default y if BR2_riscv
diff --git a/package/qemu/qemu.hash b/package/qemu/qemu.hash
index f8e750225f..7c7325a6ce 100644
--- a/package/qemu/qemu.hash
+++ b/package/qemu/qemu.hash
@@ -1,4 +1,4 @@
 # Locally computed, tarball verified with GPG signature
-sha256  9e30ad1b8b9f7b4463001582d1ab297f39cfccea5d08540c0ca6d6672785883a  qemu-10.2.0.tar.xz
+sha256  c04ca36012653f32d11c674d370cf52a710e7d3f18c2d8b63e4932052a4854d6  qemu-11.0.0.tar.xz
 sha256  dd3ce02338c3a48abb6ba59b48809f7108a8bd242cb0cc8be90daafa30707c28  COPYING
 sha256  31c90ce76b6f5aab90a205851e71d5c27e31c0aa3d7017a4383b98a6fe3f1faa  COPYING.LIB
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index b7007e3b98..61e44f069a 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -6,7 +6,7 @@
 
 # When updating the version, check whether the list of supported targets
 # needs to be updated.
-QEMU_VERSION = 10.2.0
+QEMU_VERSION = 11.0.0
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz
 QEMU_SITE = https://download.qemu.org
 QEMU_SELINUX_MODULES = qemu virt

---
base-commit: 6b1de564d07ee79c7fce9674801481c33627e03b
change-id: 20260423-qemu-v11-0-0-6b8f79cdf610

Best regards,
--  
Joseph Kogut <joseph@anodize.com>

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-05-28  5:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-27  7:00 [Buildroot] [PATCH] package/qemu: bump to version 11.0.0 Shubham Chakraborty
2026-05-27  7:23 ` Baruch Siach via buildroot
2026-05-28  5:44   ` Shubham Chakraborty
  -- strict thread matches above, loose matches on Subject: below --
2026-04-25  0:03 Joseph Kogut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox