diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-07-27 01:15:09 +0400 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-29 00:33:47 +0300 |
| commit | df3485a14821edf75b1d3ee6ca38cd80fa989dbf (patch) | |
| tree | 8d35a94b1d2a3d86e17a628909cfe931564bfa01 /hw/net/vhost_net.c | |
| parent | 5c7eaabf65ba936f718ef4dfcfc551ffc9d4f35c (diff) | |
| download | focaccia-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