From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvgGg-0000C8-Do for qemu-devel@nongnu.org; Thu, 09 Feb 2012 21:31:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvgGf-0003q8-AL for qemu-devel@nongnu.org; Thu, 09 Feb 2012 21:31:22 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:51029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvgGf-0003q4-4i for qemu-devel@nongnu.org; Thu, 09 Feb 2012 21:31:21 -0500 From: Meador Inge Date: Thu, 9 Feb 2012 20:31:16 -0600 Message-ID: <1328841077-25133-1-git-send-email-meadori@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v3 0/1] Allow the building of VirtFS to be disabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, aneesh.kumar@linux.vnet.ibm.com There have been reports [1, 2] where folks have had issues building VirtFS and the virtio backend on older systems. I personally saw problems due to the use of features (struct statfs f_frsize field, fdopendir, O_NOATIME) in this code that are not available on much older Linux systems. Given, the system I ran into this on is ancient (RH8 sysroot), but I still need to build QEMU on it nonetheless. This patch adds a new configure option for disabling the building of VirtFS all together. Tested by building with and without --disable-virtfs on older (RH8 sysroot) and newer systems (x64 Fedora 16). [1] http://lists.nongnu.org/archive/html/qemu-devel/2011-12/msg00171.html [2] http://lists.nongnu.org/archive/html/qemu-devel/2012-02/msg00404.html * Changes from v2 - Use 'test "$foo" = yes && test "$bar" = yes' instead of '"$foo" = "yes" -a "$bar" = "yes"'. * Changes from v1 - Simplify the configure logic and support the standard behavior of defaulting virtfs="". Changes suggested by Peter Maydell. Meador Inge (1): ./configure: add option for disabling VirtFS Makefile | 2 ++ configure | 25 +++++++++++++++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) -- 1.7.7.6