From patchwork Fri Jun 24 13:02:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 101793 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0E603B6F7F for ; Fri, 24 Jun 2011 23:26:29 +1000 (EST) Received: from localhost ([::1]:56508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa6Ov-00033V-AY for incoming@patchwork.ozlabs.org; Fri, 24 Jun 2011 09:26:25 -0400 Received: from eggs.gnu.org ([140.186.70.92]:49274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa62W-00061t-Ug for qemu-devel@nongnu.org; Fri, 24 Jun 2011 09:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qa62V-0001pm-7j for qemu-devel@nongnu.org; Fri, 24 Jun 2011 09:03:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa62U-0001pV-D9 for qemu-devel@nongnu.org; Fri, 24 Jun 2011 09:03:14 -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 p5OD3DF6011264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 24 Jun 2011 09:03:13 -0400 Received: from bow.redhat.com (vpn-11-77.rdu.redhat.com [10.11.11.77]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5OD34Sx021276; Fri, 24 Jun 2011 09:03:12 -0400 From: Alon Levy To: qemu-devel@nongnu.org Date: Fri, 24 Jun 2011 15:02:49 +0200 Message-Id: <1308920577-31569-5-git-send-email-alevy@redhat.com> In-Reply-To: <1308920577-31569-1-git-send-email-alevy@redhat.com> References: <1308920577-31569-1-git-send-email-alevy@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 Cc: yhalperi@redhat.com, kraxel@redhat.com Subject: [Qemu-devel] [PATCH v2] qxl: allow QXL_IO_LOG also in vga 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 The driver may change us to vga mode and still issue a QXL_IO_LOG, which we can easily support. --- hw/qxl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 5266707..96f9c55 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -1001,9 +1001,9 @@ static void ioport_write(void *opaque, uint32_t addr, uint32_t val) case QXL_IO_MEMSLOT_ADD_ASYNC: case QXL_IO_MEMSLOT_DEL: case QXL_IO_CREATE_PRIMARY: - case QXL_IO_LOG: case QXL_IO_CREATE_PRIMARY_ASYNC: case QXL_IO_UPDATE_IRQ: + case QXL_IO_LOG: break; default: if (d->mode == QXL_MODE_NATIVE || d->mode == QXL_MODE_COMPAT)