提交 7fa22f2b 编写于 作者: P Paolo Bonzini

net: do not include net.h everywhere

Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 090f7ac5
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include "hw/audiodev.h" #include "hw/audiodev.h"
#include "kvm.h" #include "kvm.h"
#include "migration.h" #include "migration.h"
#include "net.h"
#include "gdbstub.h" #include "gdbstub.h"
#include "hw/smbios.h" #include "hw/smbios.h"
#include "exec-memory.h" #include "exec-memory.h"
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include "pci/pci.h" #include "pci/pci.h"
#include "pci/pci_host.h" #include "pci/pci_host.h"
#include "ide.h" #include "ide.h"
#include "net.h"
#include "pc.h" #include "pc.h"
#include "irq.h" #include "irq.h"
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "hw.h" #include "hw.h"
#include "boards.h" #include "boards.h"
#include "net.h"
#include "blockdev.h" #include "blockdev.h"
#include "qemu-config.h" #include "qemu-config.h"
#include "sysemu.h" #include "sysemu.h"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "sysbus.h" #include "sysbus.h"
#include "hw.h" #include "hw.h"
#include "net.h"
#include "flash.h" #include "flash.h"
#include "devices.h" #include "devices.h"
#include "boards.h" #include "boards.h"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include "qdev.h" #include "qdev.h"
#include "qdev-addr.h" #include "qdev-addr.h"
#include "net.h"
static inline DeviceState *milkymist_uart_create(hwaddr base, static inline DeviceState *milkymist_uart_create(hwaddr base,
qemu_irq irq) qemu_irq irq)
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "sysbus.h" #include "sysbus.h"
#include "hw.h" #include "hw.h"
#include "net.h"
#include "flash.h" #include "flash.h"
#include "sysemu.h" #include "sysemu.h"
#include "devices.h" #include "devices.h"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "hw.h" #include "hw.h"
#include "block.h" #include "block.h"
#include "sysemu.h" #include "sysemu.h"
#include "net.h"
#include "boards.h" #include "boards.h"
#include "monitor.h" #include "monitor.h"
#include "loader.h" #include "loader.h"
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include "hw.h" #include "hw.h"
#include "scsi.h" #include "scsi.h"
#include "scsi-defs.h" #include "scsi-defs.h"
#include "net.h" /* Remove that when we can */
#include "srp.h" #include "srp.h"
#include "hw/qdev.h" #include "hw/qdev.h"
#include "hw/spapr.h" #include "hw/spapr.h"
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "sysbus.h" #include "sysbus.h"
#include "hw.h" #include "hw.h"
#include "serial.h" #include "serial.h"
#include "net.h"
#include "flash.h" #include "flash.h"
#include "sysemu.h" #include "sysemu.h"
#include "devices.h" #include "devices.h"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#define _QEMU_VIRTIO_NET_H #define _QEMU_VIRTIO_NET_H
#include "virtio.h" #include "virtio.h"
#include "net.h"
#include "pci/pci.h" #include "pci/pci.h"
#define ETH_ALEN 6 #define ETH_ALEN 6
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "qemu-error.h" #include "qemu-error.h"
#include "pci/msi.h" #include "pci/msi.h"
#include "pci/msix.h" #include "pci/msix.h"
#include "net.h"
#include "loader.h" #include "loader.h"
#include "kvm.h" #include "kvm.h"
#include "blockdev.h" #include "blockdev.h"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#define _QEMU_VIRTIO_SCSI_H #define _QEMU_VIRTIO_SCSI_H
#include "virtio.h" #include "virtio.h"
#include "net.h"
#include "pci/pci.h" #include "pci/pci.h"
/* The ID for virtio_scsi */ /* The ID for virtio_scsi */
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
#include "xen_common.h" #include "xen_common.h"
#include "sysemu.h" #include "sysemu.h"
#include "net.h" #include "net.h"
#include "net/hub.h"
/* ------------------------------------------------------------- */ /* ------------------------------------------------------------- */
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include "pci/pci.h" #include "pci/pci.h"
#include "irq.h" #include "irq.h"
#include "xen_common.h" #include "xen_common.h"
#include "net.h"
#include "xen_backend.h" #include "xen_backend.h"
#include "trace.h" #include "trace.h"
#include "exec-memory.h" #include "exec-memory.h"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
*/ */
#include "sysemu.h" #include "sysemu.h"
#include "net.h"
#include "monitor.h" #include "monitor.h"
#include "console.h" #include "console.h"
#include "error.h" #include "error.h"
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include "qemu-common.h" #include "qemu-common.h"
#include "net.h"
#include "monitor.h" #include "monitor.h"
#include "console.h" #include "console.h"
#include "sysemu.h" #include "sysemu.h"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
*/ */
#include "sysemu.h" #include "sysemu.h"
#include "net.h"
#include "monitor.h" #include "monitor.h"
#include "console.h" #include "console.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册