All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/qemu: enable NUMA support if numactl is selected
@ 2019-10-22 22:47 unixmania at gmail.com
  2019-10-25 18:19 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: unixmania at gmail.com @ 2019-10-22 22:47 UTC (permalink / raw)
  To: buildroot

From: Carlos Santos <unixmania@gmail.com>

This is helpful for the upcoming libvirt package.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
---
 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
-- 
2.18.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] package/qemu: enable NUMA support if numactl is selected
  2019-10-22 22:47 [Buildroot] [PATCH] package/qemu: enable NUMA support if numactl is selected unixmania at gmail.com
@ 2019-10-25 18:19 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-10-25 18:19 UTC (permalink / raw)
  To: buildroot

On Tue, 22 Oct 2019 19:47:39 -0300
unixmania at gmail.com wrote:

> From: Carlos Santos <unixmania@gmail.com>
> 
> This is helpful for the upcoming libvirt package.
> 
> Signed-off-by: Carlos Santos <unixmania@gmail.com>
> ---
>  package/qemu/qemu.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-25 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 22:47 [Buildroot] [PATCH] package/qemu: enable NUMA support if numactl is selected unixmania at gmail.com
2019-10-25 18:19 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.