[Spice-commits] 2 commits - NEWS spice/vd_agent.h

Hans de Goede jwrdegoede at kemper.freedesktop.org
Thu Mar 7 02:42:09 PST 2013

 NEWS             |    5 +++++
 spice/vd_agent.h |    1 +
 2 files changed, 6 insertions(+)

New commits:
commit df6bc6269ebd3144663cbdb8457fbe71d9202b6a
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Wed Mar 6 14:34:12 2013 +0100

    Prepare for a 0.12.5 release
    Signed-off-by: Hans de Goede <hdegoede at redhat.com>

diff --git a/NEWS b/NEWS
index df5d31c..a602292 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+Major changes in 0.12.5
+* Add agent file xfer success status
+* Add a client-disconnected agent message
 Major changes in 0.12.4
 * Add agent file copy support.
commit c0808ab8840664dbf6642fbb5eabb0f267577b7e
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue Mar 5 14:41:09 2013 +0100

    vd_agent: Add a new VD_AGENT_CLIENT_DISCONNECTED message
    Client -> agent messages can spawn multiple VDIChunks. When this happens
    the agent re-assembles the chunks into a complete VDAgentMessage before
    processing it. The server only guarentees coherency at the chunk level,
    so it is not possible for a partial chunk to get delivered to the agent.
    But it is possible for some chunks of a VDAgentMessage to be delivered to
    the agent followed by a client to disconnect without the rest of the
    VDAgentMessage being delivered!
    This will leave the agent in a wrong state, and the first messages send to it
    by the next client to connect will get seen as the rest of the VDAgentMessage
    from the previous client.
    This patch introduces a new VD_AGENT_CLIENT_DISCONNECTED message which the
    server will send from the VDP_SERVER_PORT on client disconnect, on which the
    agent can then reset its VDP_CLIENT_PORT state.
    Note that no capability is added for this, since capabilities are tracked
    between the client and the agent only. The server will simply always send
    this message on client disconnect, relying on older agents discarding the
    message since it has an unknown type (which both the windows and linux agents
    already do).
    Signed-off-by: Hans de Goede <hdegoede at redhat.com>

diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index a150a6f..1c4ebaf 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -72,6 +72,7 @@ enum {

More information about the Spice-commits mailing list