PoD memory 9/9: xend integration
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 5 Jan 2009 10:47:03 +0000 (10:47 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 5 Jan 2009 10:47:03 +0000 (10:47 +0000)
commit5bbed21d174342b7c3e413bdb3a3251cbe7679d1
tree0e87ce35b69e768847a8541f8fcb376e7d72ee82
parentf5fec95647acc61536578537a1a1f6063b99b1cb
PoD memory 9/9: xend integration

Xend integration for PoD functionality.
* Add python bindings for xc_hvm_domain_build() and
xc_domain_memory_set_pod_target()
* Always call xc_hvm_domain_build(), with memsize = memory_static_max
and target=memory_dynamic_max
* When setting a new memory target:
 + First make sure we actually have enough free memory for the target
setting to succeed
 + Call set_pod_target() with the new target, to Xen can do the Right
 Thing.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py