[Spice-devel] [PATCH 2/2] server: don't abort on guest images with missing palettes

Alon Levy alevy at redhat.com
Sat Jul 14 07:09:17 PDT 2012


On Thu, Jul 12, 2012 at 09:05:13PM +0200, Marc-André Lureau wrote:
> On Thu, Jul 12, 2012 at 7:46 PM, Alon Levy <alevy at redhat.com> wrote:
> > +        if (!BITMAP_FMT_IS_RGB[qxl->bitmap.format] && !qxl->bitmap.palette) {
> 
> Could it be possible to make this a common inline function, and doing
> a check of format range there too?

Yes, sure.

> 
> -- 
> Marc-André Lureau


More information about the Spice-devel mailing list