From patchwork Sun Sep 2 21:35:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?S=C3=B8ren_Sandmann_Pedersen?= X-Patchwork-Id: 181294 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D5A9D2C0087 for ; Mon, 3 Sep 2012 14:49:44 +1000 (EST) Received: from localhost ([::1]:49553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8OAT-00063C-6x for incoming@patchwork.ozlabs.org; Mon, 03 Sep 2012 00:21:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Hmj-0003tM-Hu for qemu-devel@nongnu.org; Sun, 02 Sep 2012 17:32:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8Hmi-0006Rg-GQ for qemu-devel@nongnu.org; Sun, 02 Sep 2012 17:32:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Hmi-0006R8-6a for qemu-devel@nongnu.org; Sun, 02 Sep 2012 17:32:48 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q82LWjve005382 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 2 Sep 2012 17:32:45 -0400 Received: from dhcp-100-3-184.bos.redhat.com (dhcp-189-4.bos.redhat.com [10.16.189.4]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q82LWgWp007933; Sun, 2 Sep 2012 17:32:45 -0400 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= To: qemu-devel@nongnu.org, spice-devel@lists.freedesktop.org Date: Sun, 2 Sep 2012 17:35:24 -0400 Message-Id: <1346621726-11313-5-git-send-email-ssp@redhat.com> In-Reply-To: <1346621726-11313-1-git-send-email-ssp@redhat.com> References: <5040688D.5070707@redhat.com> <1346621726-11313-1-git-send-email-ssp@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 X-Mailman-Approved-At: Mon, 03 Sep 2012 00:21:08 -0400 Cc: kraxel@redhat.com, =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Subject: [Qemu-devel] [PATCH-v2 spice 1/2] Set a8 capability in the QXL device if supported by the client X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org --- server/red_worker.c | 2 ++ spice-common | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/server/red_worker.c b/server/red_worker.c index 843f559..23f3464 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -10377,6 +10377,8 @@ static void handle_new_display_channel(RedWorker *worker, RedClient *client, Red SET_CAP(caps, SPICE_DISPLAY_CAP_MONITORS_CONFIG); if (red_channel_client_test_remote_cap(rcc, SPICE_DISPLAY_CAP_COMPOSITE)) SET_CAP(caps, SPICE_DISPLAY_CAP_COMPOSITE); + if (red_channel_client_test_remote_cap(rcc, SPICE_DISPLAY_CAP_COMPOSITE)) + SET_CAP(caps, SPICE_DISPLAY_CAP_A8_SURFACE); worker->qxl->st->qif->set_client_capabilities(worker->qxl, TRUE, caps); } diff --git a/spice-common b/spice-common index 86e286b..04dc2be 160000 --- a/spice-common +++ b/spice-common @@ -1 +1 @@ -Subproject commit 86e286ba2003c206e700fd70ec67c1cf4ac8d8a6 +Subproject commit 04dc2bee9ecdda7d7966f9267df37ab23bb5a802