Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4935846ybb; Tue, 24 Mar 2020 08:01:02 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvyreowg6Bu/ovobXDghVGGVXqwuTOphM5fwcAMPt3Wmi38hkUw/8e1Lj4+snl9ve1bF88l X-Received: by 2002:aca:4a86:: with SMTP id x128mr3791659oia.29.1585062062213; Tue, 24 Mar 2020 08:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585062062; cv=none; d=google.com; s=arc-20160816; b=fda8f5HbXDgzIoiw43Dr6/AiTbRNyW39zY/mgddJ7g4fAy17qRHfbe1luwezR1rgt1 M7j0N63ZIqYtI5qR1YMMI1JJWIC4Hl/FxPVzYefwBsZhiS29V0iQcFJeGkGIB7mRWh6g siixYgBW/T86OvOUsRjcSMg0KaWd3BLYE4Vkr7nhuMaOa6PlOJzN8+oXjAxBXnmmDqWw y9360gqOUUZ0rwng87PAW/iDHnCEmnHo62hXmCWMji0MCLaa7sc1UK7B53MP1CwgyXcs GJ/G/h8r60hZRI/jFzJ9PW1Wyq6ub2NHuyEOX1pKiytVecXmQ4KmsdRI2wgYamC0f8Bf OxWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:dkim-signature; bh=P9wv897Y/RJdidrNRRZL3+DaCN00njNFYmn1bpwz2ls=; b=j11XDhP1xuHUPMc0r3umK4IjeRx5jxh8zCGWa20SHO6WfAC3vC7MIlQSXs4D69CA/+ LrYAJ9upRYukWPmL6Ooe8rvdNoqDaGQpZx3vec980YC+r7MC47dot85KhNb4SnYvQrgr m8y7zpsdZabVlnc4gpXyQq7QOZAv8d4rK2vW0RPQiBI4hNGD+Ebr1iI/Jk7V1u526S1b fTXZp/tX3fLZZF5LWFE7N7ICu05OpQz3Y55jiQB+1pXLpO6muWZIgPakGgPpPh1ZGgns MDO3XXpWkmH2TvL1l8eS2Amo0KuQiErAbNc/7/zbPHg+7qSlttCi6g/7EUAadwcUVrh/ OwpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@citrix.com header.s=securemail header.b=ePgOG452; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=citrix.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v26si8858583otq.174.2020.03.24.08.00.46; Tue, 24 Mar 2020 08:01:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@citrix.com header.s=securemail header.b=ePgOG452; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=citrix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727838AbgCXPA1 (ORCPT + 99 others); Tue, 24 Mar 2020 11:00:27 -0400 Received: from esa4.hc3370-68.iphmx.com ([216.71.155.144]:31012 "EHLO esa4.hc3370-68.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727567AbgCXPA0 (ORCPT ); Tue, 24 Mar 2020 11:00:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1585062026; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ssXAEeDvel0Jf7gmmpPeu8hMRNYSVWL/a7oAMPsVjt4=; b=ePgOG452eLS5MuC9X1m8/otaN1CdNfmiwcuslOnuvSDrQ0FgkIaUHTwm YIkx4FckauvGI+7j58Tih90J6LexM0S50zAeuXReog7ePpQSrvmWJj+0p LatItf4Q5TS77sjowZ9+5UgYM4OT+L55l2cij3zONNevHcaEKmiNcLWG5 U=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@citrix.com; spf=Pass smtp.mailfrom=roger.pau@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of roger.pau@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa4.hc3370-68.iphmx.com: domain of roger.pau@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: 229YkSUPjTs2vF4LrHxAgXY+0/Cxpb0vjzrzH+SAqyCmieLe/OXnOTr2iYuhQQYLYQGzbEhzZ2 LVaJsD+YCTD7R5RnydHpvwGjcWkpBXoBE2bYSPnPELLfD66DWK7DKj71KdmYeJEKXWxPA3FmTk lO7BeEP9kxCvTYODa9N22iDd5RWV+Is0Stno94+OksnMGfdPoqSmqX3Ie7W7tDpQQDvU0q6ixo H4UR9U5rhZ8+5qOxxNeAa1Rb7ooSq5lKz1fJ8zNdGSi+vDaldHSaGfgFhtlSX5QXFf1TG77Izk s+s= X-SBRS: 2.7 X-MesageID: 15193081 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.72,300,1580792400"; d="scan'208";a="15193081" From: Roger Pau Monne To: CC: Roger Pau Monne , Boris Ostrovsky , Juergen Gross , "Stefano Stabellini" , Subject: [PATCH 1/2] xen: expand BALLOON_MEMORY_HOTPLUG description Date: Tue, 24 Mar 2020 16:00:14 +0100 Message-ID: <20200324150015.50496-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To mention it's also useful for PVH or HVM domains that require mapping foreign memory or grants. Signed-off-by: Roger Pau Monné --- Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Cc: xen-devel@lists.xenproject.org --- drivers/xen/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index 61212fc7f0c7..57ddd6f4b729 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -19,6 +19,10 @@ config XEN_BALLOON_MEMORY_HOTPLUG It is very useful on critical systems which require long run without rebooting. + It's also very useful for translated domains (PVH or HVM) to obtain + unpopulated physical memory ranges to use in order to map foreign + memory or grants. + Memory could be hotplugged in following steps: 1) target domain: ensure that memory auto online policy is in -- 2.25.0