On 07/20/2011 12:21 AM, Laine Stump wrote:
virtPortProfiles are currently only used in the domain XML, but will
soon also be used in the network XML. To prepare for that change, this
patch moves the structure definition into util/network.h and the parse
and format functions into util/network.c (I decided that this was a
better choice than macvtap.h/c for something that needed to always be
available on all platforms).
---
docs/schemas/Makefile.am | 1 +
docs/schemas/domain.rng | 45 +---------
docs/schemas/networkcommon.rng | 50 ++++++++++
libvirt.spec.in | 1 +
mingw32-libvirt.spec.in | 1 +
src/conf/domain_conf.c | 188 -------------------------------------
src/libvirt_private.syms | 2 +
src/util/macvtap.c | 6 +-
src/util/macvtap.h | 36 +-------
src/util/network.c | 200 ++++++++++++++++++++++++++++++++++++++++
src/util/network.h | 46 +++++++++
11 files changed, 308 insertions(+), 268 deletions(-)
create mode 100644 docs/schemas/networkcommon.rng
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org