Skip to contentSkip to conversation

tmem tools: Add transcendent memory control plane to hypervisor

PATCH New Dan Magenheimer 1 participant 1 message Feb 6, 2009

lore
Share & tools
lore
#0 lore raw

cover tmem tools: Add transcendent memory control plane to hypervisor

This is the tools (control plane) patchset for transcendent memory as described at http://oss.oracle.com/projects/tmem

This patchset also applies to xen-unstable c/s 19130 and should be applied AFTER the previously posted hypervisor patchset (or at least after patch 1of9 of that set).

[1] tmem control plane libxc foundation
[2] tmem control plane python foundation
[3] tmem control plane command parsing
[4] tmem control plane domain-launch mods

The following new xm commands are implemented:

xm tmem-list [-l|--long] [<Domain>|-a|--all]
xm tmem-thaw [<Domain>|-a|--all]

xm tmem-freeze [<Domain>|-a|--all]
xm tmem-destroy <Domain>|-a|--all]
xm tmem-set [<Domain>|-a|--all] [weight=<weight>] [cap=<cap>] [compress=<compress>]

Patches sent as attachments, probably with the wrong MIME type again (sorry... working on it). If you have problems, a tarball of the patchset is downloadable as:

http://oss.oracle.com/projects/tmem/dist/files/xen-unstable/tmem-xentools-19130-090205.tgz

Diffstat:

 b/tools/libxc/xc_tmem.c                      |   82 +++++++++++
 tools/libxc/Makefile                         |    1 
 tools/libxc/xenctrl.h                        |   12 +
 tools/python/xen/lowlevel/xc/xc.c            |   52 +++++++
 tools/python/xen/xend/XendAPI.py             |   65 +++++++++
 tools/python/xen/xend/XendCheckpoint.py      |    1 
 tools/python/xen/xend/XendConstants.py       |   24 +++
 tools/python/xen/xend/XendDomainInfo.py      |    1 
 tools/python/xen/xend/XendNode.py            |   56 ++++++++
 tools/python/xen/xend/balloon.py             |    2 
 tools/python/xen/xend/server/XMLRPCServer.py |    6 
 tools/python/xen/xm/main.py                  |  187 ++++++++++++++++++++++++++-
 12 files changed, 485 insertions(+), 4 deletions(-)