[libvirt] [PATCH] Move virNetDevVPort enum impl into virnetdevvportprofile.c

Eric Blake eblake at redhat.com
Thu Oct 10 17:10:26 UTC 2013


On 10/10/2013 10:30 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> 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 at redhat.com>
> ---
>  src/conf/netdev_vport_profile_conf.c | 7 -------
>  src/util/virnetdevvportprofile.c     | 6 ++++++
>  2 files changed, 6 insertions(+), 7 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131010/0dda1eeb/attachment-0001.sig>


More information about the libvir-list mailing list