qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC v4 7/9] qxl: introduce QXLCookie


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [RFC v4 7/9] qxl: introduce QXLCookie
Date: Wed, 22 Feb 2012 12:23:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120210 Thunderbird/10.0.1

On 02/21/12 22:39, Alon Levy wrote:
> Will be used in the next patch.

Looks good, and is more readable without all the #ifdefs.

>  static void qxl_spice_flush_surfaces_async(PCIQXLDevice *qxl)
>  {
> -    spice_qxl_flush_surfaces_async(&qxl->ssd.qxl, 0);
> + spice_qxl_flush_surfaces_async(&qxl->ssd.qxl,
> +        (uint64_t)qxl_cookie_new(QXL_COOKIE_TYPE_IO,
> +                                 QXL_IO_FLUSH_SURFACES_ASYNC));

minor whitespace issue here ;)

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]