From 6aa2fa38b04b802f137e51ebbeb4ca9b67487575 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Tue, 28 Nov 2023 19:24:39 +0100 Subject: [PATCH] meson: Stop looking for passt at build time We only use it at runtime, not during the build process. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- meson.build | 1 - src/qemu/qemu_passt.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index fa4062df2f..4d96b32e58 100644 --- a/meson.build +++ b/meson.build @@ -814,7 +814,6 @@ optional_programs = [ 'mm-ctl', 'modprobe', 'ovs-vsctl', - 'passt', 'pdwtags', 'pytest', 'rmmod', diff --git a/src/qemu/qemu_passt.c b/src/qemu/qemu_passt.c index c364fba4e7..70a12c825e 100644 --- a/src/qemu/qemu_passt.c +++ b/src/qemu/qemu_passt.c @@ -35,6 +35,9 @@ VIR_LOG_INIT("qemu.passt"); +#define PASST "passt" + + static char * qemuPasstCreatePidFilename(virDomainObj *vm, virDomainNetDef *net)