From patchwork Fri Apr 23 17:04:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Tosatti X-Patchwork-Id: 94716 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3NH8okE014082 for ; Fri, 23 Apr 2010 17:08:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758370Ab0DWRIr (ORCPT ); Fri, 23 Apr 2010 13:08:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42542 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758319Ab0DWRIq (ORCPT ); Fri, 23 Apr 2010 13:08:46 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3NH8iDI006435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 23 Apr 2010 13:08:44 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3NH8hA2011566; Fri, 23 Apr 2010 13:08:43 -0400 Received: from amt.cnet (vpn-11-16.rdu.redhat.com [10.11.11.16]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o3NH8gTX010348; Fri, 23 Apr 2010 13:08:42 -0400 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id B53E768A98C; Fri, 23 Apr 2010 14:07:54 -0300 (BRT) Received: (from marcelo@localhost) by amt.cnet (8.14.3/8.14.3/Submit) id o3NH7sGk000866; Fri, 23 Apr 2010 14:07:54 -0300 Message-Id: <20100423170645.475086119@amt.cnet> User-Agent: quilt/0.47-1 Date: Fri, 23 Apr 2010 14:04:11 -0300 From: Marcelo Tosatti To: kvm@vger.kernel.org Cc: qemu-devel@nongnu.org, Marcelo Tosatti Subject: [uq/master patch 1/5] vga: fix typo in length passed to kvm_log_stop References: <20100423170410.914857113@amt.cnet> Content-Disposition: inline; filename=fix-vga-thinko X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 23 Apr 2010 17:09:11 +0000 (UTC) Index: qemu-kvm/hw/vga.c =================================================================== --- qemu-kvm.orig/hw/vga.c +++ qemu-kvm/hw/vga.c @@ -1613,8 +1613,8 @@ void vga_dirty_log_stop(VGACommonState * 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