[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG form
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format |
Date: |
Wed, 14 Mar 2012 09:42:17 +0000 |
On Tue, Mar 13, 2012 at 1:17 PM, Gerd Hoffmann <address@hidden> wrote:
> Hi,
>
>> If you want to do it as part of the QEMU codebase then a thread is
>> probably the best way - it avoids the troubles of forking a
>> multithreaded program and letting go of resources (guest memory, file
>> descriptors) that aren't needed across fork.
>
> That pretty much requires async monitor command support though, so the
> iothread can continue driving guest i/o while the new worker thread
> scales/compresses/writes the screendump.
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.
Stefan
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, (continued)
Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Stefan Hajnoczi, 2012/03/12
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Marc-André Lureau, 2012/03/12
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Stefan Hajnoczi, 2012/03/13
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Marc-André Lureau, 2012/03/13
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Stefan Hajnoczi, 2012/03/13
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Gerd Hoffmann, 2012/03/13
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format,
Stefan Hajnoczi <=
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Gerd Hoffmann, 2012/03/14
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Stefan Hajnoczi, 2012/03/14
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Luiz Capitulino, 2012/03/14
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Alon Levy, 2012/03/14
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Eric Blake, 2012/03/14
- Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Luiz Capitulino, 2012/03/14
Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Kevin Wolf, 2012/03/14
Re: [Qemu-devel] [PATCH/RFC 0/7] Screendump to UNIX socket & in PNG format, Luiz Capitulino, 2012/03/14