From 0cd2fe76a427e71f2967a912c2f408a11ed6e8c5 Mon Sep 17 00:00:00 2001
From: Tsachy Shacham <tsachy@google.com>
Date: Wed, 14 Sep 2011 17:47:58 +0200
Subject: [PATCH] configure.ac: changes for CPU pinning

Also added optional affinity Python package for CPU pinning under KVM
to the INSTALL doc.

Signed-off-by: Tsachy Shacham <tsachy@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 INSTALL      | 2 ++
 configure.ac | 1 +
 2 files changed, 3 insertions(+)

diff --git a/INSTALL b/INSTALL
index cb56e8025..b9f60b2c7 100644
--- a/INSTALL
+++ b/INSTALL
@@ -39,6 +39,8 @@ Before installing, please verify that you have the following programs:
   <socat-note>` below
 - `Paramiko <http://www.lag.net/paramiko/>`_, if you want automated SSH
   setup; optional otherwise but manual setup of the nodes required
+- `affinity Python module <http://pypi.python.org/pypi/affinity/0.1.0>`_,
+  optional python package for supporting CPU pinning under KVM
 
 These programs are supplied as part of most Linux distributions, so
 usually they can be installed via the standard package manager. Also
diff --git a/configure.ac b/configure.ac
index 764a59093..b7acc8b4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -518,6 +518,7 @@ AC_PYTHON_MODULE(simplejson, t)
 AC_PYTHON_MODULE(pyparsing, t)
 AC_PYTHON_MODULE(pyinotify, t)
 AC_PYTHON_MODULE(pycurl, t)
+AC_PYTHON_MODULE(affinity, t)
 
 # This is optional but then we've limited functionality
 AC_PYTHON_MODULE(paramiko)
-- 
GitLab