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/x86 | |
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/x86')
-rw-r--r-- | arch/x86/kvm/x86.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index edf2a07df3a3..666526a55c46 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -7080,7 +7080,7 @@ void kvm_arch_destroy_vm(struct kvm *kvm) | |||
7080 | kfree(rcu_dereference_check(kvm->arch.apic_map, 1)); | 7080 | kfree(rcu_dereference_check(kvm->arch.apic_map, 1)); |
7081 | } | 7081 | } |
7082 | 7082 | ||
7083 | void kvm_arch_free_memslot(struct kvm_memory_slot *free, | 7083 | void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free, |
7084 | struct kvm_memory_slot *dont) | 7084 | struct kvm_memory_slot *dont) |
7085 | { | 7085 | { |
7086 | int i; | 7086 | int i; |
@@ -7101,7 +7101,8 @@ void kvm_arch_free_memslot(struct kvm_memory_slot *free, | |||
7101 | } | 7101 | } |
7102 | } | 7102 | } |
7103 | 7103 | ||
7104 | int kvm_arch_create_memslot(struct kvm_memory_slot *slot, unsigned long npages) | 7104 | int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot, |
7105 | unsigned long npages) | ||
7105 | { | 7106 | { |
7106 | int i; | 7107 | int i; |
7107 | 7108 | ||