From: anatoly techtonik <techtonik@gmail.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Mike Lovell <mike@dev-zero.net>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-discuss] qemu-kvm: -netdev user: Parameter 'id' is missing
Date: Tue, 24 Jul 2012 22:02:08 +0300 [thread overview]
Message-ID: <CAPkN8xJkYY8MptAz=-1bhou2xnch3OUcgir7EFRjrfO9SKJ17w@mail.gmail.com> (raw)
In-Reply-To: <CAJSP0QXF8HFSRSGYAxO6uQPiQ3D51dRVTHu59N_K3LT7bzRmSQ@mail.gmail.com>
On Tue, Jul 24, 2012 at 1:23 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> On Mon, Jul 23, 2012 at 10:41 PM, anatoly techtonik <techtonik@gmail.com> wrote:
>> Forwarding per discussion in qemu-discuss.
>> Please CC.
>>
>> ---------- Forwarded message ----------
>> From: Mike Lovell <mike@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-discuss@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.
> A -netdev needs to be paired with a NIC -device. That's why the
> identifier is essential, it allows you to say -netdev
> <type>,id=netdev0 -device <type>,netdev=netdev0.
It still says "The id option can be used with the -device...", where
"can be" looks like it should be replaced by "must".
Why is it impossible for -netdev to create NIC device automatically if
not explicitly set? As a user I don't really know which net device do
I need. This would greatly simplify user experience (and lower Qemu
bounce rate).
There is also a question about user mode. It is said "the guest is not
directly accessible from the host or the external network" and also
"You can isolate the guest from the host (and broader network) using
the restrict option". ??? Guest is already not directly accessible -
why use the restrict?
--
anatoly t.
next prev parent reply other threads:[~2012-07-24 19:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAPkN8xLoZ+Ls+RWgDwp3p5zWe_TiYq9+3TbjRFEzAKZMXPYyyg@mail.gmail.com>
[not found] ` <500DACED.9080805@dev-zero.net>
2012-07-23 21:41 ` [Qemu-devel] [Qemu-discuss] qemu-kvm: -netdev user: Parameter 'id' is missing anatoly techtonik
2012-07-24 10:23 ` Stefan Hajnoczi
2012-07-24 19:02 ` anatoly techtonik [this message]
2012-07-25 15:00 ` Stefan Hajnoczi
2012-07-25 15:53 ` Stefan Hajnoczi
2012-07-26 8:21 ` anatoly techtonik
2012-07-26 9:25 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPkN8xJkYY8MptAz=-1bhou2xnch3OUcgir7EFRjrfO9SKJ17w@mail.gmail.com' \
--to=techtonik@gmail.com \
--cc=mike@dev-zero.net \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).