qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RFC 5/5] include: Include exec/hwaddr.h where hw


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH RFC 5/5] include: Include exec/hwaddr.h where hwaddr is used
Date: Fri, 24 Jun 2016 10:18:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1


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 <address@hidden>
>> > ---
>> >  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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]