Re: [Qemu-devel] [PATCH v2] qemu-ga: add guest-sync-delimited

2012-02-07 Thread Michael Roth
On Tue, Feb 07, 2012 at 04:17:26PM +0100, Michal Privoznik wrote: > On 07.02.2012 02:09, Michael Roth wrote: > > guest-sync leaves it as an exercise to the user as to how to reliably > > obtain the response to guest-sync if the client had previously read in a > > partial response (due qemu-ga previ

Re: [Qemu-devel] [PATCH v2] qemu-ga: add guest-sync-delimited

2012-02-07 Thread Michal Privoznik
On 07.02.2012 02:09, Michael Roth wrote: > guest-sync leaves it as an exercise to the user as to how to reliably > obtain the response to guest-sync if the client had previously read in a > partial response (due qemu-ga previously being restarted mid-"sentence" > due to reboot, forced restart, etc)

[Qemu-devel] [PATCH v2] qemu-ga: add guest-sync-delimited

2012-02-06 Thread Michael Roth
guest-sync leaves it as an exercise to the user as to how to reliably obtain the response to guest-sync if the client had previously read in a partial response (due qemu-ga previously being restarted mid-"sentence" due to reboot, forced restart, etc). qemu-ga handles this situation on its end by h