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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> 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
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]