]> git.proxmox.com Git - qemu.git/commit
console: simplify screendump
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 12 Mar 2013 13:48:31 +0000 (14:48 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 16 Apr 2013 07:03:48 +0000 (09:03 +0200)
commit2c62f08ddbf3fa80dc7202eb9a2ea60ae44e2cc5
tree7be759b610535361478fae83071cb9389c0a1d6c
parent321f048d248472f1e90559976bb917d869981c68
console: simplify screendump

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.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Igor Mitsyanko <i.mitsyanko@gmail.com>
26 files changed:
hw/arm/musicpal.c
hw/display/blizzard.c
hw/display/cirrus_vga.c
hw/display/exynos4210_fimd.c
hw/display/g364fb.c
hw/display/jazz_led.c
hw/display/milkymist-vgafb.c
hw/display/omap_lcdc.c
hw/display/pl110.c
hw/display/pxa2xx_lcd.c
hw/display/qxl.c
hw/display/sm501.c
hw/display/ssd0303.c
hw/display/ssd0323.c
hw/display/tc6393xb.c
hw/display/tcx.c
hw/display/vga-isa-mm.c
hw/display/vga-isa.c
hw/display/vga-pci.c
hw/display/vga.c
hw/display/vga_int.h
hw/display/vmware_vga.c
hw/display/xenfb.c
hw/unicore32/puv3.c
include/ui/console.h
ui/console.c