diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-17 11:41:37 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-26 12:39:53 +0200 |
commit | a47d2b07ea755b1761a93df720d725f464876e72 (patch) | |
tree | e8fd4976c2af4134d3487a5720c52116c832aa0a /lib/plist.c | |
parent | a9b4fb7e79e7624c97c55e9c7562e3fe866ce70f (diff) |
KVM: introduce kvm_alloc/free_memslots
kvm_alloc_memslots is extracted out of previously scattered code
that was in kvm_init_memslots_id and kvm_create_vm.
kvm_free_memslot and kvm_free_memslots are new names of
kvm_free_physmem and kvm_free_physmem_slot, but they also take
an explicit pointer to struct kvm_memslots.
This will simplify the transition to multiple address spaces,
each represented by one pointer to struct kvm_memslots.
Reviewed-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Reviewed-by: Radim Krcmar <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/plist.c')
0 files changed, 0 insertions, 0 deletions