Received: from eggs.gnu.org ([2001:4830:134:3::10]:46284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3L1Y-0002Cl-VZ for qemu-devel@nongnu.org; Thu, 19 May 2016 06:17:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3L1S-0003GM-UQ for qemu-devel@nongnu.org; Thu, 19 May 2016 06:17:47 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:33597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3L1S-0003Ea-Jy for qemu-devel@nongnu.org; Thu, 19 May 2016 06:17:42 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 19 May 2016 11:17:38 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 0F2AF2190056 for ; Thu, 19 May 2016 11:17:10 +0100 (BST) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u4JAHZ6B65732672 for ; Thu, 19 May 2016 10:17:35 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 u4JAHZ0E009679 for ; Thu, 19 May 2016 04:17:35 -0600 Date: Thu, 19 May 2016 12:17:33 +0200 From: Cornelia Huck Message-ID: <20160519121733.4ebe3c07.cornelia.huck@de.ibm.com> In-Reply-To: <1463412982-6681-42-git-send-email-pbonzini@redhat.com> References: <1463412982-6681-1-git-send-email-pbonzini@redhat.com> <1463412982-6681-42-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 41/50] s390x: move stuff out of cpu.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Mon, 16 May 2016 17:36:13 +0200 Paolo Bonzini wrote: Maybe mention which stuff was moved why ;) > Signed-off-by: Paolo Bonzini > --- > hw/s390x/css.c | 4 +- > hw/s390x/s390-skeys.c | 1 + > hw/s390x/s390-virtio-ccw.c | 4 +- > hw/s390x/virtio-ccw.c | 5 +- > hw/s390x/virtio-ccw.h | 3 +- > {hw => include/hw}/s390x/css.h | 31 +++++++- > {target-s390x => include/hw/s390x}/ioinst.h | 16 +--- > target-s390x/cpu.h | 113 +++++----------------------- > target-s390x/helper.c | 1 + > target-s390x/interrupt.c | 66 +++++++++++++++- > target-s390x/ioinst.c | 2 +- > 11 files changed, 128 insertions(+), 118 deletions(-) > rename {hw => include/hw}/s390x/css.h (76%) > rename {target-s390x => include/hw/s390x}/ioinst.h (87%) > diff --git a/hw/s390x/virtio-ccw.h b/hw/s390x/virtio-ccw.h > index 66c831b..86b9edb 100644 > --- a/hw/s390x/virtio-ccw.h > +++ b/hw/s390x/virtio-ccw.h > @@ -24,7 +24,8 @@ > #include > #include > > -#include "css.h" > +#include Wonder why we didn't need that one before? > +#include > > #define VIRTUAL_CSSID 0xfe > > diff --git a/hw/s390x/css.h b/include/hw/s390x/css.h > similarity index 76% > rename from hw/s390x/css.h > rename to include/hw/s390x/css.h > index a320eea..98b2e2c 100644 > --- a/hw/s390x/css.h > +++ b/include/hw/s390x/css.h > @@ -14,7 +14,7 @@ > > #include "hw/s390x/adapter.h" > #include "hw/s390x/s390_flic.h" > -#include "ioinst.h" > +#include "hw/s390x/ioinst.h" > > /* Channel subsystem constants. */ > #define MAX_SCHID 65535 > @@ -67,6 +67,7 @@ typedef struct CMBE { > uint32_t reserved[7]; > } QEMU_PACKED CMBE; > > +typedef struct SubchDev SubchDev; > struct SubchDev { Maybe do typedef and declaration all in one, to match the other structures in this file? > /* channel-subsystem related things: */ > uint8_t cssid; In any case: Acked-by: Cornelia Huck