diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2011-11-24 04:38:24 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 04:17:35 -0500 |
commit | be593d6286075801bba6d60fa466a39c24cc7616 (patch) | |
tree | 7d2b156d7a9fa19700cb7ac5327a15093114905a /include/linux/kvm_host.h | |
parent | 93a5cef07d686a0341d056b0f930a762c7174a13 (diff) |
KVM: introduce update_memslots function
Introduce update_memslots to update slot which will be update to
kvm->memslots
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 924df0d7ac5f..23f795c66220 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -320,6 +320,7 @@ void kvm_exit(void); | |||
320 | 320 | ||
321 | void kvm_get_kvm(struct kvm *kvm); | 321 | void kvm_get_kvm(struct kvm *kvm); |
322 | void kvm_put_kvm(struct kvm *kvm); | 322 | void kvm_put_kvm(struct kvm *kvm); |
323 | void update_memslots(struct kvm_memslots *slots, struct kvm_memory_slot *new); | ||
323 | 324 | ||
324 | static inline struct kvm_memslots *kvm_memslots(struct kvm *kvm) | 325 | static inline struct kvm_memslots *kvm_memslots(struct kvm *kvm) |
325 | { | 326 | { |