From: Mark Glines <mark@glines.org>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] emulated lance device crashes in debian-sparc32
Date: Sun, 20 May 2007 02:11:23 -0700 [thread overview]
Message-ID: <20070520021123.7b01da02@chirp> (raw)
In-Reply-To: <f43fc5580705200010s261231cdu2d7f67c6021a6107@mail.gmail.com>
On Sun, 20 May 2007 10:10:20 +0300
"Blue Swirl" <blauwirbel@gmail.com> wrote:
> > I've verified your patch fixes the crash for me. But I'm curious,
> > have I been running qemu in a nonstandard fashion, then? (Should I
> > be specifying more than just "-net user", normally?)
> >
> > If so, I can make up a patch to amend the documentation.
>
> I think Qemu should reject -net user only. Currently that seems to
> mean that there is no nic, but still the vlan is connected to slirp
> stack. That does not make any sense.
In my past experience, -net user implies -net nic. Your patch brings
sparc in line with the way x86 behaves - -net user implies -net nic
and the guest machine ends up with a network card, of whatever model is
default for that platform.
Hmm. -net performs 2 separate functions. First, it sets up the
network card in the guest machine (nic, model, and macaddr). Second, it
specifies how that card behaves on the host side of things (vlan, user,
tap, or socket).
If the host behavior implies a default card in the guest, then this
should occur for "-net tap" and "-net socket" as well as "-net user".
This has been my experience of what happens currently. (And my sparc
bug report was the result of qemu violating my expectation that this is
how things should work.) Are you saying it shouldn't be, and that "-net
nic" should be required before host-behavior parameters are valid? If
so, I think the host-behavior parameters (all of them, not just -net
user) should result in an error message, in the absense of a guest card
parameter.
Mark
next prev parent reply other threads:[~2007-05-20 9:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-19 14:16 [Qemu-devel] emulated lance device crashes in debian-sparc32 Mark Glines
2007-05-19 17:03 ` Blue Swirl
2007-05-19 19:08 ` Blue Swirl
2007-05-19 22:08 ` Mark Glines
2007-05-20 7:10 ` Blue Swirl
2007-05-20 9:11 ` Mark Glines [this message]
2007-05-20 10:25 ` Paul Brook
2007-05-20 13:15 ` Mark Glines
2007-05-20 13:51 ` Paul Brook
2007-05-20 15:45 ` Blue Swirl
2007-05-20 19:45 ` Blue Swirl
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=20070520021123.7b01da02@chirp \
--to=mark@glines.org \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
/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).