From nobody Mon Feb 9 01:52:01 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1517859481841230.4685776953097; Mon, 5 Feb 2018 11:38:01 -0800 (PST) Received: from localhost ([::1]:54803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eimaN-0003XB-HR for importer@patchew.org; Mon, 05 Feb 2018 14:37:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eimS2-0004DM-Kn for qemu-devel@nongnu.org; Mon, 05 Feb 2018 14:29:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eimS1-0004sw-Uo for qemu-devel@nongnu.org; Mon, 05 Feb 2018 14:29:14 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:54129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eimS1-0004sc-O3 for qemu-devel@nongnu.org; Mon, 05 Feb 2018 14:29:13 -0500 Received: by mail-wm0-x22d.google.com with SMTP id t74so28413145wme.3 for ; Mon, 05 Feb 2018 11:29:13 -0800 (PST) Received: from 640k.lan ([82.84.122.246]) by smtp.gmail.com with ESMTPSA id g8sm20029891wra.18.2018.02.05.11.29.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 11:29:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=i8P/pvQossrmc9/83QDW5deyo4l3SuF2d5BXveP6VJc=; b=Dgk6kDcv2SRt9E9yZmYn4Yn9HkDwR/m3S5Cf3Wk2Obwxk/2JXFa+G3opPJS//6axae lwm7P6/4KKCvzpvQZIX5B7QqPy8Y0O6kbuTCMnE8TLqP6dGAGq5KA8ZhzvqObUQgSO1S DecEgWCqblt00bSQ5KNlnbnIN2txstOjmWvo9YxuDwZ9KuZiO752mIGHnprtAgzn4ZJH 22QhB6u/BmOguQBGCEoWc/hhA5vRPhNGWU9M587Nc2V5BNDz6wZND4rp2rb1QG0thK5I GVIug4V5r9bxWtg3NojuaP+Cc2TpxkRqiO4omq/BX5ywrvuIUW0P115+FuVBrIRGdQ4M coAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=i8P/pvQossrmc9/83QDW5deyo4l3SuF2d5BXveP6VJc=; b=SP/1Hao5AJ6q4FgYgZmUBe5KB1GAdqsrGkBzVgY7mJofsH75T0TLdxWi9e9DsiBVnP tpfMXr33InrbflddBsvsfQbtyYhhP8H6xPHdx15qEhoGgsFLHKzXdgbSb2kESmmgd4vd mEUeCeePhmHF+wBl8hqUCNicB8wmFK5ARj34Aj7Nmgxay76OUKt8uVRgqYjXorXSI5mR n1dwTBd4ZLq7OPDBINQtWzJLwbzYHGjY4tmDjKfUkr6JKz+HPjzjAaAd7Nr0IoCB9Y9a 6GmAVy9gUfQPO3+KKiPV6861mubTR5wqV7I1tVz0/5DEcuxuVOJ1mv2Zf3ltPzLD+sov FzKw== X-Gm-Message-State: APf1xPDeYjV6+XaAUgn1CIb3piGDxV2IaCozgeRSUsiZSSSn1ibqS5H0 4WjE2OCIJ/iRtEWcm/XNWqLN552D X-Google-Smtp-Source: AH8x227oEaiIzYQhphA7G8Lf13icJblNdsCMrenNQtrjYa3mf+IVJ39j0LiJNzBa1R8NcuHPmsTQMQ== X-Received: by 10.28.109.10 with SMTP id i10mr330308wmc.107.1517858952297; Mon, 05 Feb 2018 11:29:12 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 5 Feb 2018 20:28:20 +0100 Message-Id: <1517858941-5538-7-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1517858941-5538-1-git-send-email-pbonzini@redhat.com> References: <1517858941-5538-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22d Subject: [Qemu-devel] [PULL 06/47] qemu: improve hugepage allocation failure message X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marcelo Tosatti Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Marcelo Tosatti Improve hugepage allocation failure message, indicating what is happening to the user. Signed-off-by: Marcelo Tosatti Message-Id: <20180115201700.GA4439@amt.cnet> Signed-off-by: Paolo Bonzini --- numa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/numa.c b/numa.c index 83675a0..a9528aa 100644 --- a/numa.c +++ b/numa.c @@ -463,6 +463,7 @@ static void allocate_system_memory_nonnuma(MemoryRegion= *mr, Object *owner, if (mem_prealloc) { exit(1); } + error_report("falling back to regular RAM allocation."); =20 /* Legacy behavior: if allocation failed, fall back to * regular RAM allocation. --=20 1.8.3.1