lib/launch-libvirt.c: Assume libvirt >= 9.0.0 and passt support

Libvirt 9.0.0 was released in January 2023, and it seems safe to
assume that if you're enabling the non-default backend, you can at
least use a new version of libvirt.

If you're using new libvirt, might as well also assume passt is
available.
This commit is contained in:
Richard W.M. Jones
2025-09-29 13:17:13 +01:00
committed by rwmjones
parent d730fc8b7c
commit 48bad58024
3 changed files with 5 additions and 13 deletions

View File

@@ -264,7 +264,7 @@ AC_ARG_WITH([libvirt],[
[],
[with_libvirt=check])
AS_IF([test "$with_libvirt" != "no"],[
PKG_CHECK_MODULES([LIBVIRT], [libvirt >= 0.10.2],[
PKG_CHECK_MODULES([LIBVIRT], [libvirt >= 9.0.0],[
AC_SUBST([LIBVIRT_CFLAGS])
AC_SUBST([LIBVIRT_LIBS])
AC_DEFINE([HAVE_LIBVIRT],[1],[libvirt found at compile time.])