Skip to content

Commit

Permalink
KVM: Fold drivers/kvm/kvm_vmx.h into drivers/kvm/vmx.c
Browse files Browse the repository at this point in the history
No meat in that file.

Signed-off-by: Avi Kivity <avi@qumranet.com>
  • Loading branch information
Avi Kivity committed May 3, 2007
1 parent e38aea3 commit 35cc7f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
14 changes: 0 additions & 14 deletions drivers/kvm/kvm_vmx.h

This file was deleted.

7 changes: 6 additions & 1 deletion drivers/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

#include "kvm.h"
#include "vmx.h"
#include "kvm_vmx.h"
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mm.h>
Expand Down Expand Up @@ -81,8 +80,14 @@ static const u32 vmx_msr_index[] = {
#ifdef CONFIG_X86_64
static unsigned msr_offset_kernel_gs_base;
#define NR_64BIT_MSRS 4
/*
* avoid save/load MSR_SYSCALL_MASK and MSR_LSTAR by std vt
* mechanism (cpu bug AA24)
*/
#define NR_BAD_MSRS 2
#else
#define NR_64BIT_MSRS 0
#define NR_BAD_MSRS 0
#endif

static inline int is_page_fault(u32 intr_info)
Expand Down

0 comments on commit 35cc7f9

Please sign in to comment.