kvm-s390.c (ff877ea80efa2015b6263766f78ee42c2a1b32f9) kvm-s390.c (2bd0ac4eb469ef58c3b1746fccd15da871fc55c4)
1/*
2 * s390host.c -- hosting zSeries kernel virtual machines
3 *
4 * Copyright IBM Corp. 2008
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License (version 2 only)
8 * as published by the Free Software Foundation.

--- 98 unchanged lines hidden (view full) ---

107{
108 if (ioctl == KVM_S390_ENABLE_SIE)
109 return s390_enable_sie();
110 return -EINVAL;
111}
112
113int kvm_dev_ioctl_check_extension(long ext)
114{
1/*
2 * s390host.c -- hosting zSeries kernel virtual machines
3 *
4 * Copyright IBM Corp. 2008
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License (version 2 only)
8 * as published by the Free Software Foundation.

--- 98 unchanged lines hidden (view full) ---

107{
108 if (ioctl == KVM_S390_ENABLE_SIE)
109 return s390_enable_sie();
110 return -EINVAL;
111}
112
113int kvm_dev_ioctl_check_extension(long ext)
114{
115 return 0;
115 switch (ext) {
116 case KVM_CAP_USER_MEMORY:
117 return 1;
118 default:
119 return 0;
120 }
116}
117
118/* Section: vm related */
119/*
120 * Get (and clear) the dirty memory log for a memory slot.
121 */
122int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm,
123 struct kvm_dirty_log *log)

--- 575 unchanged lines hidden ---
121}
122
123/* Section: vm related */
124/*
125 * Get (and clear) the dirty memory log for a memory slot.
126 */
127int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm,
128 struct kvm_dirty_log *log)

--- 575 unchanged lines hidden ---