From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 2/6] vm: Honor 'QEMU_FLAGS' and 'QEMU_NET_FLAGS'. Date: Sat, 9 Jul 2016 14:50:07 +0200 Message-ID: <20160709125011.24587-3-david@craven.ch> References: <20160709125011.24587-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLriZ-0005K3-T9 for guix-devel@gnu.org; Sat, 09 Jul 2016 08:50:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLriY-0004ZP-3u for guix-devel@gnu.org; Sat, 09 Jul 2016 08:50:46 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:49420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLriW-0004Ye-Tu for guix-devel@gnu.org; Sat, 09 Jul 2016 08:50:46 -0400 In-Reply-To: <20160709125011.24587-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 (common-qemu-options): Enable virtio gpu by default. --- gnu/system/vm.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index 676e89d..5252d02 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -468,11 +468,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 \ - -vga std \ + -net user,$QEMU_NET_FLAGS \ + -vga virtio \ -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