From patchwork Thu Apr 28 08:29:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 93198 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 59AFF1007D7 for ; Thu, 28 Apr 2011 18:31:09 +1000 (EST) Received: from localhost ([::1]:52818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFMcs-00042c-I4 for incoming@patchwork.ozlabs.org; Thu, 28 Apr 2011 04:31:06 -0400 Received: from eggs.gnu.org ([140.186.70.92]:53822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFMbH-0002BU-Ek for qemu-devel@nongnu.org; Thu, 28 Apr 2011 04:29:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFMbG-0003WA-8z for qemu-devel@nongnu.org; Thu, 28 Apr 2011 04:29:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFMbG-0003Vy-0G for qemu-devel@nongnu.org; Thu, 28 Apr 2011 04:29:26 -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 p3S8TPgI005879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Apr 2011 04:29:25 -0400 Received: from playa.tlv.redhat.com (dhcp-3-110.tlv.redhat.com [10.35.3.110]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p3S8TI7b023091 for ; Thu, 28 Apr 2011 04:29:24 -0400 From: Alon Levy To: qemu-devel@nongnu.org Date: Thu, 28 Apr 2011 11:29:18 +0300 Message-Id: <1303979358-4421-5-git-send-email-alevy@redhat.com> In-Reply-To: <1303979358-4421-1-git-send-email-alevy@redhat.com> References: <1303979358-4421-1-git-send-email-alevy@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCHv2 4/4] 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 | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index ecab001..d55f96a 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -941,6 +941,7 @@ static void ioport_write(void *opaque, uint32_t addr, uint32_t val) case QXL_IO_MEMSLOT_ADD: case QXL_IO_MEMSLOT_DEL: case QXL_IO_CREATE_PRIMARY: + case QXL_IO_LOG: break; default: if (d->mode == QXL_MODE_NATIVE || d->mode == QXL_MODE_COMPAT)