From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOgQz-0003ut-Gt for guix-patches@gnu.org; Tue, 12 Dec 2017 04:01:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOgQw-0001Db-FK for guix-patches@gnu.org; Tue, 12 Dec 2017 04:01:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48984) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOgQw-0001DD-AX for guix-patches@gnu.org; Tue, 12 Dec 2017 04:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eOgQw-0006P8-21 for guix-patches@gnu.org; Tue, 12 Dec 2017 04:01:02 -0500 Subject: [bug#29409] [PATCH 1/4] build: vm: Use netdev qemu parameter. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) 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> <87lgi99nfm.fsf@gmail.com> Date: Tue, 12 Dec 2017 10:00:16 +0100 In-Reply-To: <87lgi99nfm.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 11 Dec 2017 18:36:29 +0100") Message-ID: <87a7yotj6n.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Mathieu Othacehe Cc: 29409@debbugs.gnu.org Hi Mathieu, Mathieu Othacehe skribis: >> IIUC the =E2=80=9Cuser=E2=80=9D part means that it does more than just u= pdate 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 =E2=80=9Cuser=E2=80=9D? > > Well it seems that you're right, "-net nic" is not functionnaly > equivalent to "-net user" (=3D=3D=3D "-netdev user"). > > However, "-net nic" does not seem to be supported with -M virt on > qemu-system-arm : > > qemu-system-arm -M virt -net nic > Warning: requested NIC (anonymous, model unspecified) was not created > (not supported by this machine?) > > > trying to get a list of available devices (as explained in man page), > gives : > > qemu-system-arm -M virt -net nic,model=3Dhelp > Warning: requested NIC (anonymous, model help) was not created (not > supported by this machine?) > > 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 ? It=E2=80=99s not a problem per se, but it provides additional functionality (QEMU=E2=80=99s built-in DHCP server and all that.) It=E2=80=99s weird bec= ause it=E2=80=99s not supposed to turn on emulation of a NIC, IIUC. Maybe add it to the ARM-specific list of flags? Ludo=E2=80=99.