From patchwork Tue Sep 4 14:14:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=B8ren_Sandmann?= X-Patchwork-Id: 181579 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 465212C0095 for ; Wed, 5 Sep 2012 00:12:08 +1000 (EST) Received: from localhost ([::1]:33476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8trK-0002bX-BT for incoming@patchwork.ozlabs.org; Tue, 04 Sep 2012 10:12:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8tr8-0002Hb-K9 for qemu-devel@nongnu.org; Tue, 04 Sep 2012 10:12:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8tr2-0005VF-HU for qemu-devel@nongnu.org; Tue, 04 Sep 2012 10:11:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8tr2-0005V2-9I for qemu-devel@nongnu.org; Tue, 04 Sep 2012 10:11:48 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q84EBlQI008028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 4 Sep 2012 10:11:47 -0400 Received: from dhcp-100-3-184.bos.redhat.com (dhcp-189-4.bos.redhat.com [10.16.189.4]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q84EBj6M023771; Tue, 4 Sep 2012 10:11:47 -0400 From: =?UTF-8?q?S=C3=B8ren=20Sandmann?= To: qemu-devel@nongnu.org, kraxel@redhat.com Date: Tue, 4 Sep 2012 10:14:49 -0400 Message-Id: <1346768089-14774-2-git-send-email-sandmann@cs.au.dk> In-Reply-To: <1346768089-14774-1-git-send-email-sandmann@cs.au.dk> References: <5045D424.6030903@redhat.com> <1346768089-14774-1-git-send-email-sandmann@cs.au.dk> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id q84EBlQI008028 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Subject: [Qemu-devel] [PATCH 2/2] Remove #ifdef QXL_COMMAND_FLAG_COMPAT_16BPP 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 From: Søren Sandmann Pedersen We require spice >= 0.8 now, so this flag is always present. Signed-off-by: Soren Sandmann --- hw/qxl.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 572daa9..57e6536 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -1315,11 +1315,9 @@ static void qxl_set_mode(PCIQXLDevice *d, int modenr, int loadvm) d->mode = QXL_MODE_COMPAT; d->cmdflags = QXL_COMMAND_FLAG_COMPAT; -#ifdef QXL_COMMAND_FLAG_COMPAT_16BPP /* new in spice 0.6.1 */ if (mode->bits == 16) { d->cmdflags |= QXL_COMMAND_FLAG_COMPAT_16BPP; } -#endif d->shadow_rom.mode = cpu_to_le32(modenr); d->rom->mode = cpu_to_le32(modenr); qxl_rom_set_dirty(d);