pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils Remove xenkernel411 and xenkernel411, they're...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80b8fe44ba61
branches:  trunk
changeset: 381118:80b8fe44ba61
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Tue Jun 28 16:33:25 2022 +0000

description:
Remove xenkernel411 and xenkernel411, they're EOL upstream

diffstat:

 sysutils/Makefile                                                                     |     4 +-
 sysutils/xenkernel411/DESCR                                                           |    17 -
 sysutils/xenkernel411/MESSAGE                                                         |    11 -
 sysutils/xenkernel411/Makefile                                                        |    79 -
 sysutils/xenkernel411/PLIST                                                           |     3 -
 sysutils/xenkernel411/distinfo                                                        |    35 -
 sysutils/xenkernel411/patches/patch-Config.mk                                         |    14 -
 sysutils/xenkernel411/patches/patch-XSA286                                            |  1002 -----
 sysutils/xenkernel411/patches/patch-XSA317                                            |    52 -
 sysutils/xenkernel411/patches/patch-XSA319                                            |    29 -
 sysutils/xenkernel411/patches/patch-XSA320                                            |   371 --
 sysutils/xenkernel411/patches/patch-XSA321                                            |   595 ---
 sysutils/xenkernel411/patches/patch-XSA328                                            |   213 -
 sysutils/xenkernel411/patches/patch-XSA333                                            |    41 -
 sysutils/xenkernel411/patches/patch-XSA336                                            |   258 -
 sysutils/xenkernel411/patches/patch-XSA337                                            |   276 -
 sysutils/xenkernel411/patches/patch-XSA338                                            |    44 -
 sysutils/xenkernel411/patches/patch-XSA339                                            |    78 -
 sysutils/xenkernel411/patches/patch-XSA340                                            |    67 -
 sysutils/xenkernel411/patches/patch-XSA342                                            |   147 -
 sysutils/xenkernel411/patches/patch-XSA343                                            |   863 ----
 sysutils/xenkernel411/patches/patch-XSA344                                            |   337 -
 sysutils/xenkernel411/patches/patch-XSA345                                            |   413 --
 sysutils/xenkernel411/patches/patch-XSA346                                            |   261 -
 sysutils/xenkernel411/patches/patch-XSA347                                            |   134 -
 sysutils/xenkernel411/patches/patch-XSA348                                            |   166 -
 sysutils/xenkernel411/patches/patch-XSA351                                            |   283 -
 sysutils/xenkernel411/patches/patch-XSA355                                            |    25 -
 sysutils/xenkernel411/patches/patch-XSA358                                            |    48 -
 sysutils/xenkernel411/patches/patch-XSA359                                            |    42 -
 sysutils/xenkernel411/patches/patch-xen_Makefile                                      |    13 -
 sysutils/xenkernel411/patches/patch-xen_Rules.mk                                      |    12 -
 sysutils/xenkernel411/patches/patch-xen_arch_x86_Rules.mk                             |    12 -
 sysutils/xenkernel411/patches/patch-xen_arch_x86_boot_build32.mk                      |    15 -
 sysutils/xenkernel411/patches/patch-xen_tools_symbols.c                               |    19 -
 sysutils/xenkernel411/patches/patch-zz-bouyer                                         |    23 -
 sysutils/xentools411/DESCR                                                            |     8 -
 sysutils/xentools411/MESSAGE                                                          |    11 -
 sysutils/xentools411/MESSAGE.NetBSD                                                   |    17 -
 sysutils/xentools411/Makefile                                                         |   250 -
 sysutils/xentools411/PLIST                                                            |   500 --
 sysutils/xentools411/buildlink3.mk                                                    |    14 -
 sysutils/xentools411/distinfo                                                         |    92 -
 sysutils/xentools411/files/blk_netbsd.c                                               |    38 -
 sysutils/xentools411/files/blktapctrl_netbsd.c                                        |    16 -
 sysutils/xentools411/files/locking.sh                                                 |    72 -
 sysutils/xentools411/files/xen-watchdog.sh                                            |    17 -
 sysutils/xentools411/files/xencommons.sh                                              |   107 -
 sysutils/xentools411/files/xendomains.sh                                              |   129 -
 sysutils/xentools411/patches/patch-.._ipxe_src_core_settings.c                        |    34 -
 sysutils/xentools411/patches/patch-.._ipxe_src_net_fcels.c                            |   124 -
 sysutils/xentools411/patches/patch-Config.mk                                          |    22 -
 sysutils/xentools411/patches/patch-Makefile                                           |    30 -
 sysutils/xentools411/patches/patch-XSA115-c                                           |  1755 ----------
 sysutils/xentools411/patches/patch-XSA115-o                                           |   694 ---
 sysutils/xentools411/patches/patch-XSA322-c                                           |   536 ---
 sysutils/xentools411/patches/patch-XSA322-o                                           |   112 -
 sysutils/xentools411/patches/patch-XSA323                                             |   142 -
 sysutils/xentools411/patches/patch-XSA324                                             |    50 -
 sysutils/xentools411/patches/patch-XSA325                                             |   194 -
 sysutils/xentools411/patches/patch-XSA330                                             |    68 -
 sysutils/xentools411/patches/patch-XSA352                                             |    44 -
 sysutils/xentools411/patches/patch-XSA353                                             |    91 -
 sysutils/xentools411/patches/patch-always_inline                                      |   139 -
 sysutils/xentools411/patches/patch-docs_man_xl-disk-configuration.pod.5               |    13 -
 sysutils/xentools411/patches/patch-docs_man_xl.cfg.pod.5.in                           |    29 -
 sysutils/xentools411/patches/patch-docs_man_xl.conf.pod.5                             |    37 -
 sysutils/xentools411/patches/patch-docs_man_xl.pod.1.in                               |    44 -
 sysutils/xentools411/patches/patch-docs_man_xlcpupool.cfg.pod.5                       |    28 -
 sysutils/xentools411/patches/patch-docs_misc_block-scripts.txt                        |    13 -
 sysutils/xentools411/patches/patch-extras_mini-os_Config.mk                           |    17 -
 sysutils/xentools411/patches/patch-extras_mini-os_arch_x86_arch.mk                    |    22 -
 sysutils/xentools411/patches/patch-extras_mini-os_include_fcntl.h                     |    12 -
 sysutils/xentools411/patches/patch-extras_mini-os_include_time.h                      |    12 -
 sysutils/xentools411/patches/patch-extras_mini-os_lib_sys.c                           |    18 -
 sysutils/xentools411/patches/patch-extras_mini-os_lock.c                              |    11 -
 sysutils/xentools411/patches/patch-m4_paths.m4                                        |    16 -
 sysutils/xentools411/patches/patch-tools_Makefile                                     |    48 -
 sysutils/xentools411/patches/patch-tools_Rules.mk                                     |   117 -
 sysutils/xentools411/patches/patch-tools_configure                                    |    39 -
 sysutils/xentools411/patches/patch-tools_console_daemon_utils.c                       |    22 -
 sysutils/xentools411/patches/patch-tools_debugger_gdbsx_Makefile                      |    15 -
 sysutils/xentools411/patches/patch-tools_debugger_gdbsx_xg_xg_main.c                  |    24 -
 sysutils/xentools411/patches/patch-tools_examples_Makefile                            |    12 -
 sysutils/xentools411/patches/patch-tools_firmware_etherboot_Makefile                  |    26 -
 sysutils/xentools411/patches/patch-tools_firmware_hvmloader_Makefile                  |    13 -
 sysutils/xentools411/patches/patch-tools_hotplug_NetBSD_Makefile                      |    52 -
 sysutils/xentools411/patches/patch-tools_hotplug_NetBSD_block                         |    37 -
 sysutils/xentools411/patches/patch-tools_hotplug_NetBSD_vif-bridge                    |    16 -
 sysutils/xentools411/patches/patch-tools_hotplug_NetBSD_vif-ip                        |    16 -
 sysutils/xentools411/patches/patch-tools_hotplug_common_Makefile                      |    24 -
 sysutils/xentools411/patches/patch-tools_include_xen-sys_NetBSD_gntdev.h              |   110 -
 sysutils/xentools411/patches/patch-tools_libs_call_netbsd.c                           |    55 -
 sysutils/xentools411/patches/patch-tools_libs_call_private.h                          |    16 -
 sysutils/xentools411/patches/patch-tools_libs_evtchn_netbsd.c                         |    22 -
 sysutils/xentools411/patches/patch-tools_libs_foreignmemory_compat.c                  |    14 -
 sysutils/xentools411/patches/patch-tools_libs_foreignmemory_netbsd.c                  |    48 -
 sysutils/xentools411/patches/patch-tools_libs_foreignmemory_private.h                 |    13 -
 sysutils/xentools411/patches/patch-tools_libxl_libxl__create.c                        |    40 -
 sysutils/xentools411/patches/patch-tools_libxl_libxl_dom.c                            |    13 -
 sysutils/xentools411/patches/patch-tools_libxl_libxl_event.c                          |    24 -
 sysutils/xentools411/patches/patch-tools_libxl_libxl_internal.h                       |    23 -
 sysutils/xentools411/patches/patch-tools_libxl_libxl_uuid.c                           |    22 -
 sysutils/xentools411/patches/patch-tools_ocaml_Makefile.rules                         |    13 -
 sysutils/xentools411/patches/patch-tools_ocaml_common.make                            |    19 -
 sysutils/xentools411/patches/patch-tools_ocaml_libs_xentoollog_xentoollog__stubs.c    |    25 -
 sysutils/xentools411/patches/patch-tools_ocaml_libs_xl__xenlight_stubs.c              |    97 -
 sysutils/xentools411/patches/patch-tools_ocaml_xenstored_Makefile                     |    12 -
 sysutils/xentools411/patches/patch-tools_ocaml_xenstored_utils.ml                     |    13 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_Makefile                |    84 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_block-raw-posix.c       |    62 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_configure               |    41 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_hw_e1000.c              |    34 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_hw_ide.c                |    37 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_hw_pass-through.c       |    13 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_hw_pt-graphics.c        |    13 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_hw_pt-msi.c             |    15 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_hw_pt-msi.h             |    12 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_i386-dm_hookstarget.mak |    12 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_net.c                   |    46 -
 sysutils/xentools411/patches/patch-tools_qemu-xen-traditional_xen-hooks.mak           |    51 -
 sysutils/xentools411/patches/patch-tools_qemu-xen_audio_audio.c                       |    12 -
 sysutils/xentools411/patches/patch-tools_qemu-xen_configure                           |    14 -
 sysutils/xentools411/patches/patch-tools_qemu-xen_qemu-doc.texi                       |    15 -
 sysutils/xentools411/patches/patch-tools_xenpaging_xenpaging.c                        |    18 -
 sysutils/xentools411/patches/patch-tools_xenpmd_xenpmd.c                              |    15 -
 sysutils/xentools411/patches/patch-tools_xenstore_xc.c                                |    18 -
 sysutils/xentools411/patches/patch-tools_xenstore_xenstored_core.c                    |    29 -
 sysutils/xentools411/patches/patch-tools_xenstore_xs_lib.c                            |    13 -
 sysutils/xentools411/patches/patch-tools_xentrace_xentrace.c                          |    13 -
 sysutils/xentools411/patches/patch-tools_xl_Makefile                                  |    16 -
 sysutils/xentools411/patches/patch-xen_Rules.mk                                       |    12 -
 sysutils/xentools411/patches/patch-xen_tools_symbols.c                                |    19 -
 sysutils/xentools411/version.mk                                                       |     6 -
 134 files changed, 1 insertions(+), 13239 deletions(-)

diffs (truncated from 13789 to 300 lines):

diff -r d18a94cafecf -r 80b8fe44ba61 sysutils/Makefile
--- a/sysutils/Makefile Tue Jun 28 16:28:06 2022 +0000
+++ b/sysutils/Makefile Tue Jun 28 16:33:25 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1005 2022/06/07 10:15:01 wiz Exp $
+# $NetBSD: Makefile,v 1.1006 2022/06/28 16:33:25 bouyer Exp $
 #
 
 COMMENT=       System utilities
@@ -873,11 +873,9 @@
 SUBDIR+=       xdu
 SUBDIR+=       xe
 SUBDIR+=       xe-guest-utilities
-SUBDIR+=       xenkernel411
 SUBDIR+=       xenkernel413
 SUBDIR+=       xenkernel415
 SUBDIR+=       xenstoretools
-SUBDIR+=       xentools411
 SUBDIR+=       xentools413
 SUBDIR+=       xentools415
 SUBDIR+=       xenvstat
diff -r d18a94cafecf -r 80b8fe44ba61 sysutils/xenkernel411/DESCR
--- a/sysutils/xenkernel411/DESCR       Tue Jun 28 16:28:06 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-Xen is a hypervisor which supports running multiple guest operating
-systems on a single machine. Guest OSes (also called "domains")
-can be either paravirtualised (i.e. make hypercalls in order to
-access hardware), run in HVM (Hardware Virtualisation Mode) where
-they will be presented with virtual devices, or a combination where
-they use hypercalls to access hardware but manage memory themselves.
-At boot, the xen kernel is loaded along with the guest kernel for
-the first domain (called domain0). domain0 has privileges to access
-the physical hardware (PCI and ISA devices), administrate other
-domains and provide virtual devices (disks and network) to other
-domains.
-
-This package contains the 4.11 Xen kernel itself.  PCI passthrough is
-not supported.  PAE is mandatory; on i386 one must use XEN3PAE_DOM[0U].
-
-THIS PACKAGE IS DEPERECATED and will be removed in the near future.
-Please switch to sysutils/xenkernel415
diff -r d18a94cafecf -r 80b8fe44ba61 sysutils/xenkernel411/MESSAGE
--- a/sysutils/xenkernel411/MESSAGE     Tue Jun 28 16:28:06 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2018/07/24 13:40:11 bouyer Exp $
-
-The Xen hypervisor is installed under the following locations:
-       ${XENKERNELDIR}/xen.gz          (standard hypervisor)
-       ${XENKERNELDIR}/xen-debug.gz    (debug hypervisor)
-
-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.
-===========================================================================
diff -r d18a94cafecf -r 80b8fe44ba61 sysutils/xenkernel411/Makefile
--- a/sysutils/xenkernel411/Makefile    Tue Jun 28 16:28:06 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-# $NetBSD: Makefile,v 1.21 2022/06/23 16:20:05 bouyer Exp $
-
-VERSION=       4.11.4
-#keep >= 1 if we have security patches
-PKGREVISION=   7
-DISTNAME=      xen-${VERSION}
-PKGNAME=       xenkernel411-${VERSION}
-CATEGORIES=    sysutils
-MASTER_SITES=  https://downloads.xenproject.org/release/xen/${VERSION}/
-DIST_SUBDIR=   xen411
-
-MAINTAINER=    bouyer%NetBSD.org@localhost
-HOMEPAGE=      https://xenproject.org/
-COMMENT=       Xen 4.11.x Kernel
-
-LICENSE=       gnu-gpl-v2
-
-ONLY_FOR_PLATFORM=     Linux-2.6*-x86_64
-ONLY_FOR_PLATFORM+=    NetBSD-[5-9].*-x86_64
-
-SSP_SUPPORTED= no
-
-NO_CONFIGURE=  yes
-USE_TOOLS+=    gmake
-
-PYTHON_FOR_BUILD_ONLY=         YES
-PYTHON_VERSIONS_ACCEPTED=      27
-
-MAKE_ENV+=     OCAML_TOOLS=no
-.if defined(PKGREVISION) && !empty(PKGREVISION) && (${PKGREVISION} != "0")
-MAKE_ENV+=     XEN_VENDORVERSION=nb${PKGREVISION}
-.else
-MAKE_ENV+=     XEN_VENDORVERSION=nb0
-.endif
-
-INSTALLATION_DIRS=     xen411-kernel
-XENKERNELDIR=          ${PREFIX}/${INSTALLATION_DIRS}
-
-MESSAGE_SUBST+=                XENKERNELDIR=${XENKERNELDIR}
-
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-EXTRA_CFLAGS+= -Qunused-arguments -no-integrated-as -Wno-error=format \
-               -Wno-error=parentheses-equality -Wno-error=enum-conversion \
-               -Wno-error=unused-function -Wno-error=unused-const-variable \
-               -Wno-error=ignored-attributes -Wno-error=constant-conversion \
-               -Wno-error=address-of-packed-member \
-               -Wno-error=initializer-overrides \
-               -Wno-error=tautological-compare
-.elif !empty(PKGSRC_COMPILER:Mgcc)
-EXTRA_CFLAGS+=  -falign-functions=16
-.endif
-
-MAKE_ENV+=     EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}
-
-do-build:
-       cd ${WRKSRC} && ${BUILD_MAKE_CMD} build-xen
-       ${CP} ${WRKSRC}/xen/xen.gz ${WRKDIR}/xen.gz
-       cd ${WRKSRC} && ${MAKE_PROGRAM} clean
-       echo "CONFIG_DEBUG=y" >> ${WRKSRC}/xen/.config
-       echo "# CONFIG_CRASH_DEBUG is not set" >> ${WRKSRC}/xen/.config
-       echo "# CONFIG_FRAME_POINTER is not set" >> ${WRKSRC}/xen/.config
-       echo "# CONFIG_GCOV is not set" >> ${WRKSRC}/xen/.config
-       echo "# CONFIG_LOCK_PROFILE is not set" >> ${WRKSRC}/xen/.config
-       echo "# CONFIG_PERF_COUNTERS is not set" >> ${WRKSRC}/xen/.config
-       echo "CONFIG_VERBOSE_DEBUG=y" >> ${WRKSRC}/xen/.config
-       echo "CONFIG_SCRUB_DEBUG=y" >> ${WRKSRC}/xen/.config
-       echo "# CONFIG_UBSAN is not set" >> ${WRKSRC}/xen/.config
-       cd ${WRKSRC} && ${BUILD_MAKE_CMD} build-xen
-       ${CP} ${WRKSRC}/xen/xen.gz ${WRKDIR}/xen-debug.gz
-
-do-install:
-       ${INSTALL_DATA} ${WRKDIR}/xen.gz \
-           ${DESTDIR}${XENKERNELDIR}/xen.gz
-       ${INSTALL_DATA} ${WRKDIR}/xen-debug.gz \
-           ${DESTDIR}${XENKERNELDIR}/xen-debug.gz
-
-.include "../../lang/python/application.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r d18a94cafecf -r 80b8fe44ba61 sysutils/xenkernel411/PLIST
--- a/sysutils/xenkernel411/PLIST       Tue Jun 28 16:28:06 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2018/07/24 13:40:11 bouyer Exp $
-xen411-kernel/xen-debug.gz
-xen411-kernel/xen.gz
diff -r d18a94cafecf -r 80b8fe44ba61 sysutils/xenkernel411/distinfo
--- a/sysutils/xenkernel411/distinfo    Tue Jun 28 16:28:06 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 11:20:25 nia Exp $
-
-BLAKE2s (xen411/xen-4.11.4.tar.gz) = 15747b7b714afba7235363546f2025048a7b19701a3de118aa3c302874c6a1fe
-SHA512 (xen411/xen-4.11.4.tar.gz) = 8383f0b369fa08c8ecfdd68f902a2aaad140146a183131c50c020fe04c2f1e829c219b9bd9923fa8f1c180e1e7c6e73d0d68b7015fc39fd3b7f59e55c680cedb
-Size (xen411/xen-4.11.4.tar.gz) = 25184564 bytes
-SHA1 (patch-Config.mk) = 9372a09efd05c9fbdbc06f8121e411fcb7c7ba65
-SHA1 (patch-XSA286) = de645acb85378b884e280be3dba8c5479334fbf8
-SHA1 (patch-XSA317) = 3a3e7bf8f115bebaf56001afcf68c2bd501c00a5
-SHA1 (patch-XSA319) = 4954bdc849666e1c735c3281256e4850c0594ee8
-SHA1 (patch-XSA320) = 38d84a2ded4ccacee455ba64eb3b369e5661fbfd
-SHA1 (patch-XSA321) = 1f15b2e3c0f7f2d7335879d3a83c1557ac9de806
-SHA1 (patch-XSA328) = a9b02c183a5dbfb6c0fe50824f18896fcab4a9e9
-SHA1 (patch-XSA333) = 47660b70b2c998436587600bb9a25c2f494afa49
-SHA1 (patch-XSA336) = da0a8bb05877917c75a28155cf2dd2f66d11ef9c
-SHA1 (patch-XSA337) = f323b4c596f8a7b2b3d57dd799f70cf62743369f
-SHA1 (patch-XSA338) = 0adcebec2c25a389155a10de84bf999ff2e5425d
-SHA1 (patch-XSA339) = 4f97076bda8150d1b1c68f6000d563f3c3314c02
-SHA1 (patch-XSA340) = 23888acfe25fc82ff085fa9acfbb36c156a15bc3
-SHA1 (patch-XSA342) = a61c4e28a8c8219b88e3bab534a109b2b29e2cc3
-SHA1 (patch-XSA343) = 239822636b474ebb62aa455cfdbd9853c4fb342f
-SHA1 (patch-XSA344) = cf7184ac9263b418305c6a7fbae7b163b233b4bc
-SHA1 (patch-XSA345) = 14ab754703af1045b2d049de1c6ba1c5baca5d81
-SHA1 (patch-XSA346) = c1962c037c5ab62c2f7e9a558c4565331c981be0
-SHA1 (patch-XSA347) = f3f98a794584d5d4321b95c2b1b9c88821fa567e
-SHA1 (patch-XSA348) = 2a1128e86e31eff4596958324cbaab82830b51a8
-SHA1 (patch-XSA351) = fca8d8c5c77ba8d6007d7643330be7f8835bbc5a
-SHA1 (patch-XSA355) = 73ca5dff042a4a54b06af36e6ace7d09673c05f0
-SHA1 (patch-XSA358) = 3831faa429ac35fa993a60c426fca877bea35bbd
-SHA1 (patch-XSA359) = 4b778a86fffbe0e2a364e1589d573bbc7c27ff99
-SHA1 (patch-xen_Makefile) = 465388d80de414ca3bb84faefa0f52d817e423a6
-SHA1 (patch-xen_Rules.mk) = c743dc63f51fc280d529a7d9e08650292c171dac
-SHA1 (patch-xen_arch_x86_Rules.mk) = 0bedfc53a128a87b6a249ae04fbdf6a053bfb70b
-SHA1 (patch-xen_arch_x86_boot_build32.mk) = b82c20de9b86ddaa9d05bbc1ff28f970eb78473c
-SHA1 (patch-xen_tools_symbols.c) = 6070b3b5ccc38a196283cfc1c52f5d87858beb18
-SHA1 (patch-zz-bouyer) = bf11b2b81d5c81992c911f670e75dd3aec5ab609
diff -r d18a94cafecf -r 80b8fe44ba61 sysutils/xenkernel411/patches/patch-Config.mk
--- a/sysutils/xenkernel411/patches/patch-Config.mk     Tue Jun 28 16:28:06 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-Config.mk,v 1.1 2018/07/24 13:40:11 bouyer Exp $
-
---- Config.mk.orig     2018-04-17 19:21:31.000000000 +0200
-+++ Config.mk  2018-04-23 13:29:47.000000000 +0200
-@@ -32,6 +32,9 @@
- # Tools to run on system hosting the build
- HOSTCFLAGS  = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
- HOSTCFLAGS += -fno-strict-aliasing
-+HOSTCFLAGS += ${EXTRA_CFLAGS}
-+CFLAGS     += ${EXTRA_CFLAGS}
-+
- 
- DISTDIR     ?= $(XEN_ROOT)/dist
- DESTDIR     ?= /
diff -r d18a94cafecf -r 80b8fe44ba61 sysutils/xenkernel411/patches/patch-XSA286
--- a/sysutils/xenkernel411/patches/patch-XSA286        Tue Jun 28 16:28:06 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1002 +0,0 @@
-$NetBSD: patch-XSA286,v 1.2 2020/11/12 11:29:25 bouyer Exp $
-
-From: Jan Beulich <jbeulich%suse.com@localhost>
-Subject: x86: don't allow clearing of TF_kernel_mode for other than 64-bit PV
-
-The flag is really only meant for those, both HVM and 32-bit PV tell
-kernel from user mode based on CPL/RPL. Remove the all-question-marks
-comment and let's be on the safe side here and also suppress clearing
-for 32-bit PV (this isn't a fast path after all).
-
-Remove no longer necessary is_pv_32bit_*() from sh_update_cr3() and
-sh_walk_guest_tables(). Note that shadow_one_bit_disable() already
-assumes the new behavior.
-
-Signed-off-by: Jan Beulich <jbeulich%suse.com@localhost>
-Reviewed-by: Wei Liu <wei.liu2%citrix.com@localhost>
-Acked-by: George Dunlap <george.dunlap%citrix.com@localhost>
-Acked-by: Andrew Cooper <andrew.cooper3%citrix.com@localhost>
-
-diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c
-index 35857dbe86..1d0ac81c5b 100644
---- xen/arch/x86/domain.c.orig
-+++ xen/arch/x86/domain.c
-@@ -804,9 +804,15 @@ int arch_set_info_guest(
- 
-     v->fpu_initialised = !!(flags & VGCF_I387_VALID);
- 
--    v->arch.flags &= ~TF_kernel_mode;
--    if ( (flags & VGCF_in_kernel) || is_hvm_domain(d)/*???*/ )
--        v->arch.flags |= TF_kernel_mode;
-+    v->arch.flags |= TF_kernel_mode;
-+    if ( unlikely(!(flags & VGCF_in_kernel)) &&
-+         /*
-+          * TF_kernel_mode is only allowed to be clear for 64-bit PV. See
-+          * update_cr3(), sh_update_cr3(), sh_walk_guest_tables(), and
-+          * shadow_one_bit_disable() for why that is.
-+          */
-+         !is_hvm_domain(d) && !is_pv_32bit_domain(d) )
-+        v->arch.flags &= ~TF_kernel_mode;
- 
-     v->arch.vgc_flags = flags;
- 
-diff --git a/xen/arch/x86/mm/shadow/multi.c b/xen/arch/x86/mm/shadow/multi.c
-index 8ab343d16e..a2ebb4943f 100644
---- xen/arch/x86/mm/shadow/multi.c.orig
-+++ xen/arch/x86/mm/shadow/multi.c
-@@ -180,7 +180,7 @@ sh_walk_guest_tables(struct vcpu *v, unsigned long va, walk_t *gw,
-                              INVALID_MFN, v->arch.paging.shadow.gl3e);
- #else /* 32 or 64 */
-     const struct domain *d = v->domain;
--    mfn_t root_mfn = ((v->arch.flags & TF_kernel_mode) || is_pv_32bit_domain(d)
-+    mfn_t root_mfn = (v->arch.flags & TF_kernel_mode
-                       ? pagetable_get_mfn(v->arch.guest_table)
-                       : pagetable_get_mfn(v->arch.guest_table_user));
-     void *root_map = map_domain_page(root_mfn);
-@@ -4018,7 +4018,7 @@ sh_update_cr3(struct vcpu *v, int do_locking, bool noflush)
-                   v, (unsigned long)pagetable_get_pfn(v->arch.guest_table));
- 
- #if GUEST_PAGING_LEVELS == 4
--    if ( !(v->arch.flags & TF_kernel_mode) && !is_pv_32bit_domain(d) )
-+    if ( !(v->arch.flags & TF_kernel_mode) )
-         gmfn = pagetable_get_mfn(v->arch.guest_table_user);
-     else
- #endif
-From: Jan Beulich <jbeulich%suse.com@localhost>
-Subject: x86/mm: split L4 and L3 parts of the walk out of do_page_walk()
-
-The L3 one at least is going to be re-used by a subsequent patch, and
-splitting the L4 one then as well seems only natural.
-
-This is part of XSA-286.
-
-Signed-off-by: Jan Beulich <jbeulich%suse.com@localhost>
-Reviewed-by: George Dunlap <george.dunlap%citrix.com@localhost>
-Reviewed-by: Andrew Cooper <andrew.cooper3%citrix.com@localhost>
-
-diff --git a/xen/arch/x86/x86_64/mm.c b/xen/arch/x86/x86_64/mm.c
-index 3bd157967a..e73daa55e4 100644
---- xen/arch/x86/x86_64/mm.c.orig
-+++ xen/arch/x86/x86_64/mm.c
-@@ -44,26 +44,47 @@ unsigned int __read_mostly m2p_compat_vstart = __HYPERVISOR_COMPAT_VIRT_START;
- 
- l2_pgentry_t *compat_idle_pg_table_l2;
- 
--void *do_page_walk(struct vcpu *v, unsigned long addr)
-+static l4_pgentry_t page_walk_get_l4e(pagetable_t root, unsigned long addr)
- {
--    unsigned long mfn = pagetable_get_pfn(v->arch.guest_table);
--    l4_pgentry_t l4e, *l4t;
--    l3_pgentry_t l3e, *l3t;
--    l2_pgentry_t l2e, *l2t;
--    l1_pgentry_t l1e, *l1t;



Home | Main Index | Thread Index | Old Index