]> xenbits.xensource.com Git - libvirt.git/commit
util: replace virHostdevNetConfigReplace with ...(Save|Set)NetConfig()
authorLaine Stump <laine@laine.org>
Tue, 28 Feb 2017 18:47:12 +0000 (13:47 -0500)
committerLaine Stump <laine@laine.org>
Mon, 27 Mar 2017 14:19:18 +0000 (10:19 -0400)
commitb684734bef7d475a5d3f20acf6d46c4a34e77d63
tree14939c4c28456edec54cb5b88a1d76ffa580b5a1
parent9c004d55d02422b8eaa6db857372bdd4af3e26ed
util: replace virHostdevNetConfigReplace with ...(Save|Set)NetConfig()

These two operations will need to be separated so that saving of the
original config is done before detaching the host net driver, and
setting the new config is done after attaching vfio-pci. This patch
splits the single function into two, but for now calls them together
(to make bisecting easier if there is a regression).
src/util/virhostdev.c