Patchwork [03/13] cirrus-vga: Drop redundant vga_dirty_log_start

login
register
mail settings
Submitter Jan Kiszka
Date June 14, 2011, 4:53 p.m.
Message ID <6aae57d2b7c12b3ef470a2fb25963c9445a15fbe.1308070416.git.jan.kiszka@siemens.com>
Download mbox | patch
Permalink /patch/100389/
State New
Headers show

Comments

Jan Kiszka - June 14, 2011, 4:53 p.m.
map_linear_vram requests logging via cpu_register_physical_memory_log
now, and cirrus_pci_lfb_map does not leave anything to log behind.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 hw/cirrus_vga.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

Patch

diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 722cac7..98a9b8e 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -2519,8 +2519,6 @@  static void map_linear_vram(CirrusVGAState *s)
         cpu_register_physical_memory(isa_mem_base + 0xa0000, 0x20000,
                                      s->vga.vga_io_memory);
     }
-
-    vga_dirty_log_start(&s->vga);
 }
 
 static void unmap_linear_vram(CirrusVGAState *s)
@@ -3077,8 +3075,6 @@  static void cirrus_pci_lfb_map(PCIDevice *d, int region_num,
     /* account for overflow */
     if (s->vga.lfb_end < addr + VGA_RAM_SIZE)
         s->vga.lfb_end = addr + VGA_RAM_SIZE;
-
-    vga_dirty_log_start(&s->vga);
 }
 
 static void pci_cirrus_write_config(PCIDevice *d,