Re: [PATCH V2 18/22] chardev: cpr for sockets

2021-01-05 Thread Steven Sistare
On 1/5/2021 11:22 AM, Daniel P. Berrangé wrote: > On Tue, Jan 05, 2021 at 07:42:06AM -0800, Steve Sistare wrote: >> Define qio_channel_socket_reuse to initialize a channel based on an existing >> socket fd. Save accepted socket fds in the environment before cprsave, and >> look for fds in the envi

Re: [PATCH V2 18/22] chardev: cpr for sockets

2021-01-05 Thread Daniel P . Berrangé
On Tue, Jan 05, 2021 at 07:42:06AM -0800, Steve Sistare wrote: > Define qio_channel_socket_reuse to initialize a channel based on an existing > socket fd. Save accepted socket fds in the environment before cprsave, and > look for fds in the environment after cprload. Reject cprsave if a socket >

[PATCH V2 18/22] chardev: cpr for sockets

2021-01-05 Thread Steve Sistare
Define qio_channel_socket_reuse to initialize a channel based on an existing socket fd. Save accepted socket fds in the environment before cprsave, and look for fds in the environment after cprload. Reject cprsave if a socket enables the TLS or websocket option. Signed-off-by: Mark Kanda Signed