[1/3] qemu: Update to version 8.1.1 and add libslirp for net user backend

Message ID 20230928103702.2652442-1-adolf.belka@ipfire.org
State Accepted
Commit a38402929e5c0c91fa14fe6c347bef9796099e8a
Headers
Series [1/3] qemu: Update to version 8.1.1 and add libslirp for net user backend |

Commit Message

Adolf Belka Sept. 28, 2023, 10:36 a.m. UTC
  - Update from version 8.0.3 to 8.1.1
- In CU179 the update of qemu caused at least one user to have a problem starting his
   qemu system as the qemu bundled slirp library used for the net user backend was removed
   in version 7.2. Unfortunately no user tested qemu in the CU179 Testing phase, or if they
   did they are not using the net user backend.
- This patch adds the --enable-slirp option to configure and installs libslirp in a
   separate patch.
- I can't test if this now works as I don't use qemu anywhere.
- Changelog is too large to include here.
    8.1
	https://wiki.qemu.org/ChangeLog/8.1

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/qemu |  5 +++++
 lfs/qemu                       | 11 ++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)
  

Patch

diff --git a/config/rootfiles/packages/qemu b/config/rootfiles/packages/qemu
index e69e28322..efc0cbd2e 100644
--- a/config/rootfiles/packages/qemu
+++ b/config/rootfiles/packages/qemu
@@ -18,7 +18,12 @@  usr/bin/qemu-system-i386
 usr/bin/qemu-system-riscv64
 usr/bin/qemu-system-x86_64
 usr/bin/qemu-x86_64
+#usr/include/fdt.h
+#usr/include/libfdt.h
+#usr/include/libfdt_env.h
 usr/include/qemu-plugin.h
+#usr/lib/libfdt.a
+#usr/lib/pkgconfig/libfdt.pc
 usr/libexec/qemu-bridge-helper
 #usr/share/applications/qemu.desktop
 #usr/share/icons/hicolor/128x128/apps/qemu.png
diff --git a/lfs/qemu b/lfs/qemu
index 8af87e75e..1e46f14a1 100644
--- a/lfs/qemu
+++ b/lfs/qemu
@@ -27,7 +27,7 @@  include Config
 SUMMARY    = Machine emulator and virtualizer
 
 # If you update the version also qemu-ga !!!
-VER        = 8.0.3
+VER        = 8.1.1
 
 THISAPP    = qemu-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -35,9 +35,9 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = qemu
-PAK_VER    = 39
+PAK_VER    = 40
 
-DEPS       = alsa elfutils libusbredir spice libseccomp
+DEPS       = alsa elfutils libusbredir spice libseccomp libslirp
 
 SERVICES   =
 
@@ -61,7 +61,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 071cc1a35209a02e8c5dd4f43cb112f110b4655adb0f870a04fdf9a6e2c761699574e8c9426f70f60787a99acf252d7a64d94a8e837cdfeda93d89428d7866f3
+$(DL_FILE)_BLAKE2 = 71220fad7c9f74bed6211879f01566ac1e52835feb3d45eaa1b2fe1d5f95d9fa5db53b7aec72b4ef098c03d0c4070076c907fb3e6b839002de6f56ee5ab44340
 
 install : $(TARGET)
 
@@ -106,7 +106,8 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 		--enable-usb-redir \
 		--enable-seccomp \
 		--disable-docs \
-		--disable-sdl
+		--disable-sdl \
+		--enable-slirp
 
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install