KVM: arm/arm64: Enable Dirty Page logging for ARMv8

This patch enables ARMv8 ditry page logging support. Plugs ARMv8 into generic
layer through Kconfig symbol, and drops earlier ARM64 constraints to enable
logging at architecture layer.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Mario Smarduch <m.smarduch@samsung.com>
This commit is contained in:
Mario Smarduch
2015-01-15 15:59:01 -08:00
committed by Christoffer Dall
parent 9836c6b9ff
commit 7276030a08
4 changed files with 13 additions and 24 deletions

View File

@@ -808,7 +808,6 @@ long kvm_arch_vcpu_ioctl(struct file *filp,
*/
int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, struct kvm_dirty_log *log)
{
#ifdef CONFIG_ARM
bool is_dirty = false;
int r;
@@ -821,9 +820,6 @@ int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, struct kvm_dirty_log *log)
mutex_unlock(&kvm->slots_lock);
return r;
#else /* arm64 */
return -EINVAL;
#endif
}
static int kvm_vm_ioctl_set_device_addr(struct kvm *kvm,