GNU bug report logs - #29409
GuixSD ARM port.

Previous Next

Package: guix-patches;

Reported by: Mathieu Othacehe <m.othacehe <at> gmail.com>

Date: Thu, 23 Nov 2017 09:46:01 UTC

Severity: normal

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Leo Famulari <leo <at> famulari.name>
To: m.othacehe <at> gmail.com
Cc: 29409 <at> debbugs.gnu.org
Subject: [bug#29409] [PATCH] build: vm: Use netdev qemu parameter.
Date: Mon, 4 Dec 2017 13:19:46 -0500
[Message part 1 (text/plain, inline)]
On Mon, Dec 04, 2017 at 05:52:04PM +0100, m.othacehe <at> gmail.com wrote:
> From: Mathieu Othacehe <m.othacehe <at> gmail.com>
> 
> * gnu/build/vm.scm (load-in-linux-vm): "-net nic" option is
> deprecated, replace it with "-netdev" and "-device" options.
> 
> See https://wiki.qemu.org/Documentation/Networking.
> ---
>  gnu/build/vm.scm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
> index 20ee127..9e868f6 100644
> --- a/gnu/build/vm.scm
> +++ b/gnu/build/vm.scm
> @@ -113,7 +113,8 @@ the #:references-graphs parameter of 'derivation'."
>    (unless (zero?
>             (apply system* qemu "-nographic" "-no-reboot"
>                    "-m" (number->string memory-size)
> -                  "-net" "nic,model=virtio"
> +                  "-device" "virtio-net-pci,netdev=mynet"
> +                  "-netdev" "user,id=mynet"

Does this work if you run multiple instances at one time? Or does the
'id' parameter need to be unique?
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.