qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 12/23] console: simplify screendump


From: Igor Mitsyanko
Subject: Re: [Qemu-devel] [PATCH 12/23] console: simplify screendump
Date: Wed, 20 Mar 2013 23:28:36 +0400



On 03/20/2013 01:43 PM, Gerd Hoffmann wrote:
Screendumps are alot simpler as we can update non-active
QemuConsoles now.  So we only need to update the QemuConsole
we want write out, then dump the DisplaySurface content into
a ppm file.  Done.

No console switching needed.  No special support code in the
gfx card emulation needed.  Zap it all.  Also move ppm_save
out of the vga code and next to the qmp_screendump function.

For now screen dumping is limited to console #0 (like it used
to be), even though it is dead simple to extend it to other
consoles.  I wanna finish the console cleanup before setting
new qapi interfaces into stone.
---
  hw/arm/musicpal.c    |    2 +-
  hw/blizzard.c        |   14 +-----
  hw/cirrus_vga.c      |    4 +-
  hw/exynos4210_fimd.c |    2 +-
  hw/g364fb.c          |   73 +---------------------------
  hw/jazz_led.c        |    1 -
  hw/milkymist-vgafb.c |    2 +-
  hw/omap_lcdc.c       |   86 +--------------------------------
  hw/pl110.c           |    2 +-
  hw/pxa2xx_lcd.c      |    2 +-
  hw/qxl.c             |   22 +--------
  hw/sm501.c           |    2 +-
  hw/ssd0303.c         |    2 +-
  hw/ssd0323.c         |    2 +-
  hw/tc6393xb.c        |    1 -
  hw/tcx.c             |  129 +-------------------------------------------------
  hw/unicore32/puv3.c  |    2 +-
  hw/vga-isa-mm.c      |    2 +-
  hw/vga-isa.c         |    2 +-
  hw/vga-pci.c         |    2 +-
  hw/vga.c             |   66 --------------------------
  hw/vga_int.h         |    2 -
  hw/vmware_vga.c      |   26 ----------
  hw/xenfb.c           |    1 -
  include/ui/console.h |    3 --
  ui/console.c         |   69 +++++++++++++++++++--------
  26 files changed, 69 insertions(+), 452 deletions(-)



 
 Tested-by: Igor Mitsyanko <address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]