Skip to content

Commit

Permalink
KVM: x86: change PT_FIRST_AVAIL_BITS_SHIFT to avoid conflict with EPT…
Browse files Browse the repository at this point in the history
… Dirty bit

EPT Dirty bit use bit 9 as Intel SDM definition, to avoid conflict, change
PT_FIRST_AVAIL_BITS_SHIFT to 10.

Signed-off-by: Xudong Hao <xudong.hao@intel.com>
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
  • Loading branch information
Xudong Hao authored and Marcelo Tosatti committed Jun 13, 2012
1 parent 80feb89 commit 00763e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module_param(dbg, bool, 0644);

#define PTE_PREFETCH_NUM 8

#define PT_FIRST_AVAIL_BITS_SHIFT 9
#define PT_FIRST_AVAIL_BITS_SHIFT 10
#define PT64_SECOND_AVAIL_BITS_SHIFT 52

#define PT64_LEVEL_BITS 9
Expand Down

0 comments on commit 00763e4

Please sign in to comment.