[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29409] [PATCH 1/4] build: vm: Use netdev qemu parameter.
From: |
Ludovic Courtès |
Subject: |
[bug#29409] [PATCH 1/4] build: vm: Use netdev qemu parameter. |
Date: |
Tue, 12 Dec 2017 10:00:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hi Mathieu,
Mathieu Othacehe <address@hidden> skribis:
>> 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 :
>
> 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=help
> 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’s not a problem per se, but it provides additional functionality
(QEMU’s built-in DHCP server and all that.) It’s weird because it’s not
supposed to turn on emulation of a NIC, IIUC.
Maybe add it to the ARM-specific list of flags?
Ludo’.
[bug#29409] [PATCH 2/4] build: vm: Use qemu drive device parameter., m . othacehe, 2017/12/06