From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6F5q-0006Rl-Tg for qemu-devel@nongnu.org; Tue, 28 Aug 2012 02:16:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6F5q-0004eg-0I for qemu-devel@nongnu.org; Tue, 28 Aug 2012 02:16:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6F5p-0004ea-O4 for qemu-devel@nongnu.org; Tue, 28 Aug 2012 02:16:05 -0400 Message-ID: <503C621D.80805@redhat.com> Date: Tue, 28 Aug 2012 08:15:57 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1346088041-17062-1-git-send-email-sandmann@cs.au.dk> <1346088041-17062-2-git-send-email-sandmann@cs.au.dk> In-Reply-To: <1346088041-17062-2-git-send-email-sandmann@cs.au.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] Add new client_present and client capabilities fields to QXLRom List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?U8O4cmVuIFNhbmRtYW5uIFBlZGVyc2Vu?= Cc: qemu-devel@nongnu.org, spice-devel@freedesktop.org, =?UTF-8?B?U8O4cmVu?= =?UTF-8?B?IFNhbmRtYW5uIFBlZGVyc2Vu?= On 08/27/12 19:20, S=C3=B8ren Sandmann Pedersen wrote: > From: S=C3=B8ren Sandmann Pedersen >=20 > The client_present field is a byte that is set of non-zero when a > client is connected and to zero when no client is connected. >=20 > The client_capabilities[58] array contains 464 bits that indicate the > capabilities of the client. What is supposed to happen in case multiple clients are connected? How do you handle the race conditions, especially on capability downgrade? There might be not-yet processed commands in the command queue which the client is unable to handle, or existing surfaces using formats the client doesn't understand ... cheers, Gerd