KVM: MMU: move bits lost judgement into a separate function
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 2 Aug 2010 08:14:04 +0000 (16:14 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:31 +0000 (10:50 +0200)
commit8672b7217a234c41d425a63b171af809e1169842
treebc560e64b773b71010c77940382ad90f910fe734
parent251464c464cf7df7d6d548f1065f49a3ecd08118
KVM: MMU: move bits lost judgement into a separate function

Introduce spte_has_volatile_bits() function to judge whether spte
bits will miss, it's more readable and can help us to cleanup code
later

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c