Received: from eggs.gnu.org ([2001:4830:134:3::10]:35589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGMK1-0002D8-R0 for qemu-devel@nongnu.org; Fri, 24 Jun 2016 04:18:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGMJv-0002lR-QB for qemu-devel@nongnu.org; Fri, 24 Jun 2016 04:18:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGMJv-0002lF-Ke for qemu-devel@nongnu.org; Fri, 24 Jun 2016 04:18:35 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 43E903105 for ; Fri, 24 Jun 2016 08:18:35 +0000 (UTC) References: <1466698330-6021-1-git-send-email-armbru@redhat.com> <1466698330-6021-6-git-send-email-armbru@redhat.com> <87h9cjxaoe.fsf@dusky.pond.sub.org> From: Paolo Bonzini Message-ID: <2782081a-51cc-e8c8-d101-7a3f5541db1c@redhat.com> Date: Fri, 24 Jun 2016 10:18:32 +0200 MIME-Version: 1.0 In-Reply-To: <87h9cjxaoe.fsf@dusky.pond.sub.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC 5/5] include: Include exec/hwaddr.h where hwaddr is used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , qemu-devel@nongnu.org Cc: eblake@redhat.com, mst@redhat.com On 24/06/2016 10:17, Markus Armbruster wrote: >> > Don't bother with include/exec/memory-internal.h and >> > include/hw/elf_ops.h, because those are somewhat special. >> > >> > Signed-off-by: Markus Armbruster >> > --- >> > hw/audio/lm4549.h | 1 + >> > hw/cris/boot.h | 2 ++ >> > hw/net/e1000e_core.h | 7 +++++++ >> > hw/net/vmware_utils.h | 1 + >> > hw/scsi/mptsas.h | 1 + >> > include/disas/disas.h | 1 + >> > include/hw/arm/sharpsl.h | 3 +++ >> > include/hw/block/fdc.h | 1 + >> > include/hw/char/escc.h | 2 ++ >> > include/hw/char/pl011.h | 2 ++ >> > include/hw/char/xilinx_uartlite.h | 2 ++ >> > include/hw/cris/etraxfs_dma.h | 2 ++ >> > include/hw/empty_slot.h | 2 ++ >> > include/hw/misc/mips_cmgcr.h | 1 + >> > include/hw/pci-host/apb.h | 1 + >> > include/hw/sparc/sparc32_dma.h | 2 ++ >> > include/hw/timer/m48t59.h | 1 + >> > include/sysemu/xen-mapcache.h | 1 + >> > target-ppc/mmu-hash32.h | 2 ++ >> > tests/Makefile.include | 9 --------- >> > 20 files changed, 35 insertions(+), 9 deletions(-) > I think the churn is tolerable, but I should mention possible > alternatives: > > * Move the typedef to osdep.h. I don't like it, because it spreads > hwaddr's 64-bitness over two places. > > * Include hwaddr.h from osdep.h > > If you have a preference, let me know. I think it's fine as is. Paolo