]> git.proxmox.com Git - mirror_qemu.git/commit
char-socket: make 'fd' incompatible with 'reconnect'
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 17 Jul 2018 12:31:45 +0000 (14:31 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 1 Nov 2018 08:12:09 +0000 (12:12 +0400)
commit4591bd46e6f8db67b61fdf09ae1bc266d73808ee
treef6822f5936428d58db12a0677dc50f15e7a42b8f
parent3b023756b1807f4d5f91a5c2c801935c45fa9bed
char-socket: make 'fd' incompatible with 'reconnect'

A chardev socket created with the 'fd=' argument is not going to
handle reconnection properly by recycling the same fd (or not in a
supported way). Let's forbid this case.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
chardev/char-socket.c