From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9WPK-0003IJ-Na for qemu-devel@nongnu.org; Thu, 06 Sep 2012 03:21:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9WPI-0001HB-NM for qemu-devel@nongnu.org; Thu, 06 Sep 2012 03:21:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9WPI-0001Gd-F7 for qemu-devel@nongnu.org; Thu, 06 Sep 2012 03:21:44 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q867Lhn8026630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 6 Sep 2012 03:21:44 -0400 From: Gerd Hoffmann Date: Thu, 6 Sep 2012 09:21:40 +0200 Message-Id: <1346916100-12958-15-git-send-email-kraxel@redhat.com> In-Reply-To: <1346916100-12958-1-git-send-email-kraxel@redhat.com> References: <1346916100-12958-1-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 14/14] Remove #ifdef QXL_COMMAND_FLAG_COMPAT_16BPP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= , Gerd Hoffmann From: S=C3=B8ren Sandmann Pedersen We require spice >=3D 0.8 now, so this flag is always present. Signed-off-by: Soren Sandmann Signed-off-by: Gerd Hoffmann --- hw/qxl.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 2aa5848..b726c19 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -1359,11 +1359,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.1