Message ID | 20170815091340.GA63936@dingwall.me.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D8AED603B5 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 15 Aug 2017 09:16:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C75CF28816 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 15 Aug 2017 09:16:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC0B7287ED; Tue, 15 Aug 2017 09:16:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0C1D328815 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 15 Aug 2017 09:16:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1dhXuz-0006mq-Jv; Tue, 15 Aug 2017 09:13:45 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <james@dingwall.me.uk>) id 1dhXuy-0006mk-L9 for xen-devel@lists.xen.org; Tue, 15 Aug 2017 09:13:44 +0000 Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id 25/89-02175-74BB2995; Tue, 15 Aug 2017 09:13:43 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIIsWRWlGSWpSXmKPExsUSwPDXQ9dt96R Ig/Wf+CyWfFzM4sDocXT3b6YAxijWzLyk/IoE1ozXj50LGvgqFl7ZxdLAOI27i5GLQ0ign1Hi wNUL7F2MnBwSAvISexf+YYaxW58+ZAQpkhB4yiSxcGsHWJGQgIfE8unHWCDsConVi9+zQtjlE p3H9jCC2CwCqhJvW2aB2WwC2hLzT04DGyoiIC1x7fNlsLiwgJ5E+60lYHN4BYwlLh59zAQxx1 ji79Kn7BBxQYmTM5+A1TALaEnc+PcSqIYDyJaWWP6PA8TkFDCR+LEjCcQUFVCW+PeVdQKj0Cw kvbOQ9M5C6F3AyLyKUb04tagstUjXUC+pKDM9oyQ3MTNH19DAVC83tbg4MT01JzGpWC85P3cT IzCI6xkYGHcwNvU6H2KU5GBSEuWdHzUpUogvKT+lMiOxOCO+qDQntfgQowwHh5IEr/guoJxgU Wp6akVaZg4wnmDSEhw8SiK8cTuB0rzFBYm5xZnpEKlTjJYcG1av/8LEcadvA5C89nH7FyYhlr z8vFQpcV4XkHkCIA0ZpXlw42Axf4lRVkqYl5GBgUGIpyC1KDezBFX+FaM4B6OSMK8HyBSezLw SuK2vgA5iAjroSjvYQSWJCCmpBsa2n3FiUrXfHRTTlLm+a05basS76/yMx41H/71evG+T7JOn J/5MXhByavXXHfXJH0zOnY7vzai5cKj832oXXYP3/17FzHw/ZcvnUM4aAa3Yl/+KfGdzR+TF3 ZPfdnZiV+D7ZNFG3qviv859F5nDLqIdMkFEZPG7n+cUVj2KuLdWX0TldUJflvAJJZbijERDLe ai4kQA34leffQCAAA= X-Env-Sender: james@dingwall.me.uk X-Msg-Ref: server-10.tower-206.messagelabs.com!1502788421!78878285!1 X-Originating-IP: [80.0.253.72] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 43296 invoked from network); 15 Aug 2017 09:13:42 -0000 Received: from know-smtprelay-omc-8.server.virginmedia.net (HELO know-smtprelay-omc-8.server.virginmedia.net) (80.0.253.72) by server-10.tower-206.messagelabs.com with DHE-RSA-AES128-SHA encrypted SMTP; 15 Aug 2017 09:13:42 -0000 Received: from dingwall.me.uk ([82.47.84.47]) by know-smtprelay-8-imp with bizsmtp id xMDh1v00411G8Qq01MDhnq; Tue, 15 Aug 2017 10:13:41 +0100 X-Originating-IP: [82.47.84.47] X-Authenticated-User: X-Spam: 0 X-Authority: v=2.1 cv=APW+KdU1 c=1 sm=1 tr=0 a=0bfgdX8EJi0Cr9X0x0jFDA==:117 a=0bfgdX8EJi0Cr9X0x0jFDA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=MKtGQD3n3ToA:10 a=KeKAF7QvOSUA:10 a=1UhrZpe2VIYA:10 a=ZZnuYtJkoWoA:10 a=cWRNjhkoAAAA:8 a=9lbc1UAf8y2jZvUBbs8A:9 a=CjuIK1q_8ugA:10 a=hAen3xr-VmAA:10 a=sVa6W5Aao32NNC1mekxh:22 Received: (qmail 18750 invoked from network); 15 Aug 2017 09:13:40 -0000 Received: from behemoth.dingwall.me.uk (192.168.1.5) by mail0.xen.dingwall.me.uk with SMTP; 15 Aug 2017 09:13:40 -0000 Received: by behemoth.dingwall.me.uk (Postfix, from userid 1000) id 56165D08C20; Tue, 15 Aug 2017 10:13:40 +0100 (BST) Date: Tue, 15 Aug 2017 10:13:40 +0100 From: James Dingwall <james@dingwall.me.uk> To: xen-devel@lists.xen.org Message-ID: <20170815091340.GA63936@dingwall.me.uk> References: <20170815043652.GA36547@dingwall.me.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170815043652.GA36547@dingwall.me.uk> User-Agent: Mutt/1.7.2 (2016-11-26) Subject: Re: [Xen-devel] [patch] honour maxmem from config X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c index d519c8d440..0b6d81e53a 100644 --- a/tools/libxl/libxl_dom.c +++ b/tools/libxl/libxl_dom.c @@ -416,7 +416,7 @@ int libxl__build_pre(libxl__gc *gc, uint32_t domid, return ERROR_FAIL; } - if (xc_domain_setmaxmem(ctx->xch, domid, info->target_memkb + size) < 0) { + if (xc_domain_setmaxmem(ctx->xch, domid, info->max_memkb + size) < 0) { LOGE(ERROR, "Couldn't set max memory"); return ERROR_FAIL; }