]> xenbits.xensource.com Git - libvirt.git/commit
interface: let netcf pre-filter for active vs. inactive
authorLaine Stump <laine@laine.org>
Fri, 18 Sep 2015 17:51:33 +0000 (13:51 -0400)
committerLaine Stump <laine@laine.org>
Fri, 2 Oct 2015 15:16:11 +0000 (11:16 -0400)
commitce692d5ea6e067a7fc655da89cddfa1a3487d51c
treeca18057ddff1d2a87b50a334d3a4c7455779f4cf
parent070732735f222997d10106100b8d848760efe35e
interface: let netcf pre-filter for active vs. inactive

If a system has a large number of active or active interfaces, it can
be a big waste of time to retrieve and qualify all interfaces if the
caller only wanted one subset. Since netcf has a simple flag for this,
translate the libvirt flag into a netcf flag and let netcf pre-filter.
src/interface/interface_backend_netcf.c