diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2011-11-24 17:38:24 +0800 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 11:17:35 +0200 |
commit | be593d6286075801bba6d60fa466a39c24cc7616 (patch) | |
tree | 7d2b156d7a9fa19700cb7ac5327a15093114905a /include/linux/kvm_host.h | |
parent | 93a5cef07d686a0341d056b0f930a762c7174a13 (diff) | |
download | op-kernel-dev-be593d6286075801bba6d60fa466a39c24cc7616.zip op-kernel-dev-be593d6286075801bba6d60fa466a39c24cc7616.tar.gz |
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 924df0d..23f795c 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) { |