Received: from eggs.gnu.org ([140.186.70.92]:37866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QheUG-0002bO-Rc for qemu-devel@nongnu.org; Fri, 15 Jul 2011 05:15:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QheUE-0001EE-TX for qemu-devel@nongnu.org; Fri, 15 Jul 2011 05:15:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QheUE-0001Cq-8z for qemu-devel@nongnu.org; Fri, 15 Jul 2011 05:15:06 -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 p6F9F5a9030950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Jul 2011 05:15:05 -0400 Date: Fri, 15 Jul 2011 12:14:36 +0300 From: Alon Levy Message-ID: <20110715091436.GO23682@bow.tlv.redhat.com> References: <1310670801-14687-1-git-send-email-alevy@redhat.com> <1310670801-14687-13-git-send-email-alevy@redhat.com> <4E1FF90B.9070101@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E1FF90B.9070101@redhat.com> Subject: Re: [Qemu-devel] [PATCHv5 12/12] qxl: use QXL_REVISION_* 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 15, 2011 at 10:23:39AM +0200, Gerd Hoffmann wrote: > Hi, > > >+#if SPICE_INTERFACE_QXL_MINOR>= 1 > >+ qemu_mutex_init(&qxl->async_lock); > >+ qxl->current_async = QXL_UNDEFINED_IO; > >+#endif > > That surely belongs into another patch ... yes. > > >+ case QXL_REVISION_STABLE_V04: /* spice 0.4 -- qxl-1 */ > >+ case QXL_REVISION_STABLE_V06: /* spice 0.6 -- qxl-2 */ > > I think we should just not use these defines for now. > > In a year or so when the new bits are in widespread use we can raise > the minimum required spice-server+spice-protocol versions, cleanup > the ifdef mess and also use QXL_REVISION_STABLE_V04. > ok. I'll drop this patch (at least the bits fitting the patch header). > cheers, > Gerd >