[libvirt PATCH v2 0/2] stop using netcf for the interface driver backend

Laine Stump laine at redhat.com
Sun Jan 24 06:44:24 UTC 2021

V1 here: https://www.redhat.com/archives/libvir-list/2021-January/msg00922.html

A short version of the cover letter from V1: this is a followup to my
proposal to stop using netcf for the interface driver backend in
Fedora/RHEL/CentOS builds and use the udev backend instead (it turns
out Ubuntu already disabled netcf in 2018).

Changes in V2:

* removed the patch that made the default netcf=disabled even when
  netcf-devel was found on the host. If someone has netcf-devel
  installed and still wants to build without netcf, then can add
  "-Dnetcf=disabled" on the meson commandline.

* Made the specfile changes more intelligent:

  * instead of hardcoding -Dnetcf=disabled, we now have a variable
    %{with_netcf} that is set to 1 for current Fedora (< 34) and current
    RHEL (< 9) but will be set to 0 for future Fedora/RHEL. This way the
    behavior on current OS releases will remain the same even for future

  * it is possible to for netcf support off even in current/older OS
    releases by adding "--without netcf" to the rpmbuild commandline.

I think at this point I would be comfortable pushing these patches, unless someone has misgivings about it...

Laine Stump (2):
  build: support explicitly disabling netcf
  rpm: disable netcf for the interface driver in rpm build on new

 libvirt.spec.in | 22 +++++++++++++++++-----
 meson.build     | 10 ++++++----
 2 files changed, 23 insertions(+), 9 deletions(-)


More information about the libvir-list mailing list