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. > > With vhost-net at the moment it just keeps going. > Fix by communicating to virtio net and have that > stop vhost-net. > > Signed-off-by: Michael S. Tsirkin <m...@redhat.com> > Reported-by: pradeep <psuri...@linux.vnet.ibm.com> > > Changes from v2: > comment tweaked > split to two patches > > Changes from v1: > fix link down after guest link is up > > > > Michael S. Tsirkin (2): > net: notify peer about link status change > vhost: disable on tap link down > > hw/virtio-net.c | 3 ++- > net.c | 11 +++++++++++ > 2 files changed, 13 insertions(+), 1 deletions(-) >
Acked-by: Jason Wang <jasow...@redhat.com> > -- > 1.7.3.2.91.g446ac >