Re: [PATCH 1/2] python/qemu: Add set_qmp_monitor() to QEMUMachine

2019-12-11 Thread Wainer dos Santos Moschetta
On 12/10/19 3:17 AM, Cleber Rosa wrote: On Tue, Nov 12, 2019 at 08:58:00AM -0500, Wainer dos Santos Moschetta wrote: The QEMUMachine VM has a monitor setup on which an QMP connection is always attempted on _post_launch() (executed by launch()). In case the QEMU process immediatly exits then th

Re: [PATCH 1/2] python/qemu: Add set_qmp_monitor() to QEMUMachine

2019-12-09 Thread Cleber Rosa
On Tue, Nov 12, 2019 at 08:58:00AM -0500, Wainer dos Santos Moschetta wrote: > The QEMUMachine VM has a monitor setup on which an QMP > connection is always attempted on _post_launch() (executed > by launch()). In case the QEMU process immediatly exits > then the qmp.accept() (used to establish the

[PATCH 1/2] python/qemu: Add set_qmp_monitor() to QEMUMachine

2019-11-12 Thread Wainer dos Santos Moschetta
The QEMUMachine VM has a monitor setup on which an QMP connection is always attempted on _post_launch() (executed by launch()). In case the QEMU process immediatly exits then the qmp.accept() (used to establish the connection) stalls until it reaches timeout and consequently an exception raises. T