From: Izik Eidus Date: Thu, 27 Sep 2007 12:11:22 +0000 (+0200) Subject: KVM: Remove the usage of page->private field by rmap X-Git-Tag: v2.6.25-rc1~1138^2~229 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=290fc38da8187b53b78dd4d5ab27a20b88ef8b61;p=pandora-kernel.git KVM: Remove the usage of page->private field by rmap When kvm uses user-allocated pages in the future for the guest, we won't be able to use page->private for rmap, since page->rmap is reserved for the filesystem. So we move the rmap base pointers to the memory slot. A side effect of this is that we need to store the gfn of each gpte in the shadow pages, since the memory slot is addressed by gfn, instead of hfn like struct page. Signed-off-by: Izik Eidus Signed-off-by: Avi Kivity --- Reading git-diff-tree failed