KVM: MMU: fix opposite condition in mapping_level_dirty_bitmap
commita0a8eaba1661232f094654422bdabe2df4e26863
authorSteve <stefan.bosak@gmail.com>
Fri, 17 Jun 2011 02:25:39 +0000 (17 10:25 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 19 Jun 2011 16:23:13 +0000 (19 19:23 +0300)
treed97248eb09876437379b3f03e023b337fae5d3a9
parent5233dd51ece1615d54ab96c4cbe9ac3cc595e955
KVM: MMU: fix opposite condition in mapping_level_dirty_bitmap

The condition is opposite, it always maps huge page for the dirty tracked page

Reported-by: Steve <stefan.bosak@gmail.com>
Signed-off-by: Steve <stefan.bosak@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c