[07/10] vga: fix typo in length passed to kvm_log_stop

Submitted by Marcelo Tosatti on April 26, 2010, 5:59 p.m.

Details

Message ID da52cc6f59ce2aa7e128d6a5fafcb9154a4eb729.1272304746.git.mtosatti@redhat.com
State New
Headers show

Commit Message

Marcelo Tosatti April 26, 2010, 5:59 p.m.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
---
 hw/vga.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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