From e601453ce6046956507df3efab03a9f767517ea5 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 16 Apr 2012 16:00:47 +0100 Subject: libxl: Remove libxl_tmem_destroy and associated xl command Dan Magenheimer explains in <4c2f7fca-dda2-4598-aaab-3a6a3fe532cd@default>: I think the tmem_destroy functionality pre-dates the existence of tmem "freeable" memory* and was a way for a toolset to force the hypervisor to free up the hypervisor memory used by some or all ephemeral tmem pools. Once the tmem allocation/free process was directly linked into alloc_heap_pages() in the hypervisor (see call to tmem_relinquish_pages()), this forcing function was no longer needed. So, bottom line, I *think* it can be ripped out, or at least for now removed from the definition of the stable xl API/UI. The libxl.c routine libxl_tmem_destroy() could also be removed if you like, but I guess I'd prefer to leave the lower level droppings in xc.c and in the hypervisor in case I am misremembering. Accordingly remove this interface from libxl and xl but don't touch libxc or the hypervisor. This is the only libxl_tmem_* function which might potentially have required conversion to be asynchronous and which therefore might have been a potential API stability concern. Signed-off-by: Ian Campbell Committed-by: Ian Jackson Acked-by: Dan Magenheimer --- docs/man/xl.pod.1 | 4 ---- 1 file changed, 4 deletions(-) (limited to 'docs/man') diff --git a/docs/man/xl.pod.1 b/docs/man/xl.pod.1 index e5324fb6e3..6e7a7a082f 100644 --- a/docs/man/xl.pod.1 +++ b/docs/man/xl.pod.1 @@ -1055,10 +1055,6 @@ List tmem pools. If I<-l> is specified, also list tmem stats. Freeze tmem pools. -=item B I - -Destroy tmem pools. - =item B I Thaw tmem pools. -- cgit v1.2.3