[libvirt] [PATCH] test: fix screenshot API impl

Peter Krempa pkrempa at redhat.com
Tue Dec 6 15:41:57 UTC 2016


On Tue, Dec 06, 2016 at 16:38:20 +0100, Andrea Bolognani wrote:
> On Tue, 2016-12-06 at 13:04 +0000, Daniel P. Berrange wrote:
> > On Tue, Dec 06, 2016 at 01:58:50PM +0100, Peter Krempa wrote:
> > > 
> > > On Tue, Dec 06, 2016 at 12:49:21 +0000, Daniel Berrange wrote:
> > > > 
> > > > When redoing the website we deleted the libvirtLogo.png file
> > > > not remembering that the test driver screenshot API impl
> > > > relied on it.
> > > > 
> > > > Rather than having the test driver use the logo as a side
> > > > effect, give it its own dedicated image to use. This is
> > > > installed in /usr/share/libvirt/test-screenshot.png and
> > > 
> > > Is it worth wasting 48k of disk space for a picture that almost nobody
> > > ever will see on every installation of libvirt?
> > 
> > 48k is completely lost in the noise when you consider the minimal install
> > footprint of libvirt. libvirt-libs is 23 MB in size, not even counting
> > the dependancies it pulls in.
> 
> How about a pngcrush'd 640x480 solid color? Not only it would
> be way smaller, but we would also remove any possible confusion
> about it being an actual screenshot of a running domain.

I would agree with such solution.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161206/01e8cc6a/attachment-0001.sig>


More information about the libvir-list mailing list