WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [patch] netfront: unregister net device at backend_chang

To: Joe Jin <joe.jin@xxxxxxxxxx>, <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [patch] netfront: unregister net device at backend_changed() if network_connect() failed
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 18 Nov 2008 10:47:48 +0000
Cc:
Delivery-date: Tue, 18 Nov 2008 02:48:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081118060158.GA24789@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclJaxicV1fwQLVeEd2X7QAX8io7RQ==
Thread-topic: [patch] netfront: unregister net device at backend_changed() if network_connect() failed
User-agent: Microsoft-Entourage/11.4.0.080122


On 18/11/08 06:01, "Joe Jin" <joe.jin@xxxxxxxxxx> wrote:

> Subject: netfront: unregister net device at backend_changed() if
> network_connect() failed
> From: Joe Jin <joe.jin@xxxxxxxxxx>
> 
> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>