Re: [libvirt] Python stream callback removal

2011-08-31 Thread Daniel P. Berrange
On Wed, Aug 24, 2011 at 11:58:29PM +0800, Guannan Ren wrote: On 08/18/2011 05:55 AM, Dave Allan wrote: So, after your patches which have greatly improved the console behavior, I find that I'm back to this hang, which by its nature I can't reproduce with virsh console, as it only appears when

Re: [libvirt] Python stream callback removal

2011-08-24 Thread Guannan Ren
On 08/18/2011 05:55 AM, Dave Allan wrote: On Tue, Aug 09, 2011 at 10:28:26PM -0400, Dave Allan wrote: On Tue, Aug 09, 2011 at 10:59:02AM +0100, Daniel P. Berrange wrote: On Mon, Aug 08, 2011 at 06:04:50PM -0400, Dave Allan wrote: I'm trying to write an example serial console implementation in

Re: [libvirt] Python stream callback removal

2011-08-09 Thread Guannan Ren
On 08/09/2011 06:04 AM, Dave Allan wrote: I'm trying to write an example serial console implementation in python (attached), but I'm having some trouble getting stream events to do what I want. The console itself works fine as long as the domain stays up, but as soon as the domain shuts down

Re: [libvirt] Python stream callback removal

2011-08-09 Thread Daniel P. Berrange
On Mon, Aug 08, 2011 at 06:04:50PM -0400, Dave Allan wrote: I'm trying to write an example serial console implementation in python (attached), but I'm having some trouble getting stream events to do what I want. The console itself works fine as long as the domain stays up, but as soon as the

Re: [libvirt] Python stream callback removal

2011-08-09 Thread Dave Allan
On Tue, Aug 09, 2011 at 10:59:02AM +0100, Daniel P. Berrange wrote: On Mon, Aug 08, 2011 at 06:04:50PM -0400, Dave Allan wrote: I'm trying to write an example serial console implementation in python (attached), but I'm having some trouble getting stream events to do what I want. The

[libvirt] Python stream callback removal

2011-08-08 Thread Dave Allan
I'm trying to write an example serial console implementation in python (attached), but I'm having some trouble getting stream events to do what I want. The console itself works fine as long as the domain stays up, but as soon as the domain shuts down the python script goes into a tight loop