From patchwork Mon Apr 26 17:59:03 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Tosatti X-Patchwork-Id: 50994 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 52385B6ED0 for ; Tue, 27 Apr 2010 04:26:28 +1000 (EST) Received: from localhost ([127.0.0.1]:43430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6T0T-0006hG-Lo for incoming@patchwork.ozlabs.org; Mon, 26 Apr 2010 14:26:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6Sby-0006He-LC for qemu-devel@nongnu.org; Mon, 26 Apr 2010 14:00:51 -0400 Received: from [140.186.70.92] (port=49264 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6Sbr-00065U-9q for qemu-devel@nongnu.org; Mon, 26 Apr 2010 14:00:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6Sbk-0006xq-Fy for qemu-devel@nongnu.org; Mon, 26 Apr 2010 14:00:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53138) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6Sbk-0006xL-6Z for qemu-devel@nongnu.org; Mon, 26 Apr 2010 14:00:36 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3QI0Y9l017874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Apr 2010 14:00:35 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3QI0Yp9018262; Mon, 26 Apr 2010 14:00:34 -0400 Received: from amt.cnet (vpn-8-113.rdu.redhat.com [10.11.8.113]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o3QI0Xcr006756; Mon, 26 Apr 2010 14:00:33 -0400 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id 0B07265606F; Mon, 26 Apr 2010 15:00:15 -0300 (BRT) Received: (from marcelo@localhost) by amt.cnet (8.14.3/8.14.3/Submit) id o3QI0CD7023717; Mon, 26 Apr 2010 15:00:12 -0300 From: Marcelo Tosatti To: Anthony Liguori Date: Mon, 26 Apr 2010 14:59:03 -0300 Message-Id: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: Marcelo Tosatti , qemu-devel@nongnu.org, kvm@vger.kernel.org Subject: [Qemu-devel] [PATCH 07/10] vga: fix typo in length passed to kvm_log_stop X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Marcelo Tosatti --- hw/vga.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/vga.c b/hw/vga.c index 845dbcc..db72115 100644 --- a/hw/vga.c +++ b/hw/vga.c @@ -1618,8 +1618,8 @@ void vga_dirty_log_stop(VGACommonState *s) kvm_log_stop(s->map_addr, s->map_end - s->map_addr); if (kvm_enabled() && s->lfb_vram_mapped) { - kvm_log_stop(isa_mem_base + 0xa0000, 0x80000); - kvm_log_stop(isa_mem_base + 0xa8000, 0x80000); + kvm_log_stop(isa_mem_base + 0xa0000, 0x8000); + kvm_log_stop(isa_mem_base + 0xa8000, 0x8000); } #ifdef CONFIG_BOCHS_VBE