aboutsummaryrefslogtreecommitdiff
path: root/target/i386
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-12-04 18:25:35 +0100
committerMarkus Armbruster <armbru@redhat.com>2018-12-20 10:29:08 +0100
commitb7d89466dde6889d353e4f76d9cc3460067d8784 (patch)
tree529c3f616fe9705c25e4e857f290ff1dcad46b4c /target/i386
parentb72566a4ffaddbc0c0c1f6f5ee91b42ab13ff429 (diff)
downloadqemu-b7d89466dde6889d353e4f76d9cc3460067d8784.zip
qemu-b7d89466dde6889d353e4f76d9cc3460067d8784.tar.gz
qemu-b7d89466dde6889d353e4f76d9cc3460067d8784.tar.bz2
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, with the changes to the following files manually reverted: contrib/libvhost-user/libvhost-user-glib.h contrib/libvhost-user/libvhost-user.c contrib/libvhost-user/libvhost-user.h linux-user/mips64/cpu_loop.c linux-user/mips64/signal.c linux-user/sparc64/cpu_loop.c linux-user/sparc64/signal.c linux-user/x86_64/cpu_loop.c linux-user/x86_64/signal.c target/s390x/gen-features.c tests/migration/s390x/a-b-bios.c tests/test-rcu-simpleq.c tests/test-rcu-tailq.c Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20181204172535.2799-1-armbru@redhat.com> Acked-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Halil Pasic <pasic@linux.ibm.com> Acked-by: Yuval Shaia <yuval.shaia@oracle.com> Acked-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Diffstat (limited to 'target/i386')
-rw-r--r--target/i386/sev.c3
-rw-r--r--target/i386/whp-dispatch.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/sev.c b/target/i386/sev.c
index 2395171..20b2d32 100644
--- a/target/i386/sev.c
+++ b/target/i386/sev.c
@@ -11,12 +11,13 @@
*
*/
+#include "qemu/osdep.h"
+
#include <linux/kvm.h>
#include <linux/psp-sev.h>
#include <sys/ioctl.h>
-#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qom/object_interfaces.h"
#include "qemu/base64.h"
diff --git a/target/i386/whp-dispatch.h b/target/i386/whp-dispatch.h
index d8d3485..4ae3cc8 100644
--- a/target/i386/whp-dispatch.h
+++ b/target/i386/whp-dispatch.h
@@ -1,5 +1,4 @@
#include "windows.h"
-#include <stdbool.h>
#include <WinHvPlatform.h>
#include <WinHvEmulation.h>