aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2013-10-07 12:48:00 -0400
committerAlexander Graf <agraf@suse.de>2013-10-17 09:49:23 -0400
commit5587027ce9d59a57aecaa190be1c8e560aaff45d (patch)
tree866ecafdd194b2ce1669fa4ecfc47c4f24202fa0 /arch/s390/kvm
parent2ba9f0d8875073a2ed802fca0c25c9bfc4338439 (diff)
kvm: Add struct kvm arg to memslot APIs
We will use that in the later patch to find the kvm ops handler Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/s390/kvm')
-rw-r--r--arch/s390/kvm/kvm-s390.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 1e4e7b97337a..bedda67cc222 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -1089,12 +1089,13 @@ int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf)
1089 return VM_FAULT_SIGBUS; 1089 return VM_FAULT_SIGBUS;
1090} 1090}
1091 1091
1092void kvm_arch_free_memslot(struct kvm_memory_slot *free, 1092void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free,
1093 struct kvm_memory_slot *dont) 1093 struct kvm_memory_slot *dont)
1094{ 1094{
1095} 1095}
1096 1096
1097int kvm_arch_create_memslot(struct kvm_memory_slot *slot, unsigned long npages) 1097int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
1098 unsigned long npages)
1098{ 1099{
1099 return 0; 1100 return 0;
1100} 1101}