Patchwork [uq/master,1/5] vga: fix typo in length passed to kvm_log_stop

login
register
mail settings
Submitter Marcelo Tosatti
Date April 23, 2010, 5:04 p.m.
Message ID <20100423170645.475086119@amt.cnet>
Download mbox | patch
Permalink /patch/50852/
State New
Headers show

Comments

Marcelo Tosatti - April 23, 2010, 5:04 p.m.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Patch

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