提交 13673a90 编写于 作者: E Eduardo Habkost 提交者: Avi Kivity

KVM: VMX: move vmx.h to include/asm

vmx.h will be used by core code that is independent of KVM, so I am
moving it outside the arch/x86/kvm directory.
Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 fe4e771d
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
* *
*/ */
#include "vmx.h"
#include "mmu.h" #include "mmu.h"
#include <linux/kvm_host.h> #include <linux/kvm_host.h>
...@@ -33,6 +32,7 @@ ...@@ -33,6 +32,7 @@
#include <asm/page.h> #include <asm/page.h>
#include <asm/cmpxchg.h> #include <asm/cmpxchg.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/vmx.h>
/* /*
* When setting this variable to true it enables Two-Dimensional-Paging * When setting this variable to true it enables Two-Dimensional-Paging
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
*/ */
#include "irq.h" #include "irq.h"
#include "vmx.h"
#include "mmu.h" #include "mmu.h"
#include <linux/kvm_host.h> #include <linux/kvm_host.h>
...@@ -31,6 +30,7 @@ ...@@ -31,6 +30,7 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/desc.h> #include <asm/desc.h>
#include <asm/vmx.h>
#define __ex(x) __kvm_handle_fault_on_reboot(x) #define __ex(x) __kvm_handle_fault_on_reboot(x)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册