[Libguestfs] [PATCH REBASED] Remove main loop

Matthew Booth mbooth at redhat.com
Mon Sep 14 12:18:40 UTC 2009


On 14/09/09 12:51, Richard W.M. Jones wrote:
> On Mon, Sep 14, 2009 at 12:44:15PM +0100, Matthew Booth wrote:
>> On 14/09/09 12:10, Richard W.M. Jones wrote:
>>> This is the only patch I currently have outstanding.  No changes from
>>> the previous posting, except I rebased it against the head of git.
>>
>> I'm still reviewing this (and probably will be for a while). I have a
>> high-level observation at this stage, though. Several error paths in
>> this code (and the previous code, too) would be a whole lot simpler if
>> LAUNCH and CANCEL were turned into real protocol messages, and receive
>> file was terminated with ACK. This would also simplify review.
>
> We can't change the protocol because it's baked into other appliances
> that we've shipped and people could use the wrong appliance and
> library version combination.  (At the moment this does work).

Well, the appliance is an integral part of libguestfs, which is also why 
they're shipped together. The protocol really is an internal 
implementation detail, not part of the API. I don't see any problem 
changing the protocol.

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the Libguestfs mailing list