Received: from eggs.gnu.org ([2001:4830:134:3::10]:35916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjSfV-0004y6-Lf for qemu-devel@nongnu.org; Mon, 12 Sep 2016 10:57:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjSfP-0001kx-L0 for qemu-devel@nongnu.org; Mon, 12 Sep 2016 10:57:08 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:39035 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjSfP-0001kr-GI for qemu-devel@nongnu.org; Mon, 12 Sep 2016 10:57:03 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u8CEqjV7034666 for ; Mon, 12 Sep 2016 10:57:02 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0b-001b2d01.pphosted.com with ESMTP id 25cy0hx6wm-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 12 Sep 2016 10:57:02 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 12 Sep 2016 15:57:00 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 735E62190061 for ; Mon, 12 Sep 2016 15:56:19 +0100 (BST) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u8CEuwJi24772796 for ; Mon, 12 Sep 2016 14:56:58 GMT Received: from d06av08.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u8CEuv7L029606 for ; Mon, 12 Sep 2016 08:56:57 -0600 References: <1471350442-7295-1-git-send-email-stefanha@redhat.com> <1471350442-7295-3-git-send-email-stefanha@redhat.com> <20160910000659-mutt-send-email-mst@kernel.org> From: Claudio Imbrenda Date: Mon, 12 Sep 2016 16:56:57 +0200 MIME-Version: 1.0 In-Reply-To: <20160910000659-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=utf-8 Message-Id: <67f8012f-b011-b705-d325-81b8e25111ae@linux.vnet.ibm.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-2.8 2/2] vhost-vsock: add virtio sockets device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" , Stefan Hajnoczi Cc: qemu-devel@nongnu.org, Christoffer Dall , =?UTF-8?Q?Alex_Benn=c3=a9e?= , marius vlad , Greg Kurz , Ian Campbell On 09/09/16 23:07, Michael S. Tsirkin wrote: [...] > Seems to fail build: > > /scm/qemu/hw/s390x/virtio-ccw.c:1664:4: error: =E2=80=98VirtioCcwDevice= {aka > struct VirtioCcwDevice}=E2=80=99 has no member named =E2=80=98bus_id=E2= =80=99 > DEFINE_PROP_STRING("devno", VirtioCcwDevice, bus_id), > ^ > /scm/qemu/hw/s390x/virtio-ccw.c:1664:49: error: =E2=80=98VirtioCcwDevic= e {aka > struct VirtioCcwDevice}=E2=80=99 has no member named =E2=80=98bus_id=E2= =80=99 > DEFINE_PROP_STRING("devno", VirtioCcwDevice, bus_id), > Yeah, I had noticed that too; I sent this one-liner to correct that issue on August 23rd; since it's small, I'll copypaste it here (modulo automatic linewraps): --- virtio-ccw.c~ 2016-08-23 16:37:14.000000000 +0200 +++ virtio-ccw.c 2016-08-23 16:41:10.587853314 +0200 @@ -1661,7 +1661,7 @@ #ifdef CONFIG_VHOST_VSOCK static Property vhost_vsock_ccw_properties[] =3D { - DEFINE_PROP_STRING("devno", VirtioCcwDevice, bus_id), + DEFINE_PROP_CSS_DEV_ID("devno", VirtioCcwDevice, parent_obj.bus_id), DEFINE_PROP_UINT32("max_revision", VirtioCcwDevice, max_rev, VIRTIO_CCW_MAX_REV), DEFINE_PROP_END_OF_LIST(), hope it helps, Claudio