CVS commit: pkgsrc/sysutils

"Manuel Bouyer" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	bouyer
Date:		Wed Aug 26 11:10:45 UTC 2026

Modified Files:
	pkgsrc/sysutils/xenkernel420: DESCR MESSAGE Makefile distinfo
	pkgsrc/sysutils/xentools420: Makefile distinfo version.mk

Log Message:
update xenkernel420, xentools420 and xenstoretools to 20260825 (this is past
Xen 4.20.4).
pkgsrc CHANGES:
- set SHADOW_PAGING to yes because NetBSD PV guests relies on it (at last
  on my hardware).  Note that this is not security-supported upstream.
- update xenkernel420 DESCR and MESSAGE to reflect current state.

upstream CHANGES:
- various fixes; including better support for some hardware
- fix XSA-497, XSA-499, XSA-500, XSA-501, XSA-502, XSA-503,
  XSA-504, XSA-505, XSA-506, XSA-507, XSA-508

Note that as SHADOW_PAGING is enabled, XSA-495 is not fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/xenkernel420/DESCR \
    pkgsrc/sysutils/xenkernel420/MESSAGE
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/xenkernel420/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/xenkernel420/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/xentools420/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/xentools420/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/xentools420/version.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 7.7 KB)
Modified files:

Index: pkgsrc/sysutils/xenkernel420/DESCR
diff -u pkgsrc/sysutils/xenkernel420/DESCR:1.1 pkgsrc/sysutils/xenkernel420/DESCR:1.2
--- pkgsrc/sysutils/xenkernel420/DESCR:1.1	Fri Aug 22 09:00:11 2025
+++ pkgsrc/sysutils/xenkernel420/DESCR	Wed Aug 26 11:10:45 2026
@@ -11,4 +11,14 @@ domains and provide virtual devices (dis
 domains.
 
 This package contains the 4.20 Xen kernel itself.  PCI passthrough is
-not supported.  PAE is mandatory; on i386 one must use XEN3PAE_DOM[0U].
+not supported.  PAE is mandatory; on i386 one must use XEN3PAE_DOMU.
+
+Note that unlike upstream Xen, pv-linear-pt defaults to true.
+You can disable it using pv-linear-pt=false on the Xen command line,
+but then you can't boot NetBSD in PV mode.
+
+32bits PV guests are not officially supported any more.
+Switch to pvshim (for netbsd-9 or older) or pvh (for netbsd-10 or newer).
+
+Unline upstream, SHADOW_PAGING is enabled by default as NetBSD PV guests
+relies on it. Note that this is not security-supported upstream any more.
Index: pkgsrc/sysutils/xenkernel420/MESSAGE
diff -u pkgsrc/sysutils/xenkernel420/MESSAGE:1.1 pkgsrc/sysutils/xenkernel420/MESSAGE:1.2
--- pkgsrc/sysutils/xenkernel420/MESSAGE:1.1	Fri Aug 22 09:00:11 2025
+++ pkgsrc/sysutils/xenkernel420/MESSAGE	Wed Aug 26 11:10:45 2026
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1 2025/08/22 09:00:11 bouyer Exp $
+$NetBSD: MESSAGE,v 1.2 2026/08/26 11:10:45 bouyer Exp $
 
 The Xen hypervisor is installed under the following locations:
 	${XENKERNELDIR}/xen.gz		(standard hypervisor)
@@ -11,4 +11,7 @@ but then you can't boot NetBSD in PV mod
 
 32bits PV guests are not officially supported any more.
 Switch to pvshim (for netbsd-9 or older) or pvh (for netbsd-10 or newer).
+
+Unline upstream, SHADOW_PAGING is enabled by default as NetBSD PV guests
+relies on it. Note that this is not security-supported upstream any more.
 ===========================================================================

Index: pkgsrc/sysutils/xenkernel420/Makefile
diff -u pkgsrc/sysutils/xenkernel420/Makefile:1.3 pkgsrc/sysutils/xenkernel420/Makefile:1.4
--- pkgsrc/sysutils/xenkernel420/Makefile:1.3	Thu Nov 13 16:54:19 2025
+++ pkgsrc/sysutils/xenkernel420/Makefile	Wed Aug 26 11:10:45 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2025/11/13 16:54:19 bouyer Exp $
+# $NetBSD: Makefile,v 1.4 2026/08/26 11:10:45 bouyer Exp $
 # VERSION is set in version.mk as it is shared with other packages
 
 XENKERNEL:=
@@ -52,6 +52,8 @@ EXTRA_CFLAGS+=	 -falign-functions=16
 MAKE_ENV+=	EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}
 
 do-build:
+	cd ${WRKSRC} && ${BUILD_MAKE_CMD} -C xen defconfig
+	echo "CONFIG_SHADOW_PAGING=y" >> ${WRKSRC}/xen/.config
 	cd ${WRKSRC} && ${BUILD_MAKE_CMD} build-xen
 	${CP} ${WRKSRC}/xen/xen.gz ${WRKDIR}/xen.gz
 	cd ${WRKSRC} && ${MAKE_PROGRAM} clean

Index: pkgsrc/sysutils/xenkernel420/distinfo
diff -u pkgsrc/sysutils/xenkernel420/distinfo:1.6 pkgsrc/sysutils/xenkernel420/distinfo:1.7
--- pkgsrc/sysutils/xenkernel420/distinfo:1.6	Wed Jun 10 18:07:44 2026
+++ pkgsrc/sysutils/xenkernel420/distinfo	Wed Aug 26 11:10:45 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2026/06/10 18:07:44 bouyer Exp $
+$NetBSD: distinfo,v 1.7 2026/08/26 11:10:45 bouyer Exp $
 
-BLAKE2s (xen420/xen-0953c1890794c849771b4bd6e061a30a181d5c23.tar.gz) = 20bdbfec75c0afb3a9dff88222d9c2f12450017b5d5f8da218537019f5531536
-SHA512 (xen420/xen-0953c1890794c849771b4bd6e061a30a181d5c23.tar.gz) = 47669d1cfffae8547ee14333ef5d5b001542a611ac6f85b42eb6e1629479239334dc6110e2b70daaf97a0f6347334b5477de55ed30fe566a38ba7d274c0da324
-Size (xen420/xen-0953c1890794c849771b4bd6e061a30a181d5c23.tar.gz) = 7045407 bytes
+BLAKE2s (xen420/xen-7b7f5be456027e4273165f577a1bbfd5ee95503a.tar.gz) = f0f0b526bb3852c06de9b4387263cefc08667501a7de121e4cfb3497d6fbe874
+SHA512 (xen420/xen-7b7f5be456027e4273165f577a1bbfd5ee95503a.tar.gz) = aa8f7fad70bcc97d958d2024ac83555a8d804e8509ae98bd1d0cd123ba6adb9f3d65714b281219d2d377dc340b0dbd278ce43d576c7dae66249f7271777afe97
+Size (xen420/xen-7b7f5be456027e4273165f577a1bbfd5ee95503a.tar.gz) = 7048848 bytes
 SHA1 (patch-Config.mk) = 9372a09efd05c9fbdbc06f8121e411fcb7c7ba65
 SHA1 (patch-xen_Makefile) = 0c400e8054e907ce44faf2be955e0c2d63b768ed
 SHA1 (patch-xen_arch_x86_Makefile) = 55358c4427ab1d4469ce2480e7b1abc38f4af9d2

Index: pkgsrc/sysutils/xentools420/Makefile
diff -u pkgsrc/sysutils/xentools420/Makefile:1.8 pkgsrc/sysutils/xentools420/Makefile:1.9
--- pkgsrc/sysutils/xentools420/Makefile:1.8	Tue Jun 23 09:52:57 2026
+++ pkgsrc/sysutils/xentools420/Makefile	Wed Aug 26 11:10:45 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2026/06/23 09:52:57 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2026/08/26 11:10:45 bouyer Exp $
 #
 # VERSION is set in version.mk as it is shared with other packages
 #PKGREVISION=        1
-PKGREVISION=        1
 .include        "version.mk"
 PKGNAME=		xentools420-${VERSION:S/-//g}
 

Index: pkgsrc/sysutils/xentools420/distinfo
diff -u pkgsrc/sysutils/xentools420/distinfo:1.6 pkgsrc/sysutils/xentools420/distinfo:1.7
--- pkgsrc/sysutils/xentools420/distinfo:1.6	Wed Jun 10 18:07:45 2026
+++ pkgsrc/sysutils/xentools420/distinfo	Wed Aug 26 11:10:45 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2026/06/10 18:07:45 bouyer Exp $
+$NetBSD: distinfo,v 1.7 2026/08/26 11:10:45 bouyer Exp $
 
 BLAKE2s (xen420/ipxe-1d1cf74a5e58811822bee4b3da3cff7282fcdfca.tar.gz) = 82256e7e5d45980590a6493e17a4e133ff63fa28f00aff1963db96371e702448
 SHA512 (xen420/ipxe-1d1cf74a5e58811822bee4b3da3cff7282fcdfca.tar.gz) = e1c11e37f53aab0cc6a3ceaace0b8417f07009b1f20ff8572320895fef24f1a796ade041094a024eb24c988b9bed404c556a1fdde809bba89fb49f0e0ff45a57
@@ -9,9 +9,9 @@ Size (xen420/qemu-xen-20250821.tar.gz) =
 BLAKE2s (xen420/seabios-1.16.3.tar.gz) = 0c8181f637b55ade090a8e2bb5728cbbc9df05cc1976a7de5e080a3c6600f038
 SHA512 (xen420/seabios-1.16.3.tar.gz) = 55ea6c8c1831d2451d1f5af595ecda9edd89af2568b1118d74615f9103e4af4ad3fff7e9e92568e897e525f800537beaa793bc9662dc3b4d3ac928c911d838f3
 Size (xen420/seabios-1.16.3.tar.gz) = 636695 bytes
-BLAKE2s (xen420/xen-0953c1890794c849771b4bd6e061a30a181d5c23.tar.gz) = 20bdbfec75c0afb3a9dff88222d9c2f12450017b5d5f8da218537019f5531536
-SHA512 (xen420/xen-0953c1890794c849771b4bd6e061a30a181d5c23.tar.gz) = 47669d1cfffae8547ee14333ef5d5b001542a611ac6f85b42eb6e1629479239334dc6110e2b70daaf97a0f6347334b5477de55ed30fe566a38ba7d274c0da324
-Size (xen420/xen-0953c1890794c849771b4bd6e061a30a181d5c23.tar.gz) = 7045407 bytes
+BLAKE2s (xen420/xen-7b7f5be456027e4273165f577a1bbfd5ee95503a.tar.gz) = f0f0b526bb3852c06de9b4387263cefc08667501a7de121e4cfb3497d6fbe874
+SHA512 (xen420/xen-7b7f5be456027e4273165f577a1bbfd5ee95503a.tar.gz) = aa8f7fad70bcc97d958d2024ac83555a8d804e8509ae98bd1d0cd123ba6adb9f3d65714b281219d2d377dc340b0dbd278ce43d576c7dae66249f7271777afe97
+Size (xen420/xen-7b7f5be456027e4273165f577a1bbfd5ee95503a.tar.gz) = 7048848 bytes
 SHA1 (patch-.._seabios-1.16.3_src_string.c) = bbfafcd4c463a5806e88423928b3639e5a6bfa06
 SHA1 (patch-Config.mk) = f2c5d83d4738db706e980fbbd0ae889477d87c7d
 SHA1 (patch-configure) = d52bd51ae234ffd0796b0d3c2453e5e5931c9b63

Index: pkgsrc/sysutils/xentools420/version.mk
diff -u pkgsrc/sysutils/xentools420/version.mk:1.5 pkgsrc/sysutils/xentools420/version.mk:1.6
--- pkgsrc/sysutils/xentools420/version.mk:1.5	Wed Jun 10 18:07:45 2026
+++ pkgsrc/sysutils/xentools420/version.mk	Wed Aug 26 11:10:45 2026
@@ -1,10 +1,10 @@
-# $NetBSD: version.mk,v 1.5 2026/06/10 18:07:45 bouyer Exp $
+# $NetBSD: version.mk,v 1.6 2026/08/26 11:10:45 bouyer Exp $
 #
 # Version number is used by xenkernel420, xentools420 and xenstoretools
 
-VERSION=		20260610
-XEN_COMMIT=		0953c1890794c849771b4bd6e061a30a181d5c23
-XEN_SHORTCOMMIT=	0953c18
+VERSION=		20260825
+XEN_COMMIT=		7b7f5be456027e4273165f577a1bbfd5ee95503a
+XEN_SHORTCOMMIT=	7b7f5be
 
 DIST_SUBDIR=		xen420
 DISTNAME=		xen-${XEN_COMMIT}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.