From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 09/10] vm: Honor 'QEMU_FLAGS' and 'QEMU_NET_FLAGS'. Date: Mon, 18 Jul 2016 18:55:51 +0200 Message-ID: <20160718165552.1480-9-david@craven.ch> References: <20160709125011.24587-1-david@craven.ch> <20160718165552.1480-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPBqG-0001lK-6t for guix-devel@gnu.org; Mon, 18 Jul 2016 12:56:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPBqE-0002tu-8a for guix-devel@gnu.org; Mon, 18 Jul 2016 12:56:27 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:42448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPBqD-0002mM-2U for guix-devel@gnu.org; Mon, 18 Jul 2016 12:56:26 -0400 In-Reply-To: <20160718165552.1480-1-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: David Craven * gnu/system/vm.scm (common-qemu-options): Add 'QEMU_FLAGS' and 'QEMU_NET_FLAGS'. --- gnu/system/vm.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index c31e3a8..9f52909 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -462,11 +462,11 @@ with '-virtfs' options for the host file systems listed in SHARED-FS." "") " -no-reboot -net nic,model=virtio \ " #$@(map virtfs-option shared-fs) " \ - -net user \ + -net user,$QEMU_NET_FLAGS \ -vga std \ -drive file=" #$image ",if=virtio,cache=writeback,werror=report,readonly \ - -m 256")) + -m 256 $QEMU_FLAGS")) (define* (system-qemu-image/shared-store-script os #:key -- 2.9.0