chardev: forbid 'wait' option with client sockets
commit767abe7f49e8be14d29da5db3527817b5d696a52
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 11 Feb 2019 18:24:31 +0000 (11 18:24 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 12 Feb 2019 16:35:56 +0000 (12 17:35 +0100)
tree726740effc4c442b56a8370ee37a708c8dfdddd8
parent4a0582f65648052bf6b1b572312500f6647a1eb0
chardev: forbid 'wait' option with client sockets

The 'wait'/'nowait' parameter is used to tell server sockets whether to
block until a client is accepted during initialization. Client chardevs
have always silently ignored this option. Various tests were mistakenly
passing this option for their client chardevs.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20190211182442.8542-6-berrange@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
chardev/char-socket.c
tests/ivshmem-test.c
tests/libqtest.c
tests/test-filter-redirector.c