Re: [PATCH 2/4] python/console_socket: accept existing FD in initializer

2023-07-20 Thread John Snow
On Thu, Jul 20, 2023 at 10:01 AM Daniel P. Berrangé wrote: > > On Thu, Jul 20, 2023 at 09:04:46AM -0400, John Snow wrote: > > Useful if we want to use ConsoleSocket() for a socket created by > > socketpair(). > > > > Signed-off-by: John Snow > > --- > > python/qemu/machine/console_socket.py |

Re: [PATCH 2/4] python/console_socket: accept existing FD in initializer

2023-07-20 Thread Daniel P . Berrangé
On Thu, Jul 20, 2023 at 09:04:46AM -0400, John Snow wrote: > Useful if we want to use ConsoleSocket() for a socket created by > socketpair(). > > Signed-off-by: John Snow > --- > python/qemu/machine/console_socket.py | 11 +++ > 1 file changed, 7 insertions(+), 4 deletions(-) > > diff

[PATCH 2/4] python/console_socket: accept existing FD in initializer

2023-07-20 Thread John Snow
Useful if we want to use ConsoleSocket() for a socket created by socketpair(). Signed-off-by: John Snow --- python/qemu/machine/console_socket.py | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/python/qemu/machine/console_socket.py