Stefan Hajnoczi <stefa...@gmail.com> writes: > On Mon, Mar 27, 2017 at 01:49:44PM +0100, Peter Maydell wrote: >> On 27 March 2017 at 13:01, Stefan Hajnoczi <stefa...@gmail.com> wrote: >> > It would be nice to get rid of the legacy -net option in 3.0.0. I have >> > added it and included pointers to loose ends. I think this is doable >> > but will require some time to achieve. >> >> What's the syntax for using -netdev with embedded network >> devices that you can't create with -device ? >> (We should document this at >> http://wiki.qemu-project.org/Documentation/Networking) > > I mentioned that on the wiki. This isn't an option we can drop easily. > Work is necessary to make -netdev a complete replacement or to remove > the legacy stuff from -net.
Just like -device is a general way to plug in devices, replacing multiple special ways (-net, -drive, -usb, ...), we could use a general way to configure onboard devices.