Re: [Qemu-devel] Re: [PATCH] vhost-net: Do not set features for backend when peer was deleted

2010-10-27 Thread Michael S. Tsirkin
On Wed, Oct 27, 2010 at 02:59:16PM +0800, Jason Wang wrote: > Michael S. Tsirkin writes: > > On Wed, Oct 27, 2010 at 12:43:51AM +0800, Jason Wang wrote: > > > When hot-unplug a virtio nic with vhost-net backend, guest may > > > continue to program the nic even if its peer have been deleted. We c

[Qemu-devel] Re: [PATCH] vhost-net: Do not set features for backend when peer was deleted

2010-10-27 Thread Jason Wang
Michael S. Tsirkin writes: > On Wed, Oct 27, 2010 at 12:43:51AM +0800, Jason Wang wrote: > > When hot-unplug a virtio nic with vhost-net backend, guest may > > continue to program the nic even if its peer have been deleted. We can > > not set features at this time as vhost_net_ack_features() ma

[Qemu-devel] Re: [PATCH] vhost-net: Do not set features for backend when peer was deleted

2010-10-26 Thread Michael S. Tsirkin
On Wed, Oct 27, 2010 at 12:43:51AM +0800, Jason Wang wrote: > When hot-unplug a virtio nic with vhost-net backend, guest may > continue to program the nic even if its peer have been deleted. We can > not set features at this time as vhost_net_ack_features() may still > try to use the tap related vh