From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: [PATCH 00 of 24] xenpaging fixes for xen-unstable Date: Mon, 03 Oct 2011 17:54:37 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org The following series adds support for xenpaging to libxl and the xl command. A few code cleanup changes are also part of this series. The logic of xenpaging was reversed. It does now monitor the guests tot_pages value and work toward that number by either paging out more pages, or write pages back into the guest. Three new configuration file options specific for xenpaging were added: totmem= xenpaging_file= xenpaging_extra=[ 'string', 'string' ] A new xl command 'mem-tot_pages' instructs xenpaging to adjust its pagefile size, and it instructs the xl monitor process to actually start xenpaging if totmem= was not specified in the config file. Please review and apply. Olaf Config.mk | 2 config/StdGNU.mk | 2 tools/libxc/xc_bitops.h | 6 tools/libxl/libxl.c | 121 +++++++++ tools/libxl/libxl.h | 5 tools/libxl/libxl_create.c | 146 +++++++++++ tools/libxl/libxl_device.c | 84 ------ tools/libxl/libxl_dm.c | 65 +---- tools/libxl/libxl_dom.c | 8 tools/libxl/libxl_exec.c | 142 +++++++++++ tools/libxl/libxl_internal.h | 33 ++ tools/libxl/libxl_paths.c | 5 tools/libxl/libxl_types.idl | 4 tools/libxl/xl.h | 1 tools/libxl/xl_cmdimpl.c | 71 +++++ tools/libxl/xl_cmdtable.c | 5 tools/xenpaging/Makefile | 6 tools/xenpaging/file_ops.c | 6 tools/xenpaging/policy_default.c | 23 + tools/xenpaging/xenpaging.c | 479 ++++++++++++++++++++++++++++----------- tools/xenpaging/xenpaging.h | 8 21 files changed, 934 insertions(+), 288 deletions(-)