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
.gitignore -rw-r--r-- 151 bytes
Kconfig -rw-r--r-- 3.0 KB
Makefile -rw-r--r-- 2.3 KB
gen_init_cpio.c -rw-r--r-- 12.7 KB
initramfs_data.S -rw-r--r-- 1.3 KB

back to top