GNU bug report logs -
#29409
GuixSD ARM port.
Previous Next
Full log
Message #186 received at 29409 <at> debbugs.gnu.org (full text, mbox):
m.othacehe <at> gmail.com skribis:
> 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"
IIUC the “user” part means that it does more than just update to the new
syntax: it also enable user-level networking support (built-in DHCP
server, etc.). Is this correct?
If so, can we leave out “user”?
Thanks,
Ludo’.
This bug report was last modified 7 years and 107 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.