On 20/02/2018 18:40, Thomas Huth wrote: > "-net" is clearly a legacy option. Yet we still use it in almost all > examples in the qemu documentation, and many other spots in the network > chapter. We should make it less prominent that users are not lured into > using it so often anymore. So instead of starting the network chapter with > "-net nic" and documenting "-net <backend>" below "-netdev <backend>" > everywhere, all the "-net" related documentation is now moved to the end > of the chapter. And the examples are changed to use the "--device" and > "--netdev" options instead of "-net nic -net <backend>".
Do we want to change them to "-nic" instead? The proof is in the pudding, they say, :) and "-nic" is way easier to learn than "-device -netdev". And maybe we *should* go the extra mile and deprecate "-net" altogether. The only case where the newer syntax is a bit more uncomfortable is for "-net nic -net nic -net tap|user", which however does work with "-nic hubport -nic hubport -netdev tap|user,id=x -netdev hubport,netdev=x". For now I suggest dropping this patch. Paolo