[Spice-devel] [PATCH spice-protocol] Add name & uuid messages on main channel
Yaniv Kaul
ykaul at redhat.com
Sun Mar 4 01:54:43 PST 2012
On 03/02/2012 03:15 PM, Marc-André Lureau wrote:
> 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.
Do you really need two capabilities, though?
A single capability 'I-can-receive-name-uuid-or-both' should be enough, no?
Y.
>
> 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)
>
More information about the Spice-devel
mailing list