Re: [Qemu-devel] Re: [RFC][PATCH v1 07/12] qmp proxy: core code for proxying qmp requests to guest

2011-03-28 Thread Michael Roth
On 03/28/2011 02:05 PM, Anthony Liguori wrote: On 03/25/2011 04:56 PM, Michael Roth wrote: I don't quite follow what this is doing. That's for the session negotiation so we can reset state when the guest agent restarts. The sequence is: guest -> host { "_xport_event": "guest_init", "_xport_

Re: [Qemu-devel] Re: [RFC][PATCH v1 07/12] qmp proxy: core code for proxying qmp requests to guest

2011-03-28 Thread Anthony Liguori
On 03/25/2011 04:56 PM, Michael Roth wrote: I don't quite follow what this is doing. That's for the session negotiation so we can reset state when the guest agent restarts. The sequence is: guest -> host { "_xport_event": "guest_init", "_xport_arg_sid": } host -> guest { "_xport_event":

[Qemu-devel] Re: [RFC][PATCH v1 07/12] qmp proxy: core code for proxying qmp requests to guest

2011-03-25 Thread Michael Roth
On 03/25/2011 04:27 PM, Anthony Liguori wrote: On 03/25/2011 02:47 PM, Michael Roth wrote: This provides a QmpProxy class, 1 instance of which is shared by all QMP servers/sessions to send/receive QMP requests/responses between QEMU and the QEMU guest agent. A single qmp_proxy_send_request() is

[Qemu-devel] Re: [RFC][PATCH v1 07/12] qmp proxy: core code for proxying qmp requests to guest

2011-03-25 Thread Anthony Liguori
On 03/25/2011 02:47 PM, Michael Roth wrote: This provides a QmpProxy class, 1 instance of which is shared by all QMP servers/sessions to send/receive QMP requests/responses between QEMU and the QEMU guest agent. A single qmp_proxy_send_request() is the only interface currently needed by a QMP se