aboutsummaryrefslogtreecommitdiff
path: root/target/i386/cpu.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-04-17 21:47:50 +0300
committerMichael S. Tsirkin <mst@redhat.com>2018-05-23 03:14:41 +0300
commit1814eab67398029a927847dfd29198a26aeaf7d8 (patch)
tree20a6c257aaf66c3ffed38a37b53e95bc81132fa2 /target/i386/cpu.c
parentd49bd359d186a83fbb66a23dafd2d6664b79aa6a (diff)
x86/cpu: use standard-headers/asm-x86.kvm_para.h
Switch to the header we imported from Linux, this allows us to drop a hack in kvm_i386.h. More code will be dropped in the next patch. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'target/i386/cpu.c')
-rw-r--r--target/i386/cpu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index d95310ffd4..94260412e2 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -40,9 +40,7 @@
#include "qom/qom-qobject.h"
#include "sysemu/arch_init.h"
-#if defined(CONFIG_KVM)
-#include <linux/kvm_para.h>
-#endif
+#include "standard-headers/asm-x86/kvm_para.h"
#include "sysemu/sysemu.h"
#include "hw/qdev-properties.h"