]> git.proxmox.com Git - mirror_qemu.git/commit - hw/scsi/virtio-scsi.c
Include migration/qemu-file-types.h a lot less
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:39 +0000 (07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:31:52 +0000 (13:31 +0200)
commitca77ee28e03fb5052be01b9237b0a7cef5d90d4a
tree45f9607cc7a1bb2f0cb24d6b174c3b06825a1008
parent71e8a915855857e0d45b322826778516cc3e3055
Include migration/qemu-file-types.h a lot less

In my "build everything" tree, changing migration/qemu-file-types.h
triggers a recompile of some 2600 out of 6600 objects (not counting
tests and objects that don't depend on qemu/osdep.h).

The culprit is again hw/hw.h, which supposedly includes it for
convenience.

Include migration/qemu-file-types.h only where it's needed.  Touching
it now recompiles less than 200 objects.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190812052359.30071-10-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
31 files changed:
hw/acpi/piix4.c
hw/block/virtio-blk.c
hw/char/virtio-serial-bus.c
hw/display/virtio-gpu.c
hw/intc/apic_common.c
hw/intc/s390_flic_kvm.c
hw/nvram/eeprom93xx.c
hw/nvram/fw_cfg.c
hw/pci-host/piix.c
hw/pci/msix.c
hw/pci/pci.c
hw/pci/shpc.c
hw/ppc/spapr.c
hw/s390x/s390-skeys.c
hw/s390x/tod.c
hw/s390x/virtio-ccw.c
hw/scsi/mptsas.c
hw/scsi/scsi-bus.c
hw/scsi/scsi-disk.c
hw/scsi/scsi-generic.c
hw/scsi/virtio-scsi.c
hw/timer/i8254_common.c
hw/timer/twl92230.c
hw/usb/redirect.c
hw/virtio/vhost.c
hw/virtio/virtio-mmio.c
hw/virtio/virtio-pci.c
hw/virtio/virtio.c
include/hw/hw.h
include/migration/cpu.h
target/ppc/kvm.c