]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: add a memslot flag for incoherent memory regions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 17 Nov 2014 14:58:51 +0000 (14:58 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 25 Nov 2014 13:57:27 +0000 (13:57 +0000)
commit321d43e28bbc6ee0f94ccd1d54146eecd8a8c604
tree606079295f03562379cbca804d785ccb5cdf5326
parent83d1cccfe4e1827caf712cff203d05e60ba81d59
kvm: add a memslot flag for incoherent memory regions

Memory regions may be incoherent with the caches, typically when the
guest has mapped a host system RAM backed memory region as uncached.
Add a flag KVM_MEMSLOT_INCOHERENT so that we can tag these memslots
and handle them appropriately when mapping them.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/linux/kvm_host.h