diff options
author | Ben-Ami Yassour <benami@il.ibm.com> | 2008-07-28 19:26:24 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-10-15 10:15:17 +0200 |
commit | cbff90a7caa49507d399c9a55ba4a411e840bfb4 (patch) | |
tree | badd7eb07475ace6098f0bff66ce296c5ac0f7b7 /mm/msync.c | |
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>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions