From: Keir Fraser Subject: Re: [patch] netfront: unregister net device at backend_changed() if network_connect() failed Date: Tue, 18 Nov 2008 10:47:48 +0000 Message-ID: References: <20081118060158.GA24789@joejin-pc.cn.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081118060158.GA24789@joejin-pc.cn.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Joe Jin , Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 18/11/08 06:01, "Joe Jin" wrote: > Subject: netfront: unregister net device at backend_changed() if > network_connect() failed > From: Joe Jin > > When network_connect() failed on backend_changed(), need to call > unregister_netdev() to unregister the device, otherwise at vm maybe create > a no-mac address net device, the device sometime might confuse user. If virtual devices are failing to initialise then a confusing no-mac interface is presumably the least of the user's worries? -- Keir