summaryrefslogtreecommitdiff
path: root/hw/vga.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2010-04-23 14:04:11 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2010-04-28 13:41:14 -0300
commitcce83b7d625d71b8708c869403d1b8781af6f9b4 (patch)
treea814c32998509fc6dc6436478463bb12c0fd3f19 /hw/vga.c
parent6164e6d6e86e8f3f0b5ff7ae08b677026cb291c3 (diff)
vga: fix typo in length passed to kvm_log_stop
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw/vga.c')
-rw-r--r--hw/vga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vga.c b/hw/vga.c
index 845dbcc3b..db7211544 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