summary refs log tree commit diff stats
path: root/hw/net/vhost_net.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-07-27 01:15:09 +0400
committerMichael S. Tsirkin <mst@redhat.com>2016-07-29 00:33:47 +0300
commitdf3485a14821edf75b1d3ee6ca38cd80fa989dbf (patch)
tree8d35a94b1d2a3d86e17a628909cfe931564bfa01 /hw/net/vhost_net.c
parent5c7eaabf65ba936f718ef4dfcfc551ffc9d4f35c (diff)
downloadfocaccia-qemu-df3485a14821edf75b1d3ee6ca38cd80fa989dbf.tar.gz
focaccia-qemu-df3485a14821edf75b1d3ee6ca38cd80fa989dbf.zip
vhost-user: call set_msgfds unconditionally
It is fine to call set_msgfds() with 0 fd, and ensures any previous fd
array is cleared.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions