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
Kconfig -rw-r--r-- 788 bytes
Makefile -rw-r--r-- 305 bytes
client.c -rw-r--r-- 51.7 KB
error.c -rw-r--r-- 7.4 KB
mod.c -rw-r--r-- 4.3 KB
protocol.c -rw-r--r-- 13.7 KB
protocol.h -rw-r--r-- 1.3 KB
trans_common.c -rw-r--r-- 2.0 KB
trans_common.h -rw-r--r-- 632 bytes
trans_fd.c -rw-r--r-- 24.6 KB
trans_rdma.c -rw-r--r-- 18.8 KB
trans_virtio.c -rw-r--r-- 18.4 KB
util.c -rw-r--r-- 3.2 KB

back to top