Received: from eggs.gnu.org ([2001:4830:134:3::10]:35442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGMJN-0000ma-3a for qemu-devel@nongnu.org; Fri, 24 Jun 2016 04:18:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGMJI-0002V1-2U for qemu-devel@nongnu.org; Fri, 24 Jun 2016 04:18:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGMJH-0002Us-Sr for qemu-devel@nongnu.org; Fri, 24 Jun 2016 04:17:55 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (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 8E2111176C2 for ; Fri, 24 Jun 2016 08:17:55 +0000 (UTC) From: Markus Armbruster References: <1466698330-6021-1-git-send-email-armbru@redhat.com> <1466698330-6021-6-git-send-email-armbru@redhat.com> Date: Fri, 24 Jun 2016 10:17:53 +0200 In-Reply-To: <1466698330-6021-6-git-send-email-armbru@redhat.com> (Markus Armbruster's message of "Thu, 23 Jun 2016 18:12:10 +0200") Message-ID: <87h9cjxaoe.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain 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: qemu-devel@nongnu.org Cc: eblake@redhat.com, mst@redhat.com, pbonzini@redhat.com Markus Armbruster writes: > 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.