Re: [libvirt] [PATCH] lxc: Fix failure on starting a domain that has multiple network interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 03, 2010 at 06:54:56AM +0900, Ryota Ozaki wrote:
> [Error message]
> error: Failed to start domain lxc_test1
> error: internal error Failed to create veth device pair: 512
> 
> The reason of the failure is that lxc driver unexpectedly re-uses
> an auto-assigned veth name and tries to create the created veth
> again. The failure will happen when a domain has multiple network
> interfaces and the names of those are not specified in XML.
> 
> The patch fixes the problem by resetting buffers of veth names
> in every iteration of creating veth.
> 
> * src/lxc/lxc_driver.c: prevent re-using auto-assigned veth name
> Reported by Kumar L Srikanth-B22348.

  Okay, makes sense, pushed !

   thanks,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]