Re: [Qemu-devel] [PATCH 2/2] QMP: add server mode to QEMUMonitorProtocol

2011-05-26 Thread Stefan Hajnoczi
The test-stream.py script performs several automated tests of the image streaming QMP interface, including exercising both the incremental and background streaming modes. This should probably be ported to KVM-Autotest rather than reinventing the wheel. Signed-off-by: Stefan Hajnoczi --- This is

Re: [Qemu-devel] [PATCH 2/2] QMP: add server mode to QEMUMonitorProtocol

2011-05-25 Thread Luiz Capitulino
On Wed, 25 May 2011 19:48:01 +0100 Stefan Hajnoczi wrote: > QEMU supports socket chardevs that establish connections like a server > or a client. The QEMUMonitorProtocol class only supports connecting as > a client. It is not possible to connect race-free when launching QEMU > since trying to c

[Qemu-devel] [PATCH 2/2] QMP: add server mode to QEMUMonitorProtocol

2011-05-25 Thread Stefan Hajnoczi
QEMU supports socket chardevs that establish connections like a server or a client. The QEMUMonitorProtocol class only supports connecting as a client. It is not possible to connect race-free when launching QEMU since trying to connect before QEMU has bound and is listening on the socket results