From: Wei Liu Subject: [PATCH V3 0/2] OSSTest: get host free memory size Date: Mon, 14 Apr 2014 17:05:28 +0100 Message-ID: <1397491530-15224-1-git-send-email-wei.liu2@citrix.com> 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.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Wei Liu , ian.jackson@eu.citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Originally ts-debian-hvm-install deliberately asks for large amount of guest memory, but the host may not have enough free memory to create the guest. This patch series makes ts-debian-hvm-install start with a conservative value and only increase guest memory size if it can be satisfied. Wei. Wei Liu (2): TestSupport.pm: introduce host_get_free_memory ts-debian-hvm-install: fix guest memory size Osstest/TestSupport.pm | 11 +++++++++++ ts-debian-hvm-install | 15 ++++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) -- 1.7.10.4