diff options
| author | Alexander Graf <agraf@suse.de> | 2014-07-14 12:27:35 -0400 |
|---|---|---|
| committer | Alexander Graf <agraf@suse.de> | 2014-07-28 09:23:17 -0400 |
| commit | 784aa3d7fb6f729c06d5836c9d9569f58e4d05ae (patch) | |
| tree | 301ddcd02c27f91d488857d6df1bca5ea4c68bd7 /include | |
| parent | 9678cdaae93932473f696fdea5debf3eee1e1260 (diff) | |
KVM: Rename and add argument to check_extension
In preparation to make the check_extension function available to VM scope
we add a struct kvm * argument to the function header and rename the function
accordingly. It will still be called from the /dev/kvm fd, but with a NULL
argument for struct kvm *.
Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index ec4e3bd83d47..5065b953e6e8 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
| @@ -602,7 +602,7 @@ long kvm_arch_vcpu_ioctl(struct file *filp, | |||
| 602 | unsigned int ioctl, unsigned long arg); | 602 | unsigned int ioctl, unsigned long arg); |
| 603 | int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf); | 603 | int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf); |
| 604 | 604 | ||
| 605 | int kvm_dev_ioctl_check_extension(long ext); | 605 | int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext); |
| 606 | 606 | ||
| 607 | int kvm_get_dirty_log(struct kvm *kvm, | 607 | int kvm_get_dirty_log(struct kvm *kvm, |
| 608 | struct kvm_dirty_log *log, int *is_dirty); | 608 | struct kvm_dirty_log *log, int *is_dirty); |
