guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/9] system: vm: Remove -net user flag.


From: ng0
Subject: Re: [PATCH 1/9] system: vm: Remove -net user flag.
Date: Fri, 02 Sep 2016 11:19:44 +0000

David Craven <address@hidden> writes:

> * gnu/system/vm.scm (common-qemu-options): Remove -net user flag.
> ---
>  gnu/system/vm.scm | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
> index c31e3a8..551c3ca 100644
> --- a/gnu/system/vm.scm
> +++ b/gnu/system/vm.scm
> @@ -462,7 +462,6 @@ 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 \

Why would you remove this?
I'd rather still have it, or extend it, maybe through an addition config
for guix system vm.. like:

guix system vm --with-net --with-forward 20:2222

would create a vm with -net user and the appropriate line to forward
port 20 of vm to port 2222 of host

and "guix system vm --without-net" could create one without?

>    -vga std \
>    -drive file=" #$image
>    ",if=virtio,cache=writeback,werror=report,readonly \
> -- 
> 2.9.0
>

-- 
ng0
For non-prism friendly talk find me on http://www.psyced.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]