]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Move virNetDevVPort enum impl into virnetdevvportprofile.c
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 10 Oct 2013 15:41:05 +0000 (16:41 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 11 Oct 2013 10:45:54 +0000 (11:45 +0100)
commit1fb4d8923ff203d6bc31b1e1d89126e5670cb019
treed4e33f6433ea3e39c1b946280e1c87e1f4457de6
parent1606d89c86545e63402ae4e379ceb98a1ca818e3
Move virNetDevVPort enum impl into virnetdevvportprofile.c

The enum for virNetDevVPort is declared in the header file
virnetdevvportprofile.h, but for some reason the impl is
in netdev_vport_profile_conf.c.

This causes a dep from src/util onto src/conf which is not
allowed. Move the enum impl into virnetdevvportprofile.c
to break the circle.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/conf/netdev_vport_profile_conf.c
src/util/virnetdevvportprofile.c