diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-05 10:46:37 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-05 10:46:37 +0000 |
commit | f5fec95647acc61536578537a1a1f6063b99b1cb (patch) | |
tree | aec71365725f326130aa8824b6802375f64bbd94 /tools/libxc/xenguest.h | |
parent | 36e30441326aa951ced7b1890d654d715db3bd3a (diff) | |
download | xen-f5fec95647acc61536578537a1a1f6063b99b1cb.tar.gz xen-f5fec95647acc61536578537a1a1f6063b99b1cb.tar.bz2 xen-f5fec95647acc61536578537a1a1f6063b99b1cb.zip |
PoD memory 8/9: libxc interface
Implement libxc interface to PoD functionality:
* Add xc_hvm_build_target_mem(), which takes both memsize and target.
Memsize is the total memory, allocated in PoD pages and reported in
the e820; target is the size of the cache. If these are the same, the
normal funcitonality is called. (So you can use the same function to
build always, and it will decide whether to use PoD or not.)
* Add xc_domain_memory_[gs]et_pod_target(), which sets and/or returns
information about the PoD cache and p2m entries.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xenguest.h')
-rw-r--r-- | tools/libxc/xenguest.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/libxc/xenguest.h b/tools/libxc/xenguest.h index ba60326a47..7261e391ac 100644 --- a/tools/libxc/xenguest.h +++ b/tools/libxc/xenguest.h @@ -130,6 +130,12 @@ int xc_hvm_build(int xc_handle, int memsize, const char *image_name); +int xc_hvm_build_target_mem(int xc_handle, + uint32_t domid, + int memsize, + int target, + const char *image_name); + int xc_hvm_build_mem(int xc_handle, uint32_t domid, int memsize, |