qemu: update to 9.0.0
authorVladimir Ermakov <vooon341@gmail.com>
Wed, 24 Apr 2024 10:57:36 +0000 (12:57 +0200)
committerRosen Penev <rosenp@gmail.com>
Tue, 30 Apr 2024 20:45:48 +0000 (13:45 -0700)
- update version: 9.0.0
- refresh patches

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
utils/qemu/Makefile
utils/qemu/patches/0001-configure-allow-disable-fortify_source.patch
utils/qemu/patches/0007-qga-invoke-separate-applets-for-guest-shutdown-modes.patch
utils/qemu/patches/0010-no-tests.patch

index 29e4fd5435ce21c5a96ac2555f2cb45b1b5e1382..aa6aed30f22e3a24e9b32317c38d8f3359b3334b 100644 (file)
@@ -9,10 +9,10 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=qemu
-PKG_VERSION:=8.2.2
+PKG_VERSION:=9.0.0
 PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_HASH:=847346c1b82c1a54b2c38f6edbd85549edeb17430b7d4d3da12620e2962bc4f3
+PKG_HASH:=32708ac66c30d8c892633ea968c771c1c76d597d70ddead21a0d22ccf386da69
 PKG_SOURCE_URL:=https://download.qemu.org/
 PKG_LICENSE:=GPL-2.0-only
 PKG_LICENSE_FILES:=LICENSE tcg/LICENSE
index 1843df22a21619311c5d0371fd2ba6dd483780da..ccd2fc6d0f6ef34c9ede857d2d1eb99d5eb59b0a 100644 (file)
@@ -11,7 +11,7 @@ OpenWrt base build system decide flavor of fortify_source to use
 
 --- a/configure
 +++ b/configure
-@@ -757,6 +757,8 @@ for opt do
+@@ -758,6 +758,8 @@ for opt do
    ;;
    --gdb=*) gdb_bin="$optarg"
    ;;
index 53c82f9901ebaa6a887cb7d4ee76abcbda5e66ce..94061b8bf281d28f34df693f99e23fe03a84b764 100644 (file)
@@ -13,7 +13,7 @@ https://gitlab.alpinelinux.org/alpine/aports/commit/76b81b486480fd9c3294cd420bcf
 
 --- a/qga/commands-posix.c
 +++ b/qga/commands-posix.c
-@@ -76,6 +76,7 @@ static void ga_wait_child(pid_t pid, int
+@@ -79,6 +79,7 @@ static void ga_wait_child(pid_t pid, int
  void qmp_guest_shutdown(const char *mode, Error **errp)
  {
      const char *shutdown_flag;
@@ -21,7 +21,7 @@ https://gitlab.alpinelinux.org/alpine/aports/commit/76b81b486480fd9c3294cd420bcf
      Error *local_err = NULL;
      pid_t pid;
      int status;
-@@ -97,10 +98,13 @@ void qmp_guest_shutdown(const char *mode
+@@ -100,10 +101,13 @@ void qmp_guest_shutdown(const char *mode
      slog("guest-shutdown called, mode: %s", mode);
      if (!mode || strcmp(mode, "powerdown") == 0) {
          shutdown_flag = powerdown_flag;
@@ -35,7 +35,7 @@ https://gitlab.alpinelinux.org/alpine/aports/commit/76b81b486480fd9c3294cd420bcf
      } else {
          error_setg(errp,
                     "mode is invalid (valid values are: halt|powerdown|reboot");
-@@ -125,6 +129,7 @@ void qmp_guest_shutdown(const char *mode
+@@ -128,6 +132,7 @@ void qmp_guest_shutdown(const char *mode
          execl("/sbin/shutdown", "shutdown", "-h", shutdown_flag, "+0",
                 "hypervisor initiated shutdown", (char *)NULL);
  #endif
index 460f0fab2abda0f950ce4c5cdd7164ebdf048be6..92f8c5ac8b815d223347df606dc48bd876f0c826 100644 (file)
@@ -1,6 +1,6 @@
 --- a/meson.build
 +++ b/meson.build
-@@ -3513,10 +3513,6 @@ subdir('common-user')
+@@ -3576,10 +3576,6 @@ subdir('common-user')
  subdir('bsd-user')
  subdir('linux-user')
  
@@ -11,7 +11,7 @@
  # accel modules
  tcg_real_module_ss = ss.source_set()
  tcg_real_module_ss.add_all(when: 'CONFIG_TCG_MODULAR', if_true: tcg_module_ss)
-@@ -4012,10 +4008,6 @@ subdir('scripts')
+@@ -4094,10 +4090,6 @@ subdir('scripts')
  subdir('tools')
  subdir('pc-bios')
  subdir('docs')