Skip to content

Commit dd3bfd5

Browse files
Xiao Guangrongavikivity
authored andcommitted
KVM: MMU: reorganize struct kvm_shadow_walk_iterator
Reorganize it for good using the cache Signed-off-by: Xiao Guangrong <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
1 parent c2a2ac2 commit dd3bfd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kvm/mmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ struct pte_list_desc {
172172
struct kvm_shadow_walk_iterator {
173173
u64 addr;
174174
hpa_t shadow_addr;
175-
int level;
176175
u64 *sptep;
176+
int level;
177177
unsigned index;
178178
};
179179

0 commit comments

Comments
 (0)