[Spice-devel] [PATCH spice-protocol] Add name & uuid messages on main channel

Marc-André Lureau marcandre.lureau at gmail.com
Fri Mar 2 05:15:22 PST 2012

On Fri, Mar 2, 2012 at 2:10 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> Do we really need 2 separate messages for this?

You don't necessarily have the 2 value available, you may have none,
one or the other, or both.

If we want to have a single message, we would have to use a boolean
"is set" or an invalid value (empty string, 00-00-.. uuid).

By having two seperate "optional" messages, we remove that confusion.

They are only sent if the information is available (see also patch in
spice server)

Marc-André Lureau

More information about the Spice-devel mailing list