optimize screendump for the common non-switch case
switch console only if needed, also pass down whenever the console was switched or not because a displaysurface redraw is only needed in case the console was switched. Signed-off-by:Gerd Hoffmann <kraxel@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
Showing
- console.c 7 additions, 3 deletionsconsole.c
- console.h 1 addition, 1 deletionconsole.h
- hw/blizzard.c 6 additions, 2 deletionshw/blizzard.c
- hw/g364fb.c 1 addition, 1 deletionhw/g364fb.c
- hw/omap_lcdc.c 5 additions, 2 deletionshw/omap_lcdc.c
- hw/qxl.c 2 additions, 2 deletionshw/qxl.c
- hw/tcx.c 4 additions, 4 deletionshw/tcx.c
- hw/vga.c 6 additions, 4 deletionshw/vga.c
- hw/vmware_vga.c 2 additions, 2 deletionshw/vmware_vga.c
Loading
Please register or sign in to comment