]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: support functions for mac/portprofile associations on hostdev
authorRoopa Prabhu <roprabhu@cisco.com>
Tue, 6 Mar 2012 01:12:34 +0000 (17:12 -0800)
committerLaine Stump <laine@laine.org>
Tue, 6 Mar 2012 11:03:51 +0000 (06:03 -0500)
commit5095bf06f1dc91063a36fe824ea2606b32ea8d29
tree08a7a553b9d44970ec2529ad52a15cd837f980c9
parentb8b702734c31b47aa0d89712ab6c34a70b74c063
util: support functions for mac/portprofile associations on hostdev

This patch adds the following:

- functions to set and get vf configs
- Functions to replace and store vf configs (Only mac address is handled today.
  But the functions can be easily extended for vlans and other vf configs)
- function to dump link dev info (This is moved from virnetdevvportprofile.c)

Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
src/libvirt_private.syms
src/util/virnetdev.c
src/util/virnetdev.h
src/util/virnetlink.h