hw: replace qemu_set_nonblock()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 25 Apr 2022 13:39:06 +0000 (17:39 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 3 May 2022 11:52:33 +0000 (15:52 +0400)
commit701544cfaf46f24d912ad1714eb24641c3c96837
treef9d4abe1e12411055c4039733aed41e70007a689
parentb0a8f9adfed871728154b0064a28e34b6670f9f2
hw: replace qemu_set_nonblock()

Those calls are non-socket fd, or are POSIX-specific. Use the dedicated
GLib API. (qemu_set_nonblock() is for socket-like)

(this is a preliminary patch before renaming qemu_set_nonblock())

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
hw/input/virtio-input-host.c
hw/virtio/vhost-vsock.c