io: replace qemu_set{_non}block()
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:25 +0000 (15:52 +0400)
commit17fc124529abfda185e69fa1220e5f404be22d25
tree96762ae195b993bccaae067e48eeaf9aa1982c4e
parentb84bb4dfe5d03b40c91260db8ee07d65809fc35f
io: replace qemu_set{_non}block()

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>
io/channel-command.c
io/channel-file.c