[PATCH] helpers: init-dom0less: Drop libxenevtchn from LDLIBS

Michal Orzel posted 1 patch 4 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20250610093326.114529-1-michal.orzel@amd.com
tools/helpers/Makefile        | 3 +--
tools/helpers/init-dom0less.c | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
[PATCH] helpers: init-dom0less: Drop libxenevtchn from LDLIBS
Posted by Michal Orzel 4 months, 3 weeks ago
It hasn't been used since the introduction of the script. Also drop
relevant CFLAGS and header inclusion.

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
---
 tools/helpers/Makefile        | 3 +--
 tools/helpers/init-dom0less.c | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/tools/helpers/Makefile b/tools/helpers/Makefile
index 09590eb5b6f0..8262d9e75a2c 100644
--- a/tools/helpers/Makefile
+++ b/tools/helpers/Makefile
@@ -36,8 +36,7 @@ $(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxentoollog)
 $(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxenstore)
 $(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxenlight)
 $(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxenctrl)
-$(INIT_DOM0LESS_OBJS): CFLAGS += $(CFLAGS_libxenevtchn)
-init-dom0less: LDLIBS += $(call xenlibs-ldlibs,ctrl evtchn toollog store light guest foreignmemory)
+init-dom0less: LDLIBS += $(call xenlibs-ldlibs,ctrl toollog store light guest foreignmemory)
 
 .PHONY: all
 all: $(TARGETS)
diff --git a/tools/helpers/init-dom0less.c b/tools/helpers/init-dom0less.c
index 91edf17b6cef..a182dce56353 100644
--- a/tools/helpers/init-dom0less.c
+++ b/tools/helpers/init-dom0less.c
@@ -10,7 +10,6 @@
 #include <xenctrl.h>
 #include <xenguest.h>
 #include <libxl.h>
-#include <xenevtchn.h>
 #include <xenforeignmemory.h>
 #include <xen/io/xs_wire.h>
 
-- 
2.25.1
Re: [PATCH] helpers: init-dom0less: Drop libxenevtchn from LDLIBS
Posted by Andrew Cooper 4 months, 3 weeks ago
On 10/06/2025 10:33 am, Michal Orzel wrote:
> It hasn't been used since the introduction of the script. Also drop
> relevant CFLAGS and header inclusion.
>
> Signed-off-by: Michal Orzel <michal.orzel@amd.com>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>