diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-08-16 14:53:43 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-08-16 14:53:43 +0100 |
commit | 95a9457fd44ad97c518858a4e1586a5498f9773c (patch) | |
tree | 48b3918361cd6a59208d8479a4ce5c681e499665 /hw/net | |
parent | 1f3a51f3feabb5235c073a9ec9211156a519d058 (diff) | |
parent | 54d31236b906c8f03eb011717de7bc47000720c3 (diff) |
Merge remote-tracking branch 'remotes/armbru/tags/pull-include-2019-08-13-v2' into staging
Header cleanup patches for 2019-08-13
# gpg: Signature made Fri 16 Aug 2019 12:39:12 BST
# gpg: using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
# gpg: issuer "armbru@redhat.com"
# gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
# gpg: aka "Markus Armbruster <armbru@pond.sub.org>" [full]
# Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653
* remotes/armbru/tags/pull-include-2019-08-13-v2: (29 commits)
sysemu: Split sysemu/runstate.h off sysemu/sysemu.h
sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h
Include sysemu/sysemu.h a lot less
Clean up inclusion of sysemu/sysemu.h
numa: Move remaining NUMA declarations from sysemu.h to numa.h
Include sysemu/hostmem.h less
numa: Don't include hw/boards.h into sysemu/numa.h
Include hw/boards.h a bit less
Include hw/qdev-properties.h less
Include qemu/main-loop.h less
Include qemu/queue.h slightly less
Include hw/hw.h exactly where needed
Include qom/object.h slightly less
Include exec/memory.h slightly less
Include migration/vmstate.h less
migration: Move the VMStateDescription typedef to typedefs.h
Clean up inclusion of exec/cpu-common.h
Include hw/irq.h a lot less
typedefs: Separate incomplete types and function types
ide: Include hw/ide/internal a bit less outside hw/ide/
...
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/net')
45 files changed, 105 insertions, 29 deletions
diff --git a/hw/net/allwinner_emac.c b/hw/net/allwinner_emac.c index eecda52800..e055a661c4 100644 --- a/hw/net/allwinner_emac.c +++ b/hw/net/allwinner_emac.c @@ -19,9 +19,12 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "net/net.h" #include "qemu/fifo8.h" +#include "hw/irq.h" #include "hw/net/allwinner_emac.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h" #include <zlib.h> diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c index d412085884..7f9cb5ab95 100644 --- a/hw/net/cadence_gem.c +++ b/hw/net/cadence_gem.c @@ -25,7 +25,10 @@ #include "qemu/osdep.h" #include <zlib.h> /* For crc32 */ +#include "hw/irq.h" #include "hw/net/cadence_gem.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "qapi/error.h" #include "qemu/log.h" #include "qemu/module.h" diff --git a/hw/net/can/can_kvaser_pci.c b/hw/net/can/can_kvaser_pci.c index df639f8fa0..16861b8f9f 100644 --- a/hw/net/can/can_kvaser_pci.c +++ b/hw/net/can/can_kvaser_pci.c @@ -36,8 +36,10 @@ #include "qemu/sockets.h" #include "qapi/error.h" #include "chardev/char.h" -#include "hw/hw.h" +#include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "net/can_emu.h" #include "can_sja1000.h" diff --git a/hw/net/can/can_mioe3680_pci.c b/hw/net/can/can_mioe3680_pci.c index 7af0993d7a..965e252d9d 100644 --- a/hw/net/can/can_mioe3680_pci.c +++ b/hw/net/can/can_mioe3680_pci.c @@ -32,8 +32,10 @@ #include "qemu/sockets.h" #include "qapi/error.h" #include "chardev/char.h" -#include "hw/hw.h" +#include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "net/can_emu.h" #include "can_sja1000.h" diff --git a/hw/net/can/can_pcm3680_pci.c b/hw/net/can/can_pcm3680_pci.c index 3f7312af07..51b6540072 100644 --- a/hw/net/can/can_pcm3680_pci.c +++ b/hw/net/can/can_pcm3680_pci.c @@ -32,8 +32,10 @@ #include "qemu/sockets.h" #include "qapi/error.h" #include "chardev/char.h" -#include "hw/hw.h" +#include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "net/can_emu.h" #include "can_sja1000.h" diff --git a/hw/net/can/can_sja1000.c b/hw/net/can/can_sja1000.c index 9a85038c8a..1f81341554 100644 --- a/hw/net/can/can_sja1000.c +++ b/hw/net/can/can_sja1000.c @@ -24,10 +24,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" #include "qemu/log.h" #include "chardev/char.h" -#include "hw/hw.h" +#include "hw/irq.h" +#include "migration/vmstate.h" #include "net/can_emu.h" #include "can_sja1000.h" diff --git a/hw/net/can/can_sja1000.h b/hw/net/can/can_sja1000.h index 4731cbbd2a..220a622087 100644 --- a/hw/net/can/can_sja1000.h +++ b/hw/net/can/can_sja1000.h @@ -27,6 +27,7 @@ #ifndef HW_CAN_SJA1000_H #define HW_CAN_SJA1000_H +#include "exec/hwaddr.h" #include "net/can_emu.h" #define CAN_SJA_MEM_SIZE 128 diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c index bdb0b3b2c2..a5678e11fa 100644 --- a/hw/net/dp8393x.c +++ b/hw/net/dp8393x.c @@ -18,7 +18,10 @@ */ #include "qemu/osdep.h" +#include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "net/net.h" #include "qapi/error.h" #include "qemu/module.h" diff --git a/hw/net/e1000.c b/hw/net/e1000.c index a023ceb27c..8ae4e08f1e 100644 --- a/hw/net/e1000.c +++ b/hw/net/e1000.c @@ -26,8 +26,9 @@ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "net/net.h" #include "net/checksum.h" #include "sysemu/sysemu.h" diff --git a/hw/net/e1000e.c b/hw/net/e1000e.c index 581f7d03d5..b69fd7d8ad 100644 --- a/hw/net/e1000e.c +++ b/hw/net/e1000e.c @@ -40,8 +40,11 @@ #include "qemu/module.h" #include "qemu/range.h" #include "sysemu/sysemu.h" +#include "hw/hw.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "e1000_regs.h" diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c index 2a221c2ef9..9b76f82db5 100644 --- a/hw/net/e1000e_core.c +++ b/hw/net/e1000e_core.c @@ -34,11 +34,12 @@ */ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "net/net.h" #include "net/tap.h" +#include "hw/hw.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" +#include "sysemu/runstate.h" #include "net_tx_pkt.h" #include "net_rx_pkt.h" diff --git a/hw/net/e1000x_common.c b/hw/net/e1000x_common.c index 09047806f2..717f9df1c9 100644 --- a/hw/net/e1000x_common.c +++ b/hw/net/e1000x_common.c @@ -24,7 +24,6 @@ #include "qemu/osdep.h" #include "qemu/units.h" -#include "hw/hw.h" #include "hw/pci/pci.h" #include "net/net.h" diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c index 6607c9142d..cc2dd8b1c9 100644 --- a/hw/net/eepro100.c +++ b/hw/net/eepro100.c @@ -42,13 +42,15 @@ #include "qemu/osdep.h" #include "qemu/units.h" -#include "hw/hw.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "net/net.h" #include "net/eth.h" #include "hw/nvram/eeprom93xx.h" #include "sysemu/sysemu.h" #include "sysemu/dma.h" +#include "sysemu/reset.h" #include "qemu/bitops.h" #include "qemu/module.h" #include "qapi/error.h" diff --git a/hw/net/fsl_etsec/etsec.c b/hw/net/fsl_etsec/etsec.c index 2a8b99a2e4..8451c17fb8 100644 --- a/hw/net/fsl_etsec/etsec.c +++ b/hw/net/fsl_etsec/etsec.c @@ -27,12 +27,14 @@ */ #include "qemu/osdep.h" -#include "sysemu/sysemu.h" #include "hw/sysbus.h" +#include "hw/irq.h" #include "hw/ptimer.h" +#include "hw/qdev-properties.h" #include "etsec.h" #include "registers.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" /* #define HEX_DUMP */ diff --git a/hw/net/fsl_etsec/etsec.h b/hw/net/fsl_etsec/etsec.h index 877988572e..09d05c2133 100644 --- a/hw/net/fsl_etsec/etsec.h +++ b/hw/net/fsl_etsec/etsec.h @@ -25,7 +25,6 @@ #ifndef ETSEC_H #define ETSEC_H -#include "hw/qdev.h" #include "hw/sysbus.h" #include "net/net.h" #include "hw/ptimer.h" diff --git a/hw/net/ftgmac100.c b/hw/net/ftgmac100.c index d2cded5e94..04c78e8517 100644 --- a/hw/net/ftgmac100.c +++ b/hw/net/ftgmac100.c @@ -12,6 +12,7 @@ */ #include "qemu/osdep.h" +#include "hw/irq.h" #include "hw/net/ftgmac100.h" #include "sysemu/dma.h" #include "qemu/log.h" @@ -19,6 +20,8 @@ #include "net/checksum.h" #include "net/eth.h" #include "hw/net/mii.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" /* For crc32 */ #include <zlib.h> diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c index 404154ebbf..7ac4ed7c12 100644 --- a/hw/net/imx_fec.c +++ b/hw/net/imx_fec.c @@ -22,7 +22,10 @@ */ #include "qemu/osdep.h" +#include "hw/irq.h" #include "hw/net/imx_fec.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "sysemu/dma.h" #include "qemu/log.h" #include "qemu/module.h" diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c index f6120be219..8bba2a8056 100644 --- a/hw/net/lan9118.c +++ b/hw/net/lan9118.c @@ -12,12 +12,16 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "net/net.h" #include "net/eth.h" +#include "hw/hw.h" +#include "hw/irq.h" #include "hw/net/lan9118.h" -#include "sysemu/sysemu.h" #include "hw/ptimer.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" +#include "qemu/main-loop.h" #include "qemu/module.h" /* For crc32 */ #include <zlib.h> diff --git a/hw/net/lance.c b/hw/net/lance.c index 2978c01d58..6631e2a4e0 100644 --- a/hw/net/lance.c +++ b/hw/net/lance.c @@ -39,7 +39,9 @@ #include "qemu/module.h" #include "qemu/timer.h" #include "hw/sparc/sparc32_dma.h" +#include "migration/vmstate.h" #include "hw/net/lance.h" +#include "hw/qdev-properties.h" #include "trace.h" #include "sysemu/sysemu.h" diff --git a/hw/net/mcf_fec.c b/hw/net/mcf_fec.c index 78468fad6b..8fcf354a4b 100644 --- a/hw/net/mcf_fec.c +++ b/hw/net/mcf_fec.c @@ -8,11 +8,13 @@ #include "qemu/osdep.h" #include "hw/hw.h" +#include "hw/irq.h" #include "net/net.h" #include "qemu/module.h" #include "hw/m68k/mcf.h" #include "hw/m68k/mcf_fec.h" #include "hw/net/mii.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" /* For crc32 */ #include <zlib.h> diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c index 41ef7a4456..86b6d28033 100644 --- a/hw/net/milkymist-minimac2.c +++ b/hw/net/milkymist-minimac2.c @@ -25,8 +25,10 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" /* FIXME: why does this use TARGET_PAGE_ALIGN? */ -#include "hw/hw.h" +#include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "trace.h" #include "net/net.h" #include "qemu/log.h" diff --git a/hw/net/mipsnet.c b/hw/net/mipsnet.c index c5fbd8431f..f7ae1ced4d 100644 --- a/hw/net/mipsnet.c +++ b/hw/net/mipsnet.c @@ -1,9 +1,11 @@ #include "qemu/osdep.h" -#include "hw/hw.h" +#include "hw/irq.h" +#include "hw/qdev-properties.h" #include "net/net.h" #include "qemu/module.h" #include "trace.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" /* MIPSnet register offsets */ diff --git a/hw/net/ne2000-isa.c b/hw/net/ne2000-isa.c index 3490e54c5a..6fcf3d5cd9 100644 --- a/hw/net/ne2000-isa.c +++ b/hw/net/ne2000-isa.c @@ -25,7 +25,7 @@ #include "qemu/osdep.h" #include "hw/isa/isa.h" #include "hw/net/ne2000-isa.h" -#include "hw/qdev.h" +#include "migration/vmstate.h" #include "ne2000.h" #include "sysemu/sysemu.h" #include "qapi/error.h" diff --git a/hw/net/ne2000-pci.c b/hw/net/ne2000-pci.c index cb05744f3c..9a20d427e3 100644 --- a/hw/net/ne2000-pci.c +++ b/hw/net/ne2000-pci.c @@ -21,8 +21,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" +#include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "ne2000.h" #include "sysemu/sysemu.h" diff --git a/hw/net/ne2000.c b/hw/net/ne2000.c index 1cf4b57341..6c17ee1ae2 100644 --- a/hw/net/ne2000.c +++ b/hw/net/ne2000.c @@ -25,8 +25,10 @@ #include "qemu/osdep.h" #include "net/eth.h" #include "qemu/module.h" +#include "exec/memory.h" +#include "hw/irq.h" +#include "migration/vmstate.h" #include "ne2000.h" -#include "sysemu/sysemu.h" #include "trace.h" /* debug NE2000 card */ diff --git a/hw/net/ne2000.h b/hw/net/ne2000.h index 2cd193e4c6..fc75843703 100644 --- a/hw/net/ne2000.h +++ b/hw/net/ne2000.h @@ -2,7 +2,6 @@ #define HW_NE2000_H #include "qemu/units.h" -#include "hw/hw.h" #include "net/net.h" #define NE2000_PMEM_SIZE (32 * KiB) diff --git a/hw/net/opencores_eth.c b/hw/net/opencores_eth.c index a5abb8df46..84a95da1d5 100644 --- a/hw/net/opencores_eth.c +++ b/hw/net/opencores_eth.c @@ -32,13 +32,13 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" +#include "hw/irq.h" #include "hw/net/mii.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "net/net.h" #include "qemu/module.h" #include "net/eth.h" -#include "sysemu/sysemu.h" #include "trace.h" /* RECSMALL is not used because it breaks tap networking in linux: diff --git a/hw/net/pcnet-pci.c b/hw/net/pcnet-pci.c index 600d09ce92..4723c30c79 100644 --- a/hw/net/pcnet-pci.c +++ b/hw/net/pcnet-pci.c @@ -28,7 +28,10 @@ */ #include "qemu/osdep.h" +#include "hw/irq.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "net/net.h" #include "qemu/module.h" #include "qemu/timer.h" diff --git a/hw/net/pcnet.c b/hw/net/pcnet.c index 16683091c9..f3f18d8598 100644 --- a/hw/net/pcnet.c +++ b/hw/net/pcnet.c @@ -37,11 +37,12 @@ #include "qemu/osdep.h" #include "qemu/log.h" -#include "hw/qdev.h" +#include "hw/irq.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "net/net.h" #include "net/eth.h" #include "qemu/timer.h" -#include "sysemu/sysemu.h" #include "trace.h" #include "pcnet.h" diff --git a/hw/net/pcnet.h b/hw/net/pcnet.h index 40831a7845..28d19a5c6f 100644 --- a/hw/net/pcnet.h +++ b/hw/net/pcnet.h @@ -8,6 +8,7 @@ #define PCNET_LOOPTEST_NOCRC 2 #include "exec/memory.h" +#include "hw/irq.h" /* BUS CONFIGURATION REGISTERS */ #define BCR_MSRDA 0 diff --git a/hw/net/rocker/rocker.c b/hw/net/rocker/rocker.c index bd54612f2a..50f9e33e2f 100644 --- a/hw/net/rocker/rocker.c +++ b/hw/net/rocker/rocker.c @@ -16,8 +16,9 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "hw/pci/msix.h" #include "net/net.h" #include "net/eth.h" diff --git a/hw/net/rocker/rocker_desc.c b/hw/net/rocker/rocker_desc.c index b009da4f89..01845f1157 100644 --- a/hw/net/rocker/rocker_desc.c +++ b/hw/net/rocker/rocker_desc.c @@ -16,7 +16,6 @@ #include "qemu/osdep.h" #include "net/net.h" -#include "hw/hw.h" #include "hw/pci/pci.h" #include "rocker.h" diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c index 09273171e5..88a97d756d 100644 --- a/hw/net/rtl8139.c +++ b/hw/net/rtl8139.c @@ -53,8 +53,9 @@ #include "qemu/osdep.h" #include <zlib.h> -#include "hw/hw.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "sysemu/dma.h" #include "qemu/module.h" #include "qemu/timer.h" diff --git a/hw/net/smc91c111.c b/hw/net/smc91c111.c index 4a612eebe9..e574635969 100644 --- a/hw/net/smc91c111.c +++ b/hw/net/smc91c111.c @@ -9,8 +9,11 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "net/net.h" +#include "hw/irq.h" #include "hw/net/smc91c111.h" +#include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h" /* For crc32 */ diff --git a/hw/net/spapr_llan.c b/hw/net/spapr_llan.c index f162d49025..701e6e1514 100644 --- a/hw/net/spapr_llan.c +++ b/hw/net/spapr_llan.c @@ -27,13 +27,14 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "hw/hw.h" +#include "hw/irq.h" #include "qemu/log.h" #include "qemu/module.h" #include "net/net.h" -#include "hw/qdev.h" +#include "migration/vmstate.h" #include "hw/ppc/spapr.h" #include "hw/ppc/spapr_vio.h" +#include "hw/qdev-properties.h" #include "sysemu/sysemu.h" #include "trace.h" diff --git a/hw/net/stellaris_enet.c b/hw/net/stellaris_enet.c index 2f645bfb71..3aca2a09f3 100644 --- a/hw/net/stellaris_enet.c +++ b/hw/net/stellaris_enet.c @@ -8,7 +8,10 @@ */ #include "qemu/osdep.h" +#include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "net/net.h" #include "qemu/log.h" #include "qemu/module.h" diff --git a/hw/net/sungem.c b/hw/net/sungem.c index 89bcf749d1..f31d41ac5b 100644 --- a/hw/net/sungem.c +++ b/hw/net/sungem.c @@ -9,6 +9,8 @@ #include "qemu/osdep.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "qemu/log.h" #include "qemu/module.h" #include "net/net.h" diff --git a/hw/net/sunhme.c b/hw/net/sunhme.c index 8b8603e696..2243b7cf7b 100644 --- a/hw/net/sunhme.c +++ b/hw/net/sunhme.c @@ -23,8 +23,9 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" +#include "migration/vmstate.h" #include "hw/net/mii.h" #include "net/net.h" #include "qemu/module.h" diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index a6b719035c..e975700f95 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -22,7 +22,7 @@ #include "hw/virtio/virtio-net.h" #include "net/vhost_net.h" #include "qemu/error-report.h" - +#include "qemu/main-loop.h" #include <sys/socket.h> #include <net/if.h> diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index b9e1cd71cf..9f11422337 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu/iov.h" +#include "qemu/main-loop.h" #include "qemu/module.h" #include "hw/virtio/virtio.h" #include "net/net.h" @@ -26,9 +27,11 @@ #include "hw/virtio/virtio-bus.h" #include "qapi/error.h" #include "qapi/qapi-events-net.h" +#include "hw/qdev-properties.h" #include "hw/virtio/virtio-access.h" #include "migration/misc.h" #include "standard-headers/linux/ethtool.h" +#include "sysemu/sysemu.h" #include "trace.h" #define VIRTIO_NET_VM_VERSION 11 diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c index 8b17548b02..b07adeed9c 100644 --- a/hw/net/vmxnet3.c +++ b/hw/net/vmxnet3.c @@ -18,6 +18,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" +#include "hw/qdev-properties.h" #include "net/tap.h" #include "net/checksum.h" #include "sysemu/sysemu.h" @@ -26,6 +27,7 @@ #include "hw/pci/msix.h" #include "hw/pci/msi.h" #include "migration/register.h" +#include "migration/vmstate.h" #include "vmxnet3.h" #include "vmxnet3_defs.h" diff --git a/hw/net/xen_nic.c b/hw/net/xen_nic.c index ffb3b5898d..00a7fdf843 100644 --- a/hw/net/xen_nic.c +++ b/hw/net/xen_nic.c @@ -24,7 +24,6 @@ #include <sys/ioctl.h> #include <sys/wait.h> -#include "hw/hw.h" #include "net/net.h" #include "net/checksum.h" #include "net/util.h" diff --git a/hw/net/xgmac.c b/hw/net/xgmac.c index f49df95b07..2ea8d2ec72 100644 --- a/hw/net/xgmac.c +++ b/hw/net/xgmac.c @@ -25,7 +25,10 @@ */ #include "qemu/osdep.h" +#include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/sysbus.h" +#include "migration/vmstate.h" #include "qemu/log.h" #include "qemu/module.h" #include "net/net.h" diff --git a/hw/net/xilinx_axienet.c b/hw/net/xilinx_axienet.c index feeaca680e..d8716a1f73 100644 --- a/hw/net/xilinx_axienet.c +++ b/hw/net/xilinx_axienet.c @@ -23,6 +23,7 @@ */ #include "qemu/osdep.h" +#include "hw/hw.h" #include "hw/sysbus.h" #include "qapi/error.h" #include "qemu/log.h" @@ -30,6 +31,9 @@ #include "net/net.h" #include "net/checksum.h" +#include "hw/hw.h" +#include "hw/irq.h" +#include "hw/qdev-properties.h" #include "hw/stream.h" #define DPHY(x) diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c index 8f3a8f8597..384e72b157 100644 --- a/hw/net/xilinx_ethlite.c +++ b/hw/net/xilinx_ethlite.c @@ -26,7 +26,8 @@ #include "qemu/module.h" #include "cpu.h" /* FIXME should not use tswap* */ #include "hw/sysbus.h" -#include "hw/hw.h" +#include "hw/irq.h" +#include "hw/qdev-properties.h" #include "net/net.h" #define D(x) |