From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf6AW-0006Ko-IO for qemu-devel@nongnu.org; Fri, 08 Jul 2011 04:12:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf6AU-0002Rz-Ph for qemu-devel@nongnu.org; Fri, 08 Jul 2011 04:12:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf6AU-0002RU-2l for qemu-devel@nongnu.org; Fri, 08 Jul 2011 04:12:10 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p688C9wA011079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 8 Jul 2011 04:12:09 -0400 Date: Fri, 8 Jul 2011 10:12:01 +0200 From: Alon Levy Message-ID: <20110708081201.GA20603@bow.redhat.com> References: <1310057455-18570-1-git-send-email-alevy@redhat.com> <1310057455-18570-10-git-send-email-alevy@redhat.com> <4E16AF1E.4020406@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E16AF1E.4020406@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] qxl: async I/O List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: yhalperi@redhat.com, qemu-devel@nongnu.org On Fri, Jul 08, 2011 at 09:17:50AM +0200, Gerd Hoffmann wrote: > >+void qxl_spice_update_area_async(PCIQXLDevice *qxl, uint32_t surface_id, > >+ struct QXLRect *area, struct QXLRect *dirty_rects, > >+ uint32_t num_dirty_rects, uint32_t clear_dirty_region, > >+ int async) > >+{ > >+ if (async) { > >+ qxl->ssd.worker->update_area_async(qxl->ssd.worker, surface_id, area, dirty_rects, > >+ num_dirty_rects, clear_dirty_region, 0); > > Fails to build with older libspice. btw, I'm looking at "#if.*MINOR" code like #if SPICE_INTERFACE_CORE_MINOR >= 3 (ui/spice-core.c) Shouldn't that be checking the MAJOR as well? [snip]