From: Xiao Guangrong Date: Thu, 24 Nov 2011 09:41:54 +0000 (+0800) Subject: KVM: introduce a table to map slot id to index in memslots array X-Git-Tag: v3.3-rc1~131^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f85e2cb5dbaf905e9470d3fe099b31619da431fc;p=pandora-kernel.git KVM: introduce a table to map slot id to index in memslots array The operation of getting dirty log is frequent when framebuffer-based displays are used(for example, Xwindow), so, we introduce a mapping table to speed up id_to_memslot() Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- Reading git-diff-tree failed