Re: [Qemu-devel] Re: Two QMP events issues

2010-02-09 Thread Jamie Lokier
Daniel P. Berrange wrote: For further backgrou, the key end goal here is that in a QMP client, upon receipt of the 'RESET' event, we need to reliably immediately determine why it occurred. eg, triggered by watchdog, or by guest OS request. There are actually 3 possible sequences -

Re: [Qemu-devel] Re: Two QMP events issues

2010-02-09 Thread Jamie Lokier
Daniel P. Berrange wrote: For further backgrou, the key end goal here is that in a QMP client, upon receipt of the 'RESET' event, we need to reliably immediately determine why it occurred. eg, triggered by watchdog, or by guest OS request. There are actually 3 possible sequences Note that

[Qemu-devel] Re: Two QMP events issues

2010-02-08 Thread Daniel P. Berrange
On Mon, Feb 08, 2010 at 11:41:45AM -0200, Luiz Capitulino wrote: Hi there, I have two not so related QMP events issues two discuss, but I will talk about them in the same email to avoid starting two threads. The first problem is wrt the STOP event. Right now it's only emitted if

Re: [Qemu-devel] Re: Two QMP events issues

2010-02-08 Thread Daniel P. Berrange
On Mon, Feb 08, 2010 at 08:49:20AM -0600, Anthony Liguori wrote: On 02/08/2010 08:12 AM, Daniel P. Berrange wrote: For further backgrou, the key end goal here is that in a QMP client, upon receipt of the 'RESET' event, we need to reliably immediately determine why it occurred. eg,

Re: [Qemu-devel] Re: Two QMP events issues

2010-02-08 Thread Anthony Liguori
On 02/08/2010 08:56 AM, Daniel P. Berrange wrote: On Mon, Feb 08, 2010 at 08:49:20AM -0600, Anthony Liguori wrote: On 02/08/2010 08:12 AM, Daniel P. Berrange wrote: For further backgrou, the key end goal here is that in a QMP client, upon receipt of the 'RESET' event, we need to

[Qemu-devel] Re: Two QMP events issues

2010-02-08 Thread Luiz Capitulino
On Mon, 8 Feb 2010 14:12:20 + Daniel P. Berrange berra...@redhat.com wrote: On Mon, Feb 08, 2010 at 11:41:45AM -0200, Luiz Capitulino wrote: Hi there, I have two not so related QMP events issues two discuss, but I will talk about them in the same email to avoid starting two

Re: [Qemu-devel] Re: Two QMP events issues

2010-02-08 Thread Luiz Capitulino
On Mon, 08 Feb 2010 09:13:37 -0600 Anthony Liguori anth...@codemonkey.ws wrote: On 02/08/2010 08:56 AM, Daniel P. Berrange wrote: On Mon, Feb 08, 2010 at 08:49:20AM -0600, Anthony Liguori wrote: On 02/08/2010 08:12 AM, Daniel P. Berrange wrote: For further backgrou, the key

Re: [Qemu-devel] Re: Two QMP events issues

2010-02-08 Thread Anthony Liguori
On 02/08/2010 12:25 PM, Luiz Capitulino wrote: On Mon, 08 Feb 2010 09:13:37 -0600 Anthony Liguorianth...@codemonkey.ws wrote: On 02/08/2010 08:56 AM, Daniel P. Berrange wrote: On Mon, Feb 08, 2010 at 08:49:20AM -0600, Anthony Liguori wrote: On 02/08/2010 08:12 AM, Daniel

Re: [Qemu-devel] Re: Two QMP events issues

2010-02-08 Thread Luiz Capitulino
On Mon, 08 Feb 2010 13:14:24 -0600 Anthony Liguori anth...@codemonkey.ws wrote: On 02/08/2010 12:25 PM, Luiz Capitulino wrote: On Mon, 08 Feb 2010 09:13:37 -0600 Anthony Liguorianth...@codemonkey.ws wrote: On 02/08/2010 08:56 AM, Daniel P. Berrange wrote: On Mon, Feb 08,

Re: [Qemu-devel] Re: Two QMP events issues

2010-02-08 Thread Anthony Liguori
On 02/08/2010 01:59 PM, Luiz Capitulino wrote: Looks reasonable to me, what do think Daniel? Note that if we agree on the 'context design', I'll have to change VNC's events names.. Let me give you a few suggestions before diving into it. context might not be the best name. For