]> git.proxmox.com Git - mirror_qemu.git/commit
vhost-user+postcopy: Use qemu_set_nonblock
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 2 May 2018 10:55:52 +0000 (11:55 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 23 May 2018 14:02:02 +0000 (17:02 +0300)
commit9952e807fd016c95f50372536f1ac65a601be6e4
tree431309e45f06da5eeb97674137fdd40373443d46
parent6f80e6170ede13605817e5c0ca73db0de7bdf261
vhost-user+postcopy: Use qemu_set_nonblock

Use qemu_set_nonblock rather than a simple fcntl; cleaner
and I have no reason to change other flags.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-user.c