From 21cbfe5f37aaa3a13d3af28454e762c05be67429 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 26 Jan 2016 18:17:06 +0000 Subject: xen: Clean up includes Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell Message-id: 1453832250-766-14-git-send-email-peter.maydell@linaro.org --- hw/char/xen_console.c | 7 +------ hw/display/xenfb.c | 10 +--------- hw/net/xen_nic.c | 11 +---------- hw/xen/xen-host-pci-device.c | 1 + hw/xen/xen_backend.c | 10 +--------- hw/xen/xen_devconfig.c | 1 + hw/xen/xen_pt.c | 1 + hw/xen/xen_pt_config_init.c | 1 + hw/xen/xen_pt_graphics.c | 1 + hw/xen/xen_pt_msi.c | 1 + hw/xenpv/xen_domainbuild.c | 2 +- hw/xenpv/xen_machine_pv.c | 1 + 12 files changed, 12 insertions(+), 35 deletions(-) (limited to 'hw') diff --git a/hw/char/xen_console.c b/hw/char/xen_console.c index b92d0c6..cbf1dcc 100644 --- a/hw/char/xen_console.c +++ b/hw/char/xen_console.c @@ -19,14 +19,9 @@ * with this program; if not, see . */ -#include -#include -#include +#include "qemu/osdep.h" #include -#include -#include #include -#include #include #include "hw/hw.h" diff --git a/hw/display/xenfb.c b/hw/display/xenfb.c index 1676660..a533c3d 100644 --- a/hw/display/xenfb.c +++ b/hw/display/xenfb.c @@ -24,16 +24,8 @@ * with this program; if not, see . */ -#include -#include -#include -#include -#include +#include "qemu/osdep.h" #include -#include -#include -#include -#include #include "hw/hw.h" #include "ui/console.h" diff --git a/hw/net/xen_nic.c b/hw/net/xen_nic.c index 3ffb07d..7281730 100644 --- a/hw/net/xen_nic.c +++ b/hw/net/xen_nic.c @@ -19,18 +19,9 @@ * GNU GPL, version 2 or (at your option) any later version. */ -#include -#include -#include -#include -#include -#include -#include -#include +#include "qemu/osdep.h" #include #include -#include -#include #include #include diff --git a/hw/xen/xen-host-pci-device.c b/hw/xen/xen-host-pci-device.c index 3827ca7..9666fff 100644 --- a/hw/xen/xen-host-pci-device.c +++ b/hw/xen/xen-host-pci-device.c @@ -6,6 +6,7 @@ * */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "xen-host-pci-device.h" diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c index caa459c..ef7843f 100644 --- a/hw/xen/xen_backend.c +++ b/hw/xen/xen_backend.c @@ -22,15 +22,7 @@ * TODO: add some xenbus / xenstore concepts overview here. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "qemu/osdep.h" #include #include diff --git a/hw/xen/xen_devconfig.c b/hw/xen/xen_devconfig.c index e138dbb..1f30fe4 100644 --- a/hw/xen/xen_devconfig.c +++ b/hw/xen/xen_devconfig.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/xen/xen_backend.h" #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index d33221b..657bf6c 100644 --- a/hw/xen/xen_pt.c +++ b/hw/xen/xen_pt.c @@ -52,6 +52,7 @@ * - Set entry->pirq to '-1'. */ +#include "qemu/osdep.h" #include #include "hw/pci/pci.h" diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c index 81c6721..1b48f19 100644 --- a/hw/xen/xen_pt_config_init.c +++ b/hw/xen/xen_pt_config_init.c @@ -12,6 +12,7 @@ * This file implements direct PCI assignment to a HVM guest */ +#include "qemu/osdep.h" #include "qemu/timer.h" #include "hw/xen/xen_backend.h" #include "xen_pt.h" diff --git a/hw/xen/xen_pt_graphics.c b/hw/xen/xen_pt_graphics.c index e7a7c7e..71e745f 100644 --- a/hw/xen/xen_pt_graphics.c +++ b/hw/xen/xen_pt_graphics.c @@ -1,6 +1,7 @@ /* * graphics passthrough */ +#include "qemu/osdep.h" #include "xen_pt.h" #include "xen-host-pci-device.h" #include "hw/xen/xen_backend.h" diff --git a/hw/xen/xen_pt_msi.c b/hw/xen/xen_pt_msi.c index 302a310..5624685 100644 --- a/hw/xen/xen_pt_msi.c +++ b/hw/xen/xen_pt_msi.c @@ -9,6 +9,7 @@ * This file implements direct PCI assignment to a HVM guest */ +#include "qemu/osdep.h" #include #include "hw/xen/xen_backend.h" diff --git a/hw/xenpv/xen_domainbuild.c b/hw/xenpv/xen_domainbuild.c index f9be029..5a9f5ac 100644 --- a/hw/xenpv/xen_domainbuild.c +++ b/hw/xenpv/xen_domainbuild.c @@ -1,4 +1,4 @@ -#include +#include "qemu/osdep.h" #include "hw/xen/xen_backend.h" #include "xen_domainbuild.h" #include "qemu/timer.h" diff --git a/hw/xenpv/xen_machine_pv.c b/hw/xenpv/xen_machine_pv.c index 3250b94..fc13535 100644 --- a/hw/xenpv/xen_machine_pv.c +++ b/hw/xenpv/xen_machine_pv.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/boards.h" #include "hw/xen/xen_backend.h" -- cgit v1.1