On 11/11/2011 03:45 AM, Daniel P. Berrange wrote:
On Fri, Nov 11, 2011 at 04:20:19PM +0800, Hu Tao wrote:
> The reason is that the function virNetDevExists is now returns 1
if
> the device exists, comparing to the former one returns 0 if the device
> exists. But with only this fix will cause a segmentation fault(the same
> steps as above) that is fixed by the second chunk of code.
> ---
> src/network/bridge_driver.c | 8 +++++---
> 1 files changed, 5 insertions(+), 3 deletions(-)
>
ACK
Pushed.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org