From: Ben-Ami Yassour Date: Mon, 28 Jul 2008 16:26:24 +0000 (+0300) Subject: KVM: direct mmio pfn check X-Git-Tag: v2.6.28-rc1~269^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbff90a7caa49507d399c9a55ba4a411e840bfb4;p=pandora-kernel.git KVM: direct mmio pfn check Userspace may specify memory slots that are backed by mmio pages rather than normal RAM. In some cases it is not enough to identify these mmio pages by pfn_valid(). This patch adds checking the PageReserved as well. Signed-off-by: Ben-Ami Yassour Signed-off-by: Muli Ben-Yehuda Signed-off-by: Avi Kivity --- Reading git-diff-tree failed