all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: David Craven <david@craven.ch>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 09/10] vm: Honor 'QEMU_FLAGS' and 'QEMU_NET_FLAGS'.
Date: Tue, 19 Jul 2016 22:35:13 +0200	[thread overview]
Message-ID: <87shv5e58e.fsf@gnu.org> (raw)
In-Reply-To: <20160718165552.1480-9-david@craven.ch> (David Craven's message of "Mon, 18 Jul 2016 18:55:51 +0200")

David Craven <david@craven.ch> skribis:

> * 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"))

When is this needed?  ‘guix system vm’ returns a script that appends its
arguments, so you can do:

  $(guix system vm foo.scm) -m 1024 -net foo,bar

Ludo’.

  reply	other threads:[~2016-07-19 20:35 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-09 12:50 [PATCH 0/6] Mesa and qemu stuff David Craven
2016-07-09 12:50 ` [PATCH 1/6] system: Do not export GST_PLUGIN_PATH in /etc/profile David Craven
2016-07-09 12:50 ` [PATCH 2/6] vm: Honor 'QEMU_FLAGS' and 'QEMU_NET_FLAGS' David Craven
2016-07-09 12:50 ` [PATCH 3/6] gnu: libdrm: Update to 2.4.68 David Craven
2016-07-09 12:50 ` [PATCH 4/6] gnu: Order module imports in (gnu packages gl) alphabetically David Craven
2016-07-10 14:12   ` 宋文武
2016-07-09 12:50 ` [PATCH 5/6] gnu: mesa: Update to 12.0.0 David Craven
2016-07-10 14:18   ` 宋文武
2016-07-09 12:50 ` [PATCH 6/6] gnu: mesa-utils: Update to 8.3.0 David Craven
2016-07-18 16:55 ` [PATCH 01/10] system: Do not export GST_PLUGIN_PATH in /etc/profile David Craven
2016-07-18 16:55   ` [PATCH 02/10] gnu: libdrm: Update to 2.4.68 David Craven
2016-07-18 16:55   ` [PATCH 03/10] gnu: Order module imports in (gnu packages gl) alphabetically David Craven
2016-07-19 20:33     ` Ludovic Courtès
2016-07-18 16:55   ` [PATCH 04/10] gnu: Rename #:prefix l: to #:prefix license: David Craven
2016-07-19 20:32     ` Ludovic Courtès
2016-07-18 16:55   ` [PATCH 05/10] gnu: mesa: Update to 12.0.0 David Craven
2016-07-18 16:55   ` [PATCH 06/10] gnu: mesa: Enable wayland support David Craven
2016-07-19 20:47     ` Ludovic Courtès
2016-07-19 20:55       ` David Craven
2016-07-21 12:13         ` Ludovic Courtès
2016-07-21 12:19           ` David Craven
2016-07-21 12:29             ` Efraim Flashner
2016-07-21 12:38               ` Efraim Flashner
2016-07-21 16:02             ` Ludovic Courtès
2016-07-21 16:04               ` David Craven
2016-07-29  7:28                 ` David Craven
2016-07-29 14:57                   ` Ludovic Courtès
2016-07-29 15:26                     ` David Craven
2016-07-30 22:22                       ` Ludovic Courtès
2016-07-30 22:23                       ` Ludovic Courtès
2016-08-05 14:31                         ` David Craven
2016-08-07  3:01                           ` Leo Famulari
2016-08-22 19:36                             ` Leo Famulari
2016-07-18 16:55   ` [PATCH 07/10] gnu: mesa: Enable virtio gallium driver David Craven
2016-07-18 16:55   ` [PATCH 08/10] gnu: mesa-utils: Update to 8.3.0 David Craven
2016-07-19 20:43     ` Ludovic Courtès
2016-07-18 16:55   ` [PATCH 09/10] vm: Honor 'QEMU_FLAGS' and 'QEMU_NET_FLAGS' David Craven
2016-07-19 20:35     ` Ludovic Courtès [this message]
2016-07-19 20:38       ` David Craven
2016-07-19 20:41         ` David Craven
2016-07-21 13:00           ` David Craven
2016-07-27 13:20             ` David Craven
2016-07-18 16:55   ` [PATCH 10/10] vm: Enable virtio gpu by default David Craven
2016-07-21 10:15   ` [PATCH 01/10] system: Do not export GST_PLUGIN_PATH in /etc/profile Andy Wingo
2016-07-21 11:17     ` David Craven
2016-07-21 11:41       ` Vincent Legoll
2016-07-21 11:57         ` David Craven
2016-07-19 13:22 ` GST_PLUGIN_PATH Ludovic Courtès
2016-07-19 13:53   ` GST_PLUGIN_PATH David Craven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shv5e58e.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=david@craven.ch \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.