diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2013-10-07 12:48:00 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-10-17 09:49:23 -0400 |
commit | 5587027ce9d59a57aecaa190be1c8e560aaff45d (patch) | |
tree | 866ecafdd194b2ce1669fa4ecfc47c4f24202fa0 /arch/ia64/kvm | |
parent | 2ba9f0d8875073a2ed802fca0c25c9bfc4338439 (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/ia64/kvm')
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index bdfd8789b376..985bf80c622e 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -1550,12 +1550,13 @@ int kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) | |||
1550 | return VM_FAULT_SIGBUS; | 1550 | return VM_FAULT_SIGBUS; |
1551 | } | 1551 | } |
1552 | 1552 | ||
1553 | void kvm_arch_free_memslot(struct kvm_memory_slot *free, | 1553 | void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free, |
1554 | struct kvm_memory_slot *dont) | 1554 | struct kvm_memory_slot *dont) |
1555 | { | 1555 | { |
1556 | } | 1556 | } |
1557 | 1557 | ||
1558 | int kvm_arch_create_memslot(struct kvm_memory_slot *slot, unsigned long npages) | 1558 | int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot, |
1559 | unsigned long npages) | ||
1559 | { | 1560 | { |
1560 | return 0; | 1561 | return 0; |
1561 | } | 1562 | } |