commit | cbff90a7caa49507d399c9a55ba4a411e840bfb4 | [log] [tgz] |
---|---|---|
author | Ben-Ami Yassour <benami@il.ibm.com> | Mon Jul 28 19:26:24 2008 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Wed Oct 15 10:15:17 2008 +0200 |
tree | badd7eb07475ace6098f0bff66ce296c5ac0f7b7 | |
parent | 0293615f3fb9886b6b23800c121be293bb7483e9 [diff] |
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 <benami@il.ibm.com> Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>