From patchwork Tue Oct 22 22:47:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1181699 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Rpk2t08t"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46yTDg1h9bz9sPV for ; Wed, 23 Oct 2019 09:48:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7355E8753D; Tue, 22 Oct 2019 22:47:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tps1AfnizDsY; Tue, 22 Oct 2019 22:47:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 11D6487FFB; Tue, 22 Oct 2019 22:47:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D24081BF301 for ; Tue, 22 Oct 2019 22:47:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CAC45860FE for ; Tue, 22 Oct 2019 22:47:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WaDohunZ5KUe for ; Tue, 22 Oct 2019 22:47:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E6B4286092 for ; Tue, 22 Oct 2019 22:47:55 +0000 (UTC) Received: by mail-qt1-f196.google.com with SMTP id c17so26377586qtn.8 for ; Tue, 22 Oct 2019 15:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=+7FOjpA5x9rX/qV7uDg+U0qFUc4dJOdXtHqzroXGZak=; b=Rpk2t08tfZCqXIr2+je5jb46QJR8ZC1r1ppi0oSjzezF4W1EaSbVBZMklvhA4MpTiK 0sT/yx1556bPD5ay0jJRz5IWOrf/rAkC3m/FbuEETH+kfewXeFhZ+mG+kaQqKUwFliw6 ZwVOW66TZJvme29m7fJQUvaX8N0GkRRe5F04Tw6mwMXVIwMbPNYZ1zsezn8kHlCHskwf QV2zSW/EUdrC2KCtRsETUs0CQVXxynGt8/pjZGKBnkvpLvmYeGWUypdPHoiTh0xJBzkv MGxJU0kGfNvKzofVMnDGO3YCrnv7pZpskDBwO3/Y2cRSby2IURZggXZSTyJsI9e7/AUX z6xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+7FOjpA5x9rX/qV7uDg+U0qFUc4dJOdXtHqzroXGZak=; b=OnJMiwGSCax7pzZt16ktn3h3GvJOH0W3nDQxK/7Iy5Qa454AMJnKu/TVV2fRmWWV42 Fy03EPHx2zbHVk/g09etW7oXsyBrdtTo0scc5GP1PiCyDSa83x87YN7NfovDmqIPCHlf SkHJe99ZREH8pdtoCsmDkkDIsMKMJMvECu7cxXPhvZsSGNz3g4Edz8Bui7fBwd/fKIZF E/as5WikhbJwCUywzYmU6TLrEhTE3DjhNEjgudO7Wkynk1yXmyf81eupdYfgvr1W4FeJ KBQHsVs7/LZspqeKwQIP74DG0BhwbPkffj4jA2S4OH67yrGygZuYT6W5ZAONdufLBko5 SkQQ== X-Gm-Message-State: APjAAAX9nJe+0bRiyhE6fsmZ3ol8pbRDIf4sL0/l6J+DI0QmgvLvAb5T hjhoK4YF+owtl4wwGkAGRV32N35y X-Google-Smtp-Source: APXvYqwrOSrJFmIfm1v9VQldC7rQcEAG3E29dMpr7DYEKG6mAO+NbO3atJQoWd+UzbAlIcuFs1qg7Q== X-Received: by 2002:ac8:f8d:: with SMTP id b13mr6022394qtk.129.1571784474692; Tue, 22 Oct 2019 15:47:54 -0700 (PDT) Received: from casantos.remote.csb ([177.156.131.32]) by smtp.gmail.com with ESMTPSA id z70sm6756248qkb.60.2019.10.22.15.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 15:47:53 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Tue, 22 Oct 2019 19:47:39 -0300 Message-Id: <20191022224739.4823-1-unixmania@gmail.com> X-Mailer: git-send-email 2.18.1 Subject: [Buildroot] [PATCH] package/qemu: enable NUMA support if numactl is selected X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlos Santos MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos This is helpful for the upcoming libvirt package. Signed-off-by: Carlos Santos --- package/qemu/qemu.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index cf2a570efa..77bdcda230 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -104,6 +104,13 @@ else QEMU_OPTS += --disable-nettle endif +ifeq ($(BR2_PACKAGE_NUMACTL),y) +QEMU_OPTS += --enable-numa +QEMU_DEPENDENCIES += numactl +else +QEMU_OPTS += --disable-numa +endif + # Override CPP, as it expects to be able to call it like it'd # call the compiler. define QEMU_CONFIGURE_CMDS