[PATCH v2 00/11] Fix saving/setting/restoring SR-IOV VF MAC address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I pushed the 1st 10 patches of this series. The rest of the series was
ACKed as well, except patch 11, which is patch 01/11 in this repost.

Michal had asked that the rewrite of the saving/restoring of MAC and
vlan tag data use a more sane format for the data file (it has been
just an unformatted plaintext file since the beginning, which has
always bothered me, but not enough to change it.) The resulting JSON
format file is *much* nicer, and will be easier to expand if we ever
need to.

Patches 2 - 11 were already ACKed and haven't been modified, but feel
free to go over them again if you want :-)

Laine Stump (11):
  util: new functions virNetDev(Save|Read|Set)NetConfig()
  util: use new virNetDev*NetConfig() functions for macvtap
    setup/teardown
  util: use new virNetDev*NetConfig() functions for hostdev
    setup/teardown
  util: replace virHostdevNetConfigReplace with ...(Save|Set)NetConfig()
  util: save hostdev network device config before unbinding from host
    driver
  util: after hostdev assignment, restore VF MAC address via setting
    admin MAC
  util: remove unused functions from virnetdev.c
  util: if setting admin MAC to 00:00:00:00:00:00 fails, try
    02:00:00:00:00:00
  util: try *really* hard to set the MAC address of an SRIOV VF
  util: log all setting of MAC addresses and vlan tags
  util: rename virHostdevNetConfigRestore() to
    virHostdevRestoreNetConfig()

 src/libvirt_private.syms    |   7 +-
 src/util/virhostdev.c       | 147 ++++++--
 src/util/virnetdev.c        | 855 +++++++++++++++++++++++++++++++-------------
 src/util/virnetdev.h        |  29 +-
 src/util/virnetdevmacvlan.c |  40 ++-
 5 files changed, 778 insertions(+), 300 deletions(-)

-- 
2.9.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux