aboutsummaryrefslogtreecommitdiff
path: root/hw/pci
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-24 08:43:34 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-19 08:31:29 +0100
commit1422e32db51ff2b1194fb24a6201c4310be5667d (patch)
tree56f9911d524eca4194573a6037303a169e61db50 /hw/pci
parentfd9400b302ef582c3ae8a8d5288338ea5f0f4c9a (diff)
downloadqemu-1422e32db51ff2b1194fb24a6201c4310be5667d.zip
qemu-1422e32db51ff2b1194fb24a6201c4310be5667d.tar.gz
qemu-1422e32db51ff2b1194fb24a6201c4310be5667d.tar.bz2
net: reorganize headers
Move public headers to include/net, and leave private headers in net/. Put the virtio headers in include/net/tap.h, removing the multiple copies that existed. Leave include/net/tap.h as the interface for NICs, and net/tap_int.h as the interface for OS-specific parts of the tap backend. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/pci')
-rw-r--r--hw/pci/pci-hotplug.c2
-rw-r--r--hw/pci/pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/pci/pci-hotplug.c b/hw/pci/pci-hotplug.c
index 4b4c931..b850400 100644
--- a/hw/pci/pci-hotplug.c
+++ b/hw/pci/pci-hotplug.c
@@ -25,7 +25,7 @@
#include "hw/hw.h"
#include "hw/boards.h"
#include "hw/pci/pci.h"
-#include "net.h"
+#include "net/net.h"
#include "hw/pc.h"
#include "monitor.h"
#include "hw/scsi.h"
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index 2e455e2..105fe95 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -26,7 +26,7 @@
#include "hw/pci/pci_bridge.h"
#include "hw/pci/pci_bus.h"
#include "monitor.h"
-#include "net.h"
+#include "net/net.h"
#include "sysemu.h"
#include "hw/loader.h"
#include "range.h"