Re: [Qemu-devel] [PATCHv2] vhost: disable on tap link down

2011-02-09 Thread Michael S. Tsirkin
On Wed, Feb 09, 2011 at 09:52:22AM +0100, Markus Armbruster wrote: > "Michael S. Tsirkin" writes: > > > qemu makes it possible to disable link at tap > > which is not communicated to the guest but > > causes all packets to be dropped. > > > > Handle this with vhost simply by moving to the userspa

Re: [Qemu-devel] [PATCHv2] vhost: disable on tap link down

2011-02-09 Thread Markus Armbruster
"Michael S. Tsirkin" writes: > qemu makes it possible to disable link at tap > which is not communicated to the guest but > causes all packets to be dropped. > > Handle this with vhost simply by moving to the userspace emulation. > > Note: it might be a good idea to make peer link status match >

[Qemu-devel] [PATCHv2] vhost: disable on tap link down

2011-02-08 Thread Michael S. Tsirkin
qemu makes it possible to disable link at tap which is not communicated to the guest but causes all packets to be dropped. Handle this with vhost simply by moving to the userspace emulation. Note: it might be a good idea to make peer link status match tap in this case, so the guest gets an event