aboutsummaryrefslogtreecommitdiff
path: root/target/i386
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-02-01 12:18:29 +0100
committerMarkus Armbruster <armbru@redhat.com>2018-02-09 05:05:11 +0100
commit8f0a3716e40cf479ebdc1cf5a34b8d500c05adff (patch)
treebe88d99c3c769aaf06c0e68d587f1a86b7ae180f /target/i386
parentd8e39b70625d4ba1e998439d1a077b4b978930e7 (diff)
downloadqemu-8f0a3716e40cf479ebdc1cf5a34b8d500c05adff.zip
qemu-8f0a3716e40cf479ebdc1cf5a34b8d500c05adff.tar.gz
qemu-8f0a3716e40cf479ebdc1cf5a34b8d500c05adff.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 change to target/s390x/gen-features.c manually reverted, and blank lines around deletions collapsed. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180201111846.21846-3-armbru@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r--target/i386/hvf/vmx.h1
-rw-r--r--target/i386/hvf/x86hvf.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/target/i386/hvf/vmx.h b/target/i386/hvf/vmx.h
index 162a7d5..5dc52ec 100644
--- a/target/i386/hvf/vmx.h
+++ b/target/i386/hvf/vmx.h
@@ -25,7 +25,6 @@
#ifndef VMX_H
#define VMX_H
-#include <stdint.h>
#include <Hypervisor/hv.h>
#include <Hypervisor/hv_vmx.h>
#include "vmcs.h"
diff --git a/target/i386/hvf/x86hvf.c b/target/i386/hvf/x86hvf.c
index 7803e09..6c88939 100644
--- a/target/i386/hvf/x86hvf.c
+++ b/target/i386/hvf/x86hvf.c
@@ -29,11 +29,8 @@
#include "hw/i386/apic_internal.h"
-#include <stdio.h>
-#include <stdlib.h>
#include <Hypervisor/hv.h>
#include <Hypervisor/hv_vmx.h>
-#include <stdint.h>
void hvf_set_segment(struct CPUState *cpu, struct vmx_segment *vmx_seg,
SegmentCache *qseg, bool is_tr)