summaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2011-11-24 17:38:24 +0800
committerAvi Kivity <avi@redhat.com>2011-12-27 11:17:35 +0200
commitbe593d6286075801bba6d60fa466a39c24cc7616 (patch)
tree7d2b156d7a9fa19700cb7ac5327a15093114905a /include/linux/kvm_host.h
parent93a5cef07d686a0341d056b0f930a762c7174a13 (diff)
downloadlinux-3.10-be593d6286075801bba6d60fa466a39c24cc7616.tar.gz
linux-3.10-be593d6286075801bba6d60fa466a39c24cc7616.tar.bz2
linux-3.10-be593d6286075801bba6d60fa466a39c24cc7616.zip
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 924df0d7ac5..23f795c6622 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -320,6 +320,7 @@ void kvm_exit(void);
void kvm_get_kvm(struct kvm *kvm);
void kvm_put_kvm(struct kvm *kvm);
+void update_memslots(struct kvm_memslots *slots, struct kvm_memory_slot *new);
static inline struct kvm_memslots *kvm_memslots(struct kvm *kvm)
{