* [Qemu-devel] linux-test image for user-net?
@ 2005-11-15 20:36 Stealth Dave
2005-11-15 20:42 ` Paul Brook
0 siblings, 1 reply; 5+ messages in thread
From: Stealth Dave @ 2005-11-15 20:36 UTC (permalink / raw)
To: QEMU
Is it possible to build a linux-test image that enables network access
via user-net instead of tun/tap? I'm trying to build a special-purpose
and very minimal linux distro for use with QEMU, and the linux-test
image looks like a very good place to start. Is there any
documentation on how the image was built, what packages/software is
included, etc? Is enabling user-net support as simple as compiling a
new kernel with the proper modules? While I've been using Linux for
about 6 years now and consider myself a skilled user, this is my first
attempt at building any kind of linux system. Any help would be
appreciated.
Thanks,
- Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] linux-test image for user-net?
2005-11-15 20:36 [Qemu-devel] linux-test image for user-net? Stealth Dave
@ 2005-11-15 20:42 ` Paul Brook
2005-11-15 20:49 ` Jamie Lokier
0 siblings, 1 reply; 5+ messages in thread
From: Paul Brook @ 2005-11-15 20:42 UTC (permalink / raw)
To: qemu-devel
On Tuesday 15 November 2005 20:36, Stealth Dave wrote:
> Is it possible to build a linux-test image that enables network access
> via user-net instead of tun/tap?
The guest OS doesn't care whether qemu is using user-net or tun-tap.
The linux-test image downloadable from the qemu website doesn't work properly
because it only contains the ISA ne2k driver, and qemu now emulates a
PCI ne2k card.
Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] linux-test image for user-net?
2005-11-15 20:42 ` Paul Brook
@ 2005-11-15 20:49 ` Jamie Lokier
2005-11-15 20:56 ` Paul Brook
0 siblings, 1 reply; 5+ messages in thread
From: Jamie Lokier @ 2005-11-15 20:49 UTC (permalink / raw)
To: qemu-devel
Paul Brook wrote:
> On Tuesday 15 November 2005 20:36, Stealth Dave wrote:
> > Is it possible to build a linux-test image that enables network access
> > via user-net instead of tun/tap?
>
> The guest OS doesn't care whether qemu is using user-net or tun-tap.
> The linux-test image downloadable from the qemu website doesn't work
> properly because it only contains the ISA ne2k driver, and qemu now
> emulates a PCI ne2k card.
Perhaps qemu's PCI ne2k emulation could be changed to accept accesses
to the I/O addresses of the classic ISA card too - and disabling the
PCI addresses if an OS touches the ISA ones? Old OSes which only know
about ISA ne2k would work, and newer ones which enumerate it through
PCI would also work.
-- Jamie
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] linux-test image for user-net?
2005-11-15 20:49 ` Jamie Lokier
@ 2005-11-15 20:56 ` Paul Brook
0 siblings, 0 replies; 5+ messages in thread
From: Paul Brook @ 2005-11-15 20:56 UTC (permalink / raw)
To: qemu-devel
On Tuesday 15 November 2005 20:49, Jamie Lokier wrote:
> Paul Brook wrote:
> > On Tuesday 15 November 2005 20:36, Stealth Dave wrote:
> > > Is it possible to build a linux-test image that enables network access
> > > via user-net instead of tun/tap?
> >
> > The guest OS doesn't care whether qemu is using user-net or tun-tap.
> > The linux-test image downloadable from the qemu website doesn't work
> > properly because it only contains the ISA ne2k driver, and qemu now
> > emulates a PCI ne2k card.
>
> Perhaps qemu's PCI ne2k emulation could be changed to accept accesses
> to the I/O addresses of the classic ISA card too - and disabling the
> PCI addresses if an OS touches the ISA ones? Old OSes which only know
> about ISA ne2k would work, and newer ones which enumerate it through
> PCI would also work.
You can tell qemu to emulate an isa only system.
Having the same [virtual] hardware respond to both ISA and PCI is a bad idea.
It'll break horribly as soon as an OS loads both drivers.
Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] linux-test image for user-net?
@ 2005-11-15 21:58 Ben Taylor
0 siblings, 0 replies; 5+ messages in thread
From: Ben Taylor @ 2005-11-15 21:58 UTC (permalink / raw)
To: qemu-devel
Stealth Dave <dave@triplecatproductions.com>
> Is it possible to build a linux-test image that enables network access
> via user-net instead of tun/tap? I'm trying to build a special-purpose
> and very minimal linux distro for use with QEMU, and the linux-test
> image looks like a very good place to start. Is there any
> documentation on how the image was built, what packages/software is
> included, etc? Is enabling user-net support as simple as compiling a
> new kernel with the proper modules? While I've been using Linux for
> about 6 years now and consider myself a skilled user, this is my first
> attempt at building any kind of linux system. Any help would be
> appreciated.
The only difference should be in the configuration of
the networking, right? Instead of a fixed address with
tun/tap, just turn on dhcp and the qemu client will
pickup 10.0.2.15, assuming you start qemu with -user-net.
Ben
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-11-15 21:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 20:36 [Qemu-devel] linux-test image for user-net? Stealth Dave
2005-11-15 20:42 ` Paul Brook
2005-11-15 20:49 ` Jamie Lokier
2005-11-15 20:56 ` Paul Brook
-- strict thread matches above, loose matches on Subject: below --
2005-11-15 21:58 Ben Taylor
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.