From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3JwR-0005XR-Iq for qemu-devel@nongnu.org; Thu, 19 May 2016 05:08:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3JwN-0002QA-S3 for qemu-devel@nongnu.org; Thu, 19 May 2016 05:08:26 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:45575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3JwN-0002Q4-Gl for qemu-devel@nongnu.org; Thu, 19 May 2016 05:08:23 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 19 May 2016 10:08:22 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 2EB362190063 for ; Thu, 19 May 2016 10:07:54 +0100 (BST) Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u4J98JCn5964258 for ; Thu, 19 May 2016 09:08:19 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u4J98IPt026458 for ; Thu, 19 May 2016 03:08:18 -0600 Date: Thu, 19 May 2016 11:08:12 +0200 From: Cornelia Huck Message-ID: <20160519110812.2a702705.cornelia.huck@de.ibm.com> In-Reply-To: <1463412982-6681-36-git-send-email-pbonzini@redhat.com> References: <1463412982-6681-1-git-send-email-pbonzini@redhat.com> <1463412982-6681-36-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 35/50] hw: cannot include hw/hw.h from user emulation 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:07 +0200 Paolo Bonzini wrote: > All qdev definitions are available from other headers, user-mode > emulation does not need hw/hw.h. > > By considering system emulation only, it is simpler to disentangle > hw/hw.h from NEED_CPU_H. > > Signed-off-by: Paolo Bonzini > --- > exec.c | 21 +++++++++++---------- > include/hw/hw.h | 5 +++-- > include/hw/ppc/openpic.h | 2 +- > kvm-stub.c | 1 - > target-i386/cpu.c | 2 +- > target-s390x/cpu.c | 3 ++- > target-s390x/mem_helper.c | 3 +++ > target-s390x/misc_helper.c | 2 +- > 8 files changed, 22 insertions(+), 17 deletions(-) Acked-by: Cornelia Huck #s390x