aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-11-18 07:29:43 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:53:05 -0500
commit5bb064dcdeb7ab341e2f8a3e2fc34faa63b1662c (patch)
treeabb976bd8e6f79fca02aeadad31269f281f71c16 /drivers/kvm/kvm.h
parent9327fd1195b77e67b86db8c1c1c4c4f7db009b00 (diff)
KVM: Portability: Move kvm_vcpu_ioctl_get_dirty_log to arch-specific file
Meanwhile keep the interface in common, and leave as more logic in common as possible. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index bdcc44e6b6d7..c1aa84f7ca0a 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -644,6 +644,11 @@ void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu);
644 644
645int kvm_dev_ioctl_check_extension(long ext); 645int kvm_dev_ioctl_check_extension(long ext);
646 646
647int kvm_get_dirty_log(struct kvm *kvm,
648 struct kvm_dirty_log *log, int *is_dirty);
649int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm,
650 struct kvm_dirty_log *log);
651
647int kvm_vm_ioctl_set_memory_region(struct kvm *kvm, 652int kvm_vm_ioctl_set_memory_region(struct kvm *kvm,
648 struct 653 struct
649 kvm_userspace_memory_region *mem, 654 kvm_userspace_memory_region *mem,