Re: [Qemu-devel] vhost-user: fix crash when chardev-remove

2017-01-11 Thread
ersion new function(reconnect). After qemu char-remove, the watch fd process didn`t stop. When ovs-dpdk remove port and close watch fd, qemu crashed. Thanks Huanghuai At 2017-01-11 23:02:26, "Marc-André Lureau" wrote: Hi On Wed, Jan 11, 2017 at 3:32 PM 黄淮 wrote: From: Huai H

[Qemu-devel] vhost-user: fix crash when chardev-remove

2017-01-11 Thread
From: Huai Huang diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index f2d49ad..4037cf4 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -412,7 +412,6 @@ VHostNetState *get_vhost_net(NetClientState *nc) break; case NET_CLIENT_DRIVER_VHOST_USER: vhost_net = v