]> xenbits.xensource.com Git - xen.git/commit
tmem: cleanup: drop unused sub command
authorBob Liu <lliubbo@gmail.com>
Thu, 12 Dec 2013 11:05:01 +0000 (19:05 +0800)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Jan 2014 07:53:57 +0000 (08:53 +0100)
commitdcbc050b697f95e9b03303e3fd9d2d51fd29d0e9
treed8dcdfd01c1d28cb7198da4ce7ebca8f7d477680
parente33d4257fc64a0ba3fe82a5327f6ee42b8818955
tmem: cleanup: drop unused sub command

TMEM_READ/TMEM_WRITE/TMEM_XCHG/TMEM_NEW_PAGE are never used, drop them to make
things simple and clean.

To be clear - we are bit lucky here - as none of the other implementors
of the tmem API are using it (Windows GPLPV code, SLES11, Linux upstream).

The spec says that the operations can return an error code (-ENOSYS for
example) so we are OK doing that.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/tmem.c
xen/include/public/tmem.h