Received: from eggs.gnu.org ([2001:4830:134:3::10]:35587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOO1X-0003vb-QW for qemu-devel@nongnu.org; Thu, 19 Feb 2015 05:08:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOO1U-0001D7-LP for qemu-devel@nongnu.org; Thu, 19 Feb 2015 05:07:59 -0500 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:50251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOO1U-0001Cs-Bi for qemu-devel@nongnu.org; Thu, 19 Feb 2015 05:07:56 -0500 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 19 Feb 2015 10:07:53 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id F090A17D8042 for ; Thu, 19 Feb 2015 10:08:04 +0000 (GMT) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1JA7oqS61866102 for ; Thu, 19 Feb 2015 10:07:50 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t1JA7n12017379 for ; Thu, 19 Feb 2015 03:07:50 -0700 Date: Thu, 19 Feb 2015 11:07:47 +0100 From: Cornelia Huck Message-ID: <20150219110747.30bdb5b3.cornelia.huck@de.ibm.com> In-Reply-To: <20150212145349.GA8212@chuck.boeblingen.de.ibm.com> References: <1423746533-45739-1-git-send-email-jfrei@linux.vnet.ibm.com> <1423746533-45739-3-git-send-email-jfrei@linux.vnet.ibm.com> <20150212145349.GA8212@chuck.boeblingen.de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] virtio: remove QEMU definition of VIRTIO_TRANSPORT_F_START/_END List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jens Freimann Cc: Peter Maydell , "Michael S. Tsirkin" , QEMU Developers , Paolo Bonzini On Thu, 12 Feb 2015 15:53:49 +0100 Jens Freimann wrote: > On Thu, Feb 12, 2015 at 02:41:15PM +0000, Peter Maydell wrote: > > On 12 February 2015 at 13:08, Jens Freimann wrote: > > > We have defines for VIRTIO_TRANSPORT_F_START/_END in two places. > > > In include/hw/virtio/virtio.h and in linux-headers/linux/virtio_config.h > > > > > > Since we already get virtio_config.h via update-linux-headers.sh, > > > there's no need to have duplicate defines in QEMU headers files. > > > > > > Let's remove this define from include/hw/virtio/virtio.h > > > > Isn't this going to break compilation on non-linux hosts? > > They don't get linux-headers/ on their include path, so > > our virtio.h is their only source for this define... > > Ok, that's a fair point that I didn't think of. What's the correct way > to fix this then? Change our virtio.h manually? In a separate commit > or in the one generated by update-linux-headers (so we don't break bisect)? I think this is fixed by MST's standard headers patch series.