Skip to content
  • Paolo Bonzini's avatar
    42af3e3a
    ui/console: remove dpy_gfx_update_dirty · 42af3e3a
    Paolo Bonzini authored
    
    
    dpy_gfx_update_dirty expects DIRTY_MEMORY_VGA logging to be always on,
    but that will not be the case soon.  Because it computes the memory
    region on the fly for every update (with memory_region_find), it cannot
    enable/disable logging by itself.
    
    We could always treat updates as invalidations if dirty logging is
    not enabled, assuming that the board will enable logging on the
    RAM region that includes the framebuffer.
    
    However, the function is unused, so just drop it.
    
    Reviewed-by: default avatarFam Zheng <famz@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    42af3e3a
    ui/console: remove dpy_gfx_update_dirty
    Paolo Bonzini authored
    
    
    dpy_gfx_update_dirty expects DIRTY_MEMORY_VGA logging to be always on,
    but that will not be the case soon.  Because it computes the memory
    region on the fly for every update (with memory_region_find), it cannot
    enable/disable logging by itself.
    
    We could always treat updates as invalidations if dirty logging is
    not enabled, assuming that the board will enable logging on the
    RAM region that includes the framebuffer.
    
    However, the function is unused, so just drop it.
    
    Reviewed-by: default avatarFam Zheng <famz@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading