On 04/22/13 19:23, Eric Blake wrote: > On 04/22/2013 11:03 AM, Paolo Bonzini wrote: >>> It'd be *much* nicer to return the screenshot data via the QMP session >>> instead of writing it to a file. So let's take the opportunity to fix >>> the command. > > That's a lot of data to be encoding into JSON. > >> >> That's debatable... the "nicest" way could also be to pass a pipe fd and >> retrieve the dump from that fd. That's quite easy to do with fdsets. >> The choice is between implementing SCM_RIGHTS sendfd and a base64 decoder. > > If the existing filename can already be used with fdsets,
It can't. Easily fixable though. Question is how libvirt then can figure fdsets for screendumps do work ... cheers, Gerd