On 03/12/2012 07:11 AM, Marc-André Lureau wrote: > Hi, > > The current screendump command can only save to disk very large PPM files. > > The following patches add support for screendump in a UNIX socket, following > the syntax used for migration URI: "unix:/path/to/socket".
Libvirt would also benefit from screendump to fd:name (where name refers to an fd passed via getfd). > > The last 3 patches add support for dumping in PNG format. This can reduce the > size of the image by a great factor (x10 is not unusual), and is also a more > convenient format than PPM. Currently, it dumps in PNG by checking if the > path ends with ".png", we may want to have a seperate option for that instead, You will need a separate option for this, if you add fd:name parsing, since name won't necessarily have a .png suffix (I guess libvirt could use getfd to name an fd with a .png suffix, but that seems weird). -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature