From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOS0n-0003v6-Dx for guix-patches@gnu.org; Mon, 11 Dec 2017 12:37:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOS0k-0004Yj-CF for guix-patches@gnu.org; Mon, 11 Dec 2017 12:37:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48473) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOS0k-0004Yc-8z for guix-patches@gnu.org; Mon, 11 Dec 2017 12:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eOS0k-00073p-2n for guix-patches@gnu.org; Mon, 11 Dec 2017 12:37:02 -0500 Subject: [bug#29409] [PATCH 1/4] build: vm: Use netdev qemu parameter. Resent-Message-ID: References: <1512565193-3234-1-git-send-email-m.othacehe@gmail.com> <1512565193-3234-2-git-send-email-m.othacehe@gmail.com> <87r2s1w7gr.fsf@gnu.org> From: Mathieu Othacehe In-reply-to: <87r2s1w7gr.fsf@gnu.org> Date: Mon, 11 Dec 2017 18:36:29 +0100 Message-ID: <87lgi99nfm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29409@debbugs.gnu.org Hi Ludo, > 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”? Well it seems that you're right, "-net nic" is not functionnaly equivalent to "-net user" (=== "-netdev user"). However, "-net nic" does not seem to be supported with -M virt on qemu-system-arm : --8<---------------cut here---------------start------------->8--- qemu-system-arm -M virt -net nic Warning: requested NIC (anonymous, model unspecified) was not created (not supported by this machine?) --8<---------------cut here---------------end--------------->8--- trying to get a list of available devices (as explained in man page), gives : --8<---------------cut here---------------start------------->8--- qemu-system-arm -M virt -net nic,model=help Warning: requested NIC (anonymous, model help) was not created (not supported by this machine?) --8<---------------cut here---------------end--------------->8--- So it seems that on ARM we will have to use "-netdev user", would it be a problem to use it too on intel systems ? Thanks, Mathieu