pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils Add xenkerne48 and xentools48, version 4.8.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b554a605c19e
branches: trunk
changeset: 360447:b554a605c19e
user: bouyer <bouyer%pkgsrc.org@localhost>
date: Thu Mar 30 09:15:09 2017 +0000
description:
Add xenkerne48 and xentools48, version 4.8.0.
This includes stub domains support, but it should be considered
experimental at this time. Stub domains hangs with serial ports,
or more more than one virual disk (multiple virtual ethernet have not been
tested).
diffstat:
sysutils/Makefile | 4 +-
sysutils/xenkernel48/DESCR | 14 +
sysutils/xenkernel48/MESSAGE | 7 +
sysutils/xenkernel48/Makefile | 68 +
sysutils/xenkernel48/PLIST | 3 +
sysutils/xenkernel48/distinfo | 12 +
sysutils/xenkernel48/patches/patch-Config.mk | 14 +
sysutils/xenkernel48/patches/patch-xen_Makefile | 13 +
sysutils/xenkernel48/patches/patch-xen_Rules.mk | 14 +
sysutils/xenkernel48/patches/patch-xen_arch_x86_Rules.mk | 12 +
sysutils/xenkernel48/patches/patch-xen_arch_x86_boot_build32.mk | 15 +
sysutils/xenkernel48/patches/patch-xen_tools_symbols.c | 19 +
sysutils/xentools48/DESCR | 5 +
sysutils/xentools48/MESSAGE | 11 +
sysutils/xentools48/MESSAGE.NetBSD | 17 +
sysutils/xentools48/Makefile | 307 +++++
sysutils/xentools48/PLIST | 486 ++++++++
sysutils/xentools48/distinfo | 124 ++
sysutils/xentools48/files/blk_netbsd.c | 38 +
sysutils/xentools48/files/blktapctrl_netbsd.c | 16 +
sysutils/xentools48/files/locking.sh | 72 +
sysutils/xentools48/files/xen-watchdog.sh | 17 +
sysutils/xentools48/files/xencommons.sh | 107 +
sysutils/xentools48/files/xendomains.sh | 129 ++
sysutils/xentools48/patches/patch-.._ipxe_src_core_settings.c | 34 +
sysutils/xentools48/patches/patch-.._ipxe_src_net_fcels.c | 124 ++
sysutils/xentools48/patches/patch-.._newlib-1.16.0_newlib_libc_include_sys__types.h | 16 +
sysutils/xentools48/patches/patch-._stubdom_vtpmmgr_tpm2_marshal.h | 491 ++++++++
sysutils/xentools48/patches/patch-Config.mk | 22 +
sysutils/xentools48/patches/patch-Makefile | 29 +
sysutils/xentools48/patches/patch-XSA-211-1 | 266 ++++
sysutils/xentools48/patches/patch-XSA-211-2 | 227 +++
sysutils/xentools48/patches/patch-docs_man_xl.cfg.pod.5.in | 29 +
sysutils/xentools48/patches/patch-docs_man_xl.conf.pod.5 | 37 +
sysutils/xentools48/patches/patch-docs_man_xl.pod.1.in | 44 +
sysutils/xentools48/patches/patch-docs_man_xlcpupool.cfg.pod.5 | 28 +
sysutils/xentools48/patches/patch-docs_misc_xl-disk-configuration.txt | 13 +
sysutils/xentools48/patches/patch-extras_mini-os_Config.mk | 17 +
sysutils/xentools48/patches/patch-extras_mini-os_arch_x86_arch.mk | 22 +
sysutils/xentools48/patches/patch-extras_mini-os_include_fcntl.h | 12 +
sysutils/xentools48/patches/patch-extras_mini-os_include_time.h | 12 +
sysutils/xentools48/patches/patch-extras_mini-os_lib_sys.c | 15 +
sysutils/xentools48/patches/patch-extras_mini-os_lock.c | 11 +
sysutils/xentools48/patches/patch-stubdom_Makefile | 296 +++++
sysutils/xentools48/patches/patch-stubdom_newlib.patch | 26 +
sysutils/xentools48/patches/patch-stubdom_vtpmmgr_marshal.h | 587 ++++++++++
sysutils/xentools48/patches/patch-stubdom_vtpmmgr_tcg.h | 129 ++
sysutils/xentools48/patches/patch-stubdom_vtpmmgr_tpmrsa.h | 12 +
sysutils/xentools48/patches/patch-stubdom_vtpmmgr_vtpm_manager.h | 12 +
sysutils/xentools48/patches/patch-stubdom_vtpmmgr_vtpmmgr.h | 12 +
sysutils/xentools48/patches/patch-tools_Makefile | 39 +
sysutils/xentools48/patches/patch-tools_Rules.mk | 91 +
sysutils/xentools48/patches/patch-tools_configure | 39 +
sysutils/xentools48/patches/patch-tools_console_daemon_utils.c | 22 +
sysutils/xentools48/patches/patch-tools_examples_Makefile | 12 +
sysutils/xentools48/patches/patch-tools_firmware_etherboot_Makefile | 26 +
sysutils/xentools48/patches/patch-tools_firmware_hvmloader_Makefile | 13 +
sysutils/xentools48/patches/patch-tools_hotplug_NetBSD_Makefile | 52 +
sysutils/xentools48/patches/patch-tools_hotplug_NetBSD_block | 37 +
sysutils/xentools48/patches/patch-tools_hotplug_NetBSD_vif-bridge | 16 +
sysutils/xentools48/patches/patch-tools_hotplug_NetBSD_vif-ip | 15 +
sysutils/xentools48/patches/patch-tools_hotplug_common_Makefile | 24 +
sysutils/xentools48/patches/patch-tools_include_xen-sys_NetBSD_gntdev.h | 110 +
sysutils/xentools48/patches/patch-tools_libs_call_netbsd.c | 55 +
sysutils/xentools48/patches/patch-tools_libs_call_private.h | 16 +
sysutils/xentools48/patches/patch-tools_libs_evtchn_netbsd.c | 22 +
sysutils/xentools48/patches/patch-tools_libs_foreignmemory_compat.c | 14 +
sysutils/xentools48/patches/patch-tools_libs_foreignmemory_netbsd.c | 48 +
sysutils/xentools48/patches/patch-tools_libs_foreignmemory_private.h | 13 +
sysutils/xentools48/patches/patch-tools_libxl_Makefile | 22 +
sysutils/xentools48/patches/patch-tools_libxl_libxl__create.c | 40 +
sysutils/xentools48/patches/patch-tools_libxl_libxl_event.c | 24 +
sysutils/xentools48/patches/patch-tools_libxl_libxl_internal.h | 23 +
sysutils/xentools48/patches/patch-tools_libxl_libxl_uuid.c | 22 +
sysutils/xentools48/patches/patch-tools_libxl_xl__cmdtable.c | 13 +
sysutils/xentools48/patches/patch-tools_libxl_xl_cmdimpl.c | 49 +
sysutils/xentools48/patches/patch-tools_ocaml_common.make | 13 +
sysutils/xentools48/patches/patch-tools_ocaml_xenstored_Makefile | 12 +
sysutils/xentools48/patches/patch-tools_ocaml_xenstored_define.ml | 13 +
sysutils/xentools48/patches/patch-tools_ocaml_xenstored_utils.ml | 13 +
sysutils/xentools48/patches/patch-tools_pygrub_Makefile | 13 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_Makefile | 84 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_block-raw-posix.c | 62 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_configure | 41 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_hw_e1000.c | 34 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_hw_ide.c | 37 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_hw_pass-through.c | 13 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_hw_pass-through.h | 18 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_hw_piix4acpi.c | 17 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_hw_pt-graphics.c | 13 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_hw_pt-msi.c | 15 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_hw_pt-msi.h | 12 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_i386-dm_hookstarget.mak | 12 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_net.c | 46 +
sysutils/xentools48/patches/patch-tools_qemu-xen-traditional_xen-hooks.mak | 47 +
sysutils/xentools48/patches/patch-tools_qemu-xen_audio_audio.c | 12 +
sysutils/xentools48/patches/patch-tools_qemu-xen_configure | 14 +
sysutils/xentools48/patches/patch-tools_qemu-xen_qemu-doc.texi | 15 +
sysutils/xentools48/patches/patch-tools_qemu-xen_xen-hvm.c | 13 +
sysutils/xentools48/patches/patch-tools_xenpaging_xenpaging.c | 18 +
sysutils/xentools48/patches/patch-tools_xenstore_xc.c | 18 +
sysutils/xentools48/patches/patch-tools_xentrace_xentrace.c | 13 +
102 files changed, 5521 insertions(+), 1 deletions(-)
diffs (truncated from 5944 to 300 lines):
diff -r 30fe59f33290 -r b554a605c19e sysutils/Makefile
--- a/sysutils/Makefile Thu Mar 30 08:52:54 2017 +0000
+++ b/sysutils/Makefile Thu Mar 30 09:15:09 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.692 2017/03/04 19:10:32 bsiegert Exp $
+# $NetBSD: Makefile,v 1.693 2017/03/30 09:15:09 bouyer Exp $
#
COMMENT= System utilities
@@ -651,10 +651,12 @@
SUBDIR+= xenkernel42
SUBDIR+= xenkernel45
SUBDIR+= xenkernel46
+SUBDIR+= xenkernel48
SUBDIR+= xenstoretools
SUBDIR+= xentools42
SUBDIR+= xentools45
SUBDIR+= xentools46
+SUBDIR+= xentools48
SUBDIR+= xenvstat
SUBDIR+= xfburn
SUBDIR+= xfce4-appfinder
diff -r 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/DESCR Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,14 @@
+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.8 Xen kernel itself. PCI passthrough is
+not supported. PAE is mandatory; on i386 one must use XEN3PAE_DOM[0U].
diff -r 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/MESSAGE Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+
+The Xen hypervisor is installed under the following locations:
+ ${XENKERNELDIR}/xen.gz (standard hypervisor)
+ ${XENKERNELDIR}/xen-debug.gz (debug hypervisor)
+===========================================================================
diff -r 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/Makefile Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,68 @@
+# $NetBSD: Makefile,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+
+VERSION= 4.8.0
+DISTNAME= xen-${VERSION}
+PKGNAME= xenkernel48-${VERSION}
+#PKGREVISION= 4
+CATEGORIES= sysutils
+MASTER_SITES= http://bits.xensource.com/oss-xen/release/${VERSION}/
+DIST_SUBDIR= xen48
+
+MAINTAINER= bouyer%NetBSD.org@localhost
+HOMEPAGE= http://xenproject.org/
+COMMENT= Xen 4.8.x Kernel
+
+LICENSE= gnu-gpl-v2
+
+ONLY_FOR_PLATFORM= Linux-2.6*-x86_64
+ONLY_FOR_PLATFORM+= NetBSD-[5-9].*-x86_64
+
+NO_CONFIGURE= yes
+USE_TOOLS+= gmake
+
+PYTHON_FOR_BUILD_ONLY= YES
+PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36
+
+MAKE_ENV+= OCAML_TOOLS=no
+
+INSTALLATION_DIRS= xen48-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
+.endif
+EXTRA_CFLAGS+= -falign-functions=16
+
+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
+ 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 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/PLIST Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+xen48-kernel/xen-debug.gz
+xen48-kernel/xen.gz
diff -r 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/distinfo Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: distinfo,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+
+SHA1 (xen48/xen-4.8.0.tar.gz) = c2403899b13e1e8b8da391aceecbfc932d583a88
+RMD160 (xen48/xen-4.8.0.tar.gz) = b79b1e2587caa9c6fe68d2996a4fd42f95c1fe7b
+SHA512 (xen48/xen-4.8.0.tar.gz) = 70b95553f9813573b12e52999a4df8701dec430f23c36a8dc70d25a46bb4bc9234e5b7feb74a04062af4c8d6b6bcfe947d90b2b172416206812e54bac9797454
+Size (xen48/xen-4.8.0.tar.gz) = 22499917 bytes
+SHA1 (patch-Config.mk) = abf55aa58792315e758ee3785a763cfa8c2da68f
+SHA1 (patch-xen_Makefile) = be3f4577a205b23187b91319f91c50720919f70b
+SHA1 (patch-xen_Rules.mk) = 5f33a667bae67c85d997a968c0f8b014b707d13c
+SHA1 (patch-xen_arch_x86_Rules.mk) = e2d148fb308c37c047ca41a678471217b6166977
+SHA1 (patch-xen_arch_x86_boot_build32.mk) = 7fa0d64e88e3be0330dac9a2ddc8b0114fd7d4a5
+SHA1 (patch-xen_tools_symbols.c) = fdc7e4aa7b8db0854987c9d0e60c254bb9f5af4e
diff -r 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/patches/patch-Config.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/patches/patch-Config.mk Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-Config.mk,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+
+--- Config.mk.orig 2016-12-05 13:03:27.000000000 +0100
++++ Config.mk 2017-03-21 17:03:57.000000000 +0100
+@@ -36,6 +36,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 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/patches/patch-xen_Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/patches/patch-xen_Makefile Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-xen_Makefile,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+
+--- xen/Makefile.orig 2016-02-09 14:44:19.000000000 +0000
++++ xen/Makefile
+@@ -135,7 +135,7 @@ include/xen/compile.h: include/xen/compi
+ -e 's/@@whoami@@/$(XEN_WHOAMI)/g' \
+ -e 's/@@domain@@/$(XEN_DOMAIN)/g' \
+ -e 's/@@hostname@@/$(XEN_BUILD_HOST)/g' \
+- -e 's!@@compiler@@!$(shell $(CC) $(CFLAGS) --version 2>&1 | head -1)!g' \
++ -e 's!@@compiler@@!$(shell $(CC) $(EXTRA_CFLAGS) $(CFLAGS) --version 2>&1 | head -1)!g' \
+ -e 's/@@version@@/$(XEN_VERSION)/g' \
+ -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
+ -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
diff -r 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/patches/patch-xen_Rules.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/patches/patch-xen_Rules.mk Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-xen_Rules.mk,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+
+--- xen/Rules.mk.orig 2017-03-21 18:32:41.000000000 +0100
++++ xen/Rules.mk 2017-03-21 18:33:07.000000000 +0100
+@@ -5,6 +5,9 @@
+ #
+ lto ?= n
+
++#reset cflags. Why is it needed in pkgsrc ?
++CFLAGS=
++
+ -include $(BASEDIR)/include/config/auto.conf
+
+ include $(XEN_ROOT)/Config.mk
diff -r 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/patches/patch-xen_arch_x86_Rules.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/patches/patch-xen_arch_x86_Rules.mk Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-xen_arch_x86_Rules.mk,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+
+--- ./xen/arch/x86/Rules.mk.orig 2016-12-05 13:03:27.000000000 +0100
++++ ./xen/arch/x86/Rules.mk 2017-03-21 16:59:28.000000000 +0100
+@@ -5,6 +5,7 @@
+ CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic
+ CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-default
+ CFLAGS += '-D__OBJECT_LABEL__=$(subst /,$$,$(subst -,_,$(subst $(BASEDIR)/,,$(CURDIR))/$@))'
++CFLAGS += $(EXTRA_CFLAGS)
+
+ # Prevent floating-point variables from creeping into Xen.
+ CFLAGS += -msoft-float
diff -r 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/patches/patch-xen_arch_x86_boot_build32.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/patches/patch-xen_arch_x86_boot_build32.mk Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-xen_arch_x86_boot_build32.mk,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+linux's toolchain doesn't generate a .eh_frame section but NetBSD does.
+remove it.
+
+--- xen/arch/x86/boot/build32.mk.orig 2017-03-24 16:06:14.000000000 +0100
++++ xen/arch/x86/boot/build32.mk 2017-03-24 16:06:37.000000000 +0100
+@@ -24,7 +24,7 @@
+ exit $$(expr $$idx + 1);; \
+ esac; \
+ done
+- $(OBJCOPY) -O binary -R .got.plt $< $@
++ $(OBJCOPY) -O binary -R .got.plt -R .eh_frame $< $@
+
+ %.lnk: %.o
+ $(LD) $(LDFLAGS_DIRECT) -N -T build32.lds -o $@ $<
diff -r 30fe59f33290 -r b554a605c19e sysutils/xenkernel48/patches/patch-xen_tools_symbols.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xenkernel48/patches/patch-xen_tools_symbols.c Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-xen_tools_symbols.c,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+fix "error: array subscript has type 'char'"
+
+--- xen/tools/symbols.c.orig 2017-03-21 17:37:05.000000000 +0100
++++ xen/tools/symbols.c 2017-03-21 17:37:53.000000000 +0100
+@@ -173,11 +173,11 @@
+ /* include the type field in the symbol name, so that it gets
+ * compressed together */
+ s->len = strlen(str) + 1;
+- if (islower(stype) && filename)
++ if (islower((uint8_t)stype) && filename)
+ s->len += strlen(filename) + 1;
+ s->sym = malloc(s->len + 1);
+ sym = SYMBOL_NAME(s);
+- if (islower(stype) && filename) {
++ if (islower((uint8_t)stype) && filename) {
+ sym = stpcpy(sym, filename);
+ *sym++ = '#';
+ }
diff -r 30fe59f33290 -r b554a605c19e sysutils/xentools48/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools48/DESCR Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,5 @@
+The Xen virtual machine monitor allows running several virtual machines
+on a single physical machine. The xentools48 package contains the
+tools to create, destroy and control the virtual machines.
+
+This package contains the tools for Xen 4.8.x
diff -r 30fe59f33290 -r b554a605c19e sysutils/xentools48/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools48/MESSAGE Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+
+Please note that the xm command has been removed.
+You have to switch to the xl command, which is now functional on NetBSD.
+
+Also note that the rc.d scripts have been updated in this version.
+If you don't use PKG_RCD_SCRIPTS=YES then it is very important for
+you to copy the new rc.d scripts to /etc/rc.d.
+
+===========================================================================
diff -r 30fe59f33290 -r b554a605c19e sysutils/xentools48/MESSAGE.NetBSD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools48/MESSAGE.NetBSD Thu Mar 30 09:15:09 2017 +0000
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1 2017/03/30 09:15:09 bouyer Exp $
+
+Please ensure that the Xen-specific devices needed by xend(8) exist:
+
+ cd /dev && sh MAKEDEV xen
+
+There are example configuration files for setting up a guest domain in:
+
+ ${EGDIR}/
+
+Please also refer to the the "NetBSD/xen How-To" for more information on
+creating a Xen setup:
+
+ http://www.NetBSD.org/ports/xen/howto.html
Home |
Main Index |
Thread Index |
Old Index