head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.20 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.18 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.16 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.14 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.12 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.10 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.8 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.6 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2023.11.21.11.37.03; author bouyer; state Exp; branches; next ; commitid HprkrN60xHmObtNE; desc @@ 1.1 log @Add xentools418 version 20231116 Unlike previous Xen packages, the xentools418 and xenkernel418 will point to a specific commit of the stable branch (instead of release tags), the package version being the date of the commit. Hopefully this will make tracking security fixes easier. From DESCR: The Xen virtual machine monitor allows running several virtual machines on a single physical machine. The xentools418 package contains the tools to create, destroy and control the virtual machines. This package contains the tools for Xen 4.18.x @ text @$NetBSD: patch-tools_qemu-xen-traditional_xen-hooks.mak,v 1.1 2021/04/18 12:31:26 bouyer Exp $ enable PCI passthrough when pciutils is present --- tools/qemu-xen-traditional/xen-hooks.mak.orig 2020-12-08 16:54:20.000000000 +0100 +++ tools/qemu-xen-traditional/xen-hooks.mak 2020-12-09 16:07:04.817171636 +0100 @@@@ -61,17 +61,25 @@@@ ifdef CONFIG_STUBDOM CONFIG_PASSTHROUGH=1 else - ifeq (,$(wildcard /usr/include/pci)) + ifeq ($(CONFIG_NetBSD), y) +CONFIG_PASSTHROUGH=1 + else + ifeq (,$(wildcard /usr/include/pci)) $(warning === pciutils-dev package not found - missing /usr/include/pci) $(warning === PCI passthrough capability has been disabled) - else + else CONFIG_PASSTHROUGH=1 + endif endif endif ifdef CONFIG_PASSTHROUGH OBJS+= pass-through.o pt-msi.o pt-graphics.o +ifeq ($(CONFIG_NetBSD), y) +LIBS += -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lpciutils -lpci +else LIBS += -lpci +endif CFLAGS += -DCONFIG_PASSTHROUGH $(info === PCI passthrough capability has been enabled ===) endif @