Browse Source

KVM: MMU: reorganize struct kvm_shadow_walk_iterator

Reorganize it for good using the cache

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Xiao Guangrong 14 years ago
parent
commit
dd3bfd59db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86/kvm/mmu.c

+ 1 - 1
arch/x86/kvm/mmu.c

@@ -172,8 +172,8 @@ struct pte_list_desc {
 struct kvm_shadow_walk_iterator {
 	u64 addr;
 	hpa_t shadow_addr;
-	int level;
 	u64 *sptep;
+	int level;
 	unsigned index;
 };