aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2011-11-24 04:38:24 -0500
committerAvi Kivity <avi@redhat.com>2011-12-27 04:17:35 -0500
commitbe593d6286075801bba6d60fa466a39c24cc7616 (patch)
tree7d2b156d7a9fa19700cb7ac5327a15093114905a /include/linux/kvm_host.h
parent93a5cef07d686a0341d056b0f930a762c7174a13 (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.h1
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
321void kvm_get_kvm(struct kvm *kvm); 321void kvm_get_kvm(struct kvm *kvm);
322void kvm_put_kvm(struct kvm *kvm); 322void kvm_put_kvm(struct kvm *kvm);
323void update_memslots(struct kvm_memslots *slots, struct kvm_memory_slot *new);
323 324
324static inline struct kvm_memslots *kvm_memslots(struct kvm *kvm) 325static inline struct kvm_memslots *kvm_memslots(struct kvm *kvm)
325{ 326{