Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NY25u-0006rT-8N for qemu-devel@nongnu.org; Thu, 21 Jan 2010 13:49:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NY25o-0006lY-Rz for qemu-devel@nongnu.org; Thu, 21 Jan 2010 13:49:25 -0500 Received: from [199.232.76.173] (port=59174 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NY25o-0006ka-2f for qemu-devel@nongnu.org; Thu, 21 Jan 2010 13:49:20 -0500 Received: from e32.co.us.ibm.com ([32.97.110.150]:50177) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NY25m-0000uC-V2 for qemu-devel@nongnu.org; Thu, 21 Jan 2010 13:49:19 -0500 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by e32.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id o0LIhDmZ030147 for ; Thu, 21 Jan 2010 11:43:13 -0700 Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o0LImwTI051354 for ; Thu, 21 Jan 2010 11:49:09 -0700 Received: from d03av05.boulder.ibm.com (loopback [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o0LImvQ7028715 for ; Thu, 21 Jan 2010 11:48:57 -0700 From: Anthony Liguori Date: Thu, 21 Jan 2010 12:48:49 -0600 Message-Id: <1264099733-29666-1-git-send-email-aliguori@us.ibm.com> Subject: [Qemu-devel] [PATCH 0/4] Introduce global config and default devices List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: John Cooper , Gerd Hoffman This series introduces global config files stored in /etc/qemu. There is both a common config (qemu.conf) and a per-target config (target-.conf). To demonstrate what can be done with global config, I've also made some enhancements to the default device code that allows many of the builtin qemu defaults to be overridden. For instance, the following config file would always disable the monitor on stdio and use virtio-net with tun/tap instead of slirp. /etc/qemu/qemu.conf: [default] monitor = "stdio" [net] type = "nic" default = "on" model = "virtio" [net] type = "tap" default = "on"