Here is an update to QEMU 10.2.0.
https://wiki.qemu.org/ChangeLog/10.2
https://wiki.qemu.org/ChangeLog/10.1
Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.258
diff -u -p -u -p -r1.258 Makefile
--- Makefile 6 Aug 2025 08:34:53 -0000 1.258
+++ Makefile 27 Dec 2025 10:37:25 -0000
@@ -1,4 +1,4 @@
-ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 riscv64
+ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 riscv64 sparc64
DPB_PROPERTIES= parallel
USE_NOBTCFI= Yes
@@ -6,7 +6,7 @@ USE_NOBTCFI= Yes
COMMENT-main= multi system emulator
COMMENT-ga= QEMU guest agent
-VERSION= 10.0.2
+VERSION= 10.2.0
DISTNAME= qemu-${VERSION}
CATEGORIES= emulators
SITES= https://download.qemu.org/
Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/qemu/distinfo,v
retrieving revision 1.83
diff -u -p -u -p -r1.83 distinfo
--- distinfo 20 Jul 2025 14:53:32 -0000 1.83
+++ distinfo 27 Dec 2025 10:37:25 -0000
@@ -1,2 +1,2 @@
-SHA256 (qemu-10.0.2.tar.xz) = 73hvI5jLUYRgD2mu9NXWke/URXajz/QSbTjUxv7Id1k=
-SIZE (qemu-10.0.2.tar.xz) = 135678180
+SHA256 (qemu-10.2.0.tar.xz) = njCtG4ufe0RjABWC0aspfznPzOpdCFQMDKbWZyeFiDo=
+SIZE (qemu-10.2.0.tar.xz) = 141093360
Index: patches/patch-block_nfs_c
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-block_nfs_c,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-block_nfs_c
--- patches/patch-block_nfs_c 20 Jul 2025 14:53:32 -0000 1.1
+++ patches/patch-block_nfs_c 27 Dec 2025 10:37:25 -0000
@@ -3,7 +3,7 @@
Index: block/nfs.c
--- block/nfs.c.orig
+++ block/nfs.c
-@@ -271,8 +271,13 @@ static int coroutine_fn nfs_co_preadv(BlockDriverState
+@@ -270,8 +270,13 @@ static int coroutine_fn nfs_co_preadv(BlockDriverState
task.iov = iov;
WITH_QEMU_LOCK_GUARD(&client->mutex) {
@@ -17,7 +17,7 @@ Index: block/nfs.c
return -ENOMEM;
}
-@@ -317,9 +322,15 @@ static int coroutine_fn nfs_co_pwritev(BlockDriverStat
+@@ -314,9 +319,15 @@ static int coroutine_fn nfs_co_pwritev(BlockDriverStat
}
WITH_QEMU_LOCK_GUARD(&client->mutex) {
Index: patches/patch-meson_build
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-meson_build,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 patch-meson_build
--- patches/patch-meson_build 20 Jul 2025 14:53:32 -0000 1.18
+++ patches/patch-meson_build 27 Dec 2025 10:37:25 -0000
@@ -1,4 +1,3 @@
-- revert retguard bug workaround
- support for libnfs API v2
- localstatedir does not belong under prefix
- remove hardcoding of optimization
@@ -6,17 +5,7 @@
Index: meson.build
--- meson.build.orig
+++ meson.build
-@@ -702,8 +702,7 @@ hardening_flags = [
- #
- # NB2: This clashes with the "retguard" extension of OpenBSD's Clang
- # https://gitlab.com/qemu-project/qemu/-/issues/2278
--if host_os != 'openbsd' and \
-- cc.compiles('extern struct { void (*cb)(void); } s; void f(void) { s.cb(); }',
-+if cc.compiles('extern struct { void (*cb)(void); } s; void f(void) { s.cb(); }',
- name: '-fzero-call-used-regs=used-gpr',
- args: ['-O2', '-fzero-call-used-regs=used-gpr'])
- hardening_flags += '-fzero-call-used-regs=used-gpr'
-@@ -1154,7 +1153,7 @@ endif
+@@ -1178,7 +1178,7 @@ endif
libnfs = not_found
if not get_option('libnfs').auto() or have_block
@@ -25,7 +14,7 @@ Index: meson.build
required: get_option('libnfs'),
method: 'pkg-config')
endif
-@@ -2412,7 +2411,7 @@ config_host_data.set('CONFIG_QEMU_FIRMWAREPATH', qemu_
+@@ -2411,7 +2411,7 @@ config_host_data.set('CONFIG_QEMU_FIRMWAREPATH', qemu_
config_host_data.set_quoted('CONFIG_QEMU_HELPERDIR', get_option('prefix') / get_option('libexecdir'))
config_host_data.set_quoted('CONFIG_QEMU_ICONDIR', get_option('prefix') / qemu_icondir)
config_host_data.set_quoted('CONFIG_QEMU_LOCALEDIR', get_option('prefix') / get_option('localedir'))
@@ -34,7 +23,7 @@ Index: meson.build
config_host_data.set_quoted('CONFIG_QEMU_MODDIR', get_option('prefix') / qemu_moddir)
config_host_data.set_quoted('CONFIG_SYSCONFDIR', get_option('prefix') / get_option('sysconfdir'))
-@@ -4584,9 +4583,6 @@ if have_rust
+@@ -4731,9 +4731,6 @@ if have_rust
summary_info += {'bindgen version': bindgen.version()}
endif
option_cflags = (get_option('debug') ? ['-g'] : [])
Index: patches/patch-qga_main_c
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-qga_main_c,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 patch-qga_main_c
--- patches/patch-qga_main_c 20 Jul 2025 14:53:32 -0000 1.10
+++ patches/patch-qga_main_c 27 Dec 2025 10:37:25 -0000
@@ -3,7 +3,7 @@ Adapted from https://github.com/aborche/
Index: qga/main.c
--- qga/main.c.orig
+++ qga/main.c
-@@ -44,7 +44,11 @@
+@@ -45,7 +45,11 @@
#else /* CONFIG_BSD */
#define QGA_VIRTIO_PATH_DEFAULT "/dev/virtio-ports/org.qemu.guest_agent.0"
No comments:
Post a Comment