diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kvm/powerpc.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index f06cf93b178e..4633e7850dd2 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c | |||
@@ -165,14 +165,24 @@ long kvm_arch_dev_ioctl(struct file *filp, | |||
165 | return -EINVAL; | 165 | return -EINVAL; |
166 | } | 166 | } |
167 | 167 | ||
168 | int kvm_arch_set_memory_region(struct kvm *kvm, | 168 | int kvm_arch_prepare_memory_region(struct kvm *kvm, |
169 | struct kvm_userspace_memory_region *mem, | 169 | struct kvm_memory_slot *memslot, |
170 | struct kvm_memory_slot old, | 170 | struct kvm_memory_slot old, |
171 | int user_alloc) | 171 | struct kvm_userspace_memory_region *mem, |
172 | int user_alloc) | ||
172 | { | 173 | { |
173 | return 0; | 174 | return 0; |
174 | } | 175 | } |
175 | 176 | ||
177 | void kvm_arch_commit_memory_region(struct kvm *kvm, | ||
178 | struct kvm_userspace_memory_region *mem, | ||
179 | struct kvm_memory_slot old, | ||
180 | int user_alloc) | ||
181 | { | ||
182 | return; | ||
183 | } | ||
184 | |||
185 | |||
176 | void kvm_arch_flush_shadow(struct kvm *kvm) | 186 | void kvm_arch_flush_shadow(struct kvm *kvm) |
177 | { | 187 | { |
178 | } | 188 | } |