Re: [libvirt] [PATCH 12/33] Fix error reporting in port profile parsing/formatting APIs

2011-11-14 Thread Daniel P. Berrange
On Wed, Nov 09, 2011 at 02:58:32AM -0500, Laine Stump wrote: > After applying this patch, make fails with: > > CC libvirt_util_la-network.lo > cc1: warnings being treated as errors > util/network.c: In function 'virNetDevVPortProfileParse': > util/network.c:712:23: error: assignment makes po

Re: [libvirt] [PATCH 12/33] Fix error reporting in port profile parsing/formatting APIs

2011-11-09 Thread Laine Stump
After applying this patch, make fails with: CC libvirt_util_la-network.lo cc1: warnings being treated as errors util/network.c: In function 'virNetDevVPortProfileParse': util/network.c:712:23: error: assignment makes pointer from integer without a cast util/network.c:712:69: error: ordered

[libvirt] [PATCH 12/33] Fix error reporting in port profile parsing/formatting APIs

2011-11-03 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The virtual port profile parsing/formatting APIs do not correctly handle unknown profile type strings/numbers. They behave as a no-op, instead of raising an error * src/util/network.c, src/util/network.h: Fix error handling of port profile APIs * src/conf/domain_conf