qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH] net: delay peer host device delete


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH] net: delay peer host device delete
Date: Tue, 21 Sep 2010 07:42:19 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100826 Lightning/1.0b1 Thunderbird/3.0.7

On 09/21/2010 04:18 AM, Michael S. Tsirkin wrote:
No, netdev_del should remove the VLANClientState from the
non_vlan_clients list.

It's no longer enumerable and it's no longer lookup-able.

The only reason it stays around it so that the device doesn't have a
reference to a free pointer.  The only field that's ever looked at
is is_deleted which is used by every function to turn around and
implement a nop.

The VLANClientState is a hollow shell of it's former glorious self.
The remainder of it's (hopefully short) life is merely so that we
can avoid touching every device to teach them about disconnecting
backends.
We'll have to tell them link is down, won't we?

Yes, that would be a nice touch.

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]