Commit d825ed0a authored by Zhang Xiantao's avatar Zhang Xiantao Committed by Avi Kivity

KVM: Portability: Move some includes to x86.c

Move some includes to x86.c from kvm_main.c, since the related functions
have been moved to x86.c
Signed-off-by: default avatarZhang Xiantao <xiantao.zhang@intel.com>
Acked-by: default avatarCarsten Otte <cotte@de.ibm.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent e0506bcb
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "kvm.h" #include "kvm.h"
#include "x86.h" #include "x86.h"
#include "x86_emulate.h"
#include "irq.h" #include "irq.h"
#include <linux/kvm.h> #include <linux/kvm.h>
...@@ -44,7 +43,6 @@ ...@@ -44,7 +43,6 @@
#include <linux/mman.h> #include <linux/mman.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/msr.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/desc.h> #include <asm/desc.h>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "kvm.h" #include "kvm.h"
#include "x86.h" #include "x86.h"
#include "x86_emulate.h"
#include "segment_descriptor.h" #include "segment_descriptor.h"
#include "irq.h" #include "irq.h"
...@@ -25,6 +26,7 @@ ...@@ -25,6 +26,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/msr.h>
#define MAX_IO_MSRS 256 #define MAX_IO_MSRS 256
#define CR0_RESERVED_BITS \ #define CR0_RESERVED_BITS \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment