Revision 2c62f08d
ID | 2c62f08ddbf3fa80dc7202eb9a2ea60ae44e2cc5 |
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>
Files
- added
- modified
- copied
- renamed
- deleted
- hw
- arm
- display
- blizzard.c (diff)
- cirrus_vga.c (diff)
- exynos4210_fimd.c (diff)
- g364fb.c (diff)
- jazz_led.c (diff)
- milkymist-vgafb.c (diff)
- omap_lcdc.c (diff)
- pl110.c (diff)
- pxa2xx_lcd.c (diff)
- qxl.c (diff)
- sm501.c (diff)
- ssd0303.c (diff)
- ssd0323.c (diff)
- tc6393xb.c (diff)
- tcx.c (diff)
- vga-isa-mm.c (diff)
- vga-isa.c (diff)
- vga-pci.c (diff)
- vga.c (diff)
- vga_int.h (diff)
- vmware_vga.c (diff)
- xenfb.c (diff)
- unicore32
- include
- ui