On Wed, Jul 25, 2012 at 4:00 PM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > On Tue, Jul 24, 2012 at 8:02 PM, anatoly techtonik <techto...@gmail.com> > wrote: >> On Tue, Jul 24, 2012 at 1:23 PM, Stefan Hajnoczi <stefa...@gmail.com> wrote: >>> On Mon, Jul 23, 2012 at 10:41 PM, anatoly techtonik <techto...@gmail.com> >>> wrote: >>>> Forwarding per discussion in qemu-discuss. >>>> Please CC. >>>> >>>> ---------- Forwarded message ---------- >>>> From: Mike Lovell <m...@dev-zero.net> >>>> Date: Mon, Jul 23, 2012 at 10:58 PM >>>> Subject: Re: [Qemu-discuss] qemu-kvm: -netdev user: Parameter 'id' is >>>> missing >>>> To: qemu-disc...@nongnu.org >>>> >>>> >>>> On 07/20/2012 04:10 PM, anatoly techtonik wrote: >>>>> >>>>> The documentation at http://wiki.qemu.org/Documentation/Networking >>>>> makes people think that 'id' parameter for -netdev user is optional, >>>>> which doesn't appear to be true: >>>>> >>>>> $ qemu-kvm -hda image.img -netdev user >>>>> qemu-kvm: -netdev user: Parameter 'id' is missing >>> >>> I have updated the wiki page. >> >> Even with -net nic considered obsolete (is the whole -net family >> obsolete?), it looks like there is no complete replacement for it. For >> example, there is no equivalent for -net nic,model=? (referenced from >> wiki). It is also strange to read proposal to "see the qemu man page >> for the various options that you can pass to -net nic". Unfortunately, >> -netdev is completely undocumented in man and there is no info that >> -net nic and -net user are obsolete there. All this stuff is >> confusing. > > You are right that this is underdocumented and confusing. Answers to > your points:
I have restructured the wiki page. Most of it focusses on -netdev/-device now. There is a separate section at the bottom on -net. Some distractions were removed and I hope it's slightly easier to get into. Next I will write the -netdev man page section. If you would like a wiki account please let me know your preferred username. Stefan