On Wed, Mar 14, 2012 at 9:51 AM, Gerd Hoffmann <kra...@redhat.com> wrote: > Hi, > >> The most practical first step would be simply sending the ppm over a >> socket from ppm_save(). The 'screendump' command today already blocks >> so no new badness is being added. There would be no threads or fancy >> image encoding. > > Adding scaling / compression support will add more overhead though, so > doing that without offloading screendump to a thread first is a bad idea > I think. Or at least have some numbers to see how bad it actually is.
I agree, that's why I suggest sending the ppm over a socket. It transports out the image data and QEMU itself doesn't do the encoding/scaling. Stefan