kvm: libkvm: make static slot & kvm_memory region funcions public
commite02476420e25d4edc059288bbb0ad6a3a6a55302
authorJerone Young <jyoung5@us.ibm.com>
Tue, 6 Nov 2007 16:48:43 +0000 (6 10:48 -0600)
committerAvi Kivity <avi@qumranet.com>
Wed, 7 Nov 2007 13:44:22 +0000 (7 15:44 +0200)
tree5e1b55265cc2dc39fd9e658b6ef27e617adcf231
parentae0d809a4a04308c1a62de2ebc7776a63e9a6fa6
kvm: libkvm: make static slot & kvm_memory region funcions public

This patch changes static functions for manipulation of memory slots
and regions public in libkvm.c. This also makes a decleration for these
functions in kvm-common.h.

This allow for breaking out code into other files and still keep this
functionality. These functions can later be broken up some to
move there x86 specific stuff (ex. TSS).

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
kvm/libkvm/kvm-common.h
kvm/libkvm/libkvm.c