Revision bb55e9b131d70ab9e30d73ab1342ad4907f9e0de authored by Ard Biesheuvel on 10 November 2014, 08:33:55 UTC, committed by Paolo Bonzini on 26 November 2014, 13:40:45 UTC
Instead of using kvm_is_mmio_pfn() to decide whether a host region
should be stage 2 mapped with device attributes, add a new static
function kvm_is_device_pfn() that disregards RAM pages with the
reserved bit set, as those should usually not be mapped as device
memory.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 6b50f54
History
File Mode Size
Makefile -rw-r--r-- 394 bytes
compat.c -rw-r--r-- 19.1 KB
compat_mq.c -rw-r--r-- 3.9 KB
ipc_sysctl.c -rw-r--r-- 7.0 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 35.3 KB
msg.c -rw-r--r-- 23.9 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.7 KB
sem.c -rw-r--r-- 55.0 KB
shm.c -rw-r--r-- 32.1 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 22.2 KB
util.h -rw-r--r-- 6.4 KB

back to top