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 From: =?UTF-8?q?S=C3=B8ren=20Sandmann?= 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 2/2] Remove #ifdef QXL_COMMAND_FLAG_COMPAT_16BPP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, kraxel@redhat.com Cc: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= From: S=C3=B8ren Sandmann Pedersen We require spice >=3D 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 mode= nr, int loadvm) =20 d->mode =3D QXL_MODE_COMPAT; d->cmdflags =3D QXL_COMMAND_FLAG_COMPAT; -#ifdef QXL_COMMAND_FLAG_COMPAT_16BPP /* new in spice 0.6.1 */ if (mode->bits =3D=3D 16) { d->cmdflags |=3D QXL_COMMAND_FLAG_COMPAT_16BPP; } -#endif d->shadow_rom.mode =3D cpu_to_le32(modenr); d->rom->mode =3D cpu_to_le32(modenr); qxl_rom_set_dirty(d); --=20 1.7.4