From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932413AbdJZPkS (ORCPT ); Thu, 26 Oct 2017 11:40:18 -0400 Received: from ipsumj.de ([109.75.177.107]:49764 "EHLO ipsumj.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932246AbdJZPkQ (ORCPT ); Thu, 26 Oct 2017 11:40:16 -0400 Subject: Re: [PATCH v2] xen: fix booting ballooned down hvm guest To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: boris.ostrovsky@oracle.com, stable@vger.kernel.org References: <20171026095056.3169-1-jgross@suse.com> From: HW42 Message-ID: <4ec47fee-d806-7f10-6e7e-93d2c7068ebc@ipsumj.de> Date: Thu, 26 Oct 2017 15:40:00 +0000 MIME-Version: 1.0 In-Reply-To: <20171026095056.3169-1-jgross@suse.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="B4LwlQh5WwXMbtQqRmDCJi9LjvKe8pf0x" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --B4LwlQh5WwXMbtQqRmDCJi9LjvKe8pf0x Content-Type: multipart/mixed; boundary="vHAAiU5MuXvbR7fdH1Fb8sUGF7Oh8hnos"; protected-headers="v1" From: HW42 To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: boris.ostrovsky@oracle.com, stable@vger.kernel.org Message-ID: <4ec47fee-d806-7f10-6e7e-93d2c7068ebc@ipsumj.de> Subject: Re: [PATCH v2] xen: fix booting ballooned down hvm guest References: <20171026095056.3169-1-jgross@suse.com> In-Reply-To: <20171026095056.3169-1-jgross@suse.com> --vHAAiU5MuXvbR7fdH1Fb8sUGF7Oh8hnos Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Juergen Gross: > Commit 96edd61dcf44362d3ef0bed1a5361e0ac7886a63 ("xen/balloon: don't > online new memory initially") introduced a regression when booting a > HVM domain with memory less than mem-max: instead of ballooning down > immediately the system would try to use the memory up to mem-max > resulting in Xen crashing the domain. >=20 > For HVM domains the current size will be reflected in Xenstore node > memory/static-max instead of memory/target. >=20 > Additionally we have to trigger the ballooning process at once. >=20 > Cc: # 4.13 > Fixes: 96edd61dcf44362d3ef0bed1a5361e0ac7886a63 ("xen/balloon: don't > online new memory initially") >=20 > Reported-by: Simon Gaiser > Suggested-by: Boris Ostrovsky > Signed-off-by: Juergen Gross Fixes the issues for me. Thanks. --vHAAiU5MuXvbR7fdH1Fb8sUGF7Oh8hnos-- --B4LwlQh5WwXMbtQqRmDCJi9LjvKe8pf0x Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEEqieyzvOmi9FGaQcT5KzJJ4pkaBYFAlnyAdYPHGh3NDJAaXBz dW1qLmRlAAoJEOSsySeKZGgWPDoP/jQ47nfXBOwOExk3en6oCiTEnppKxaFJ8L0J VeuG2s7nenzySxRmYsjnd+oQhR/8Rbrw54mv//Nv9a2gL1StDeGOVSjeXD9dBKR9 +5rYjKR0azt1xQrwm2qg+txxxR4LuZkZZ7Qh5yMFccfwkt0epFgAQxFcHXbSwCOA I6zXMQ9v5qt3+9IFKxjSIu7fbNKRn4SWO15aMe612iDvPC/2dDKhs9doFmwZvnd5 CCjxQS0xeoooUs1/v9dqJpMo0rPngS7Syqr/9bPwnXrQgd2DRs04WiJalRhqyZ3M g+5kYnraDqbe+MYw+ZIuEIIlsIGx4+1jPeC87aQ5VzclKvBKvLHduNVQcmtLQLaN ntI5izc75Y3CmLnvqSSDM08D20nA++7SX4pdJlndcs3U1YqprLMm5igyLjIly6JO HUT6CtShvZYBEWn/GkDcZ54vnkAfKO1PeQTLM6tahdnNAF3VAc56tpiix8eqBB1W hgDcyy43RX4WkDM86Fx4KeQzyIRcBpH4D+bFbdkjnWZPBalnpDbYySKvmIu49uBb UDdALL5THOF/xMEzMllzSOwfWq8FMyefUYoEEpSQb0sffXYHmo55n52mRadgHlmy 2SM6BjEXvccGI0Oi7aobTiLt3o35qZd53n4SPtR+US58wp/gGfNIuuxQp8uWX1Mu N5h9w2YG =OZsw -----END PGP SIGNATURE----- --B4LwlQh5WwXMbtQqRmDCJi9LjvKe8pf0x--