* [Qemu-devel] Create Fake PCI Cards
@ 2007-05-04 0:25 Clemens Kolbitsch
2007-05-04 16:32 ` Paul Brook
2007-05-04 17:57 ` Stefan Weil
0 siblings, 2 replies; 5+ messages in thread
From: Clemens Kolbitsch @ 2007-05-04 0:25 UTC (permalink / raw)
To: qemu-devel
Hi everyone!
I've read some posts in the qemu-mailinglist archives about the idea of
a pci-proxy (allowing the client-os to access the host-os-pci devices)
and the problems related to that.
now, I want to make something similar and wonder if there is already
some source code that does all that already (because a big part of it
might exist in the proxy mentioned or even in the standard
qemu-ethernet-device):
I want to create a "fake"/virtual pci device that only exists in the vm.
so basically it boils down to adding a new (wireless) device that is not
connected to anything and that i can write data to/read data from the
device driver runnnig inside of qemu.
Any help would be greatly appreciated!
Clemens
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Create Fake PCI Cards
2007-05-04 0:25 [Qemu-devel] Create Fake PCI Cards Clemens Kolbitsch
@ 2007-05-04 16:32 ` Paul Brook
2007-05-04 22:47 ` Clemens Kolbitsch
2007-05-04 17:57 ` Stefan Weil
1 sibling, 1 reply; 5+ messages in thread
From: Paul Brook @ 2007-05-04 16:32 UTC (permalink / raw)
To: qemu-devel; +Cc: Clemens Kolbitsch
> I want to create a "fake"/virtual pci device that only exists in the vm.
> so basically it boils down to adding a new (wireless) device that is not
> connected to anything and that i can write data to/read data from the
> device driver runnnig inside of qemu.
Qemu already has many emulated PCI devices. Look at those.
Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Create Fake PCI Cards
2007-05-04 0:25 [Qemu-devel] Create Fake PCI Cards Clemens Kolbitsch
2007-05-04 16:32 ` Paul Brook
@ 2007-05-04 17:57 ` Stefan Weil
1 sibling, 0 replies; 5+ messages in thread
From: Stefan Weil @ 2007-05-04 17:57 UTC (permalink / raw)
To: qemu-devel
If you need a wireless PCI device, I can provide code for
TNETW1130 (ACX111). Get it from
http://svn.berlios.de/svnroot/repos/ar7-firmware/qemu/trunk/hw/tnetw1130.c
It works partially with an emulated Linux 2.6.20:
the PCI card is recognized, and it loads firmware.
Stefan
Clemens Kolbitsch schrieb:
> Hi everyone!
> I've read some posts in the qemu-mailinglist archives about the idea
> of a pci-proxy (allowing the client-os to access the host-os-pci
> devices) and the problems related to that.
>
> now, I want to make something similar and wonder if there is already
> some source code that does all that already (because a big part of it
> might exist in the proxy mentioned or even in the standard
> qemu-ethernet-device):
>
> I want to create a "fake"/virtual pci device that only exists in the
> vm. so basically it boils down to adding a new (wireless) device that
> is not connected to anything and that i can write data to/read data
> from the device driver runnnig inside of qemu.
>
> Any help would be greatly appreciated!
> Clemens
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Create Fake PCI Cards
2007-05-04 16:32 ` Paul Brook
@ 2007-05-04 22:47 ` Clemens Kolbitsch
0 siblings, 0 replies; 5+ messages in thread
From: Clemens Kolbitsch @ 2007-05-04 22:47 UTC (permalink / raw)
To: qemu-devel; +Cc: Paul Brook
Paul Brook wrote:
>> I want to create a "fake"/virtual pci device that only exists in the vm.
>> so basically it boils down to adding a new (wireless) device that is not
>> connected to anything and that i can write data to/read data from the
>> device driver runnnig inside of qemu.
>>
>
> Qemu already has many emulated PCI devices. Look at those.
>
> Paul
>
yeah... to be honest, i postet the message about 2 mins too early. right
afterwards i found the pci-proxy and similar things and started to
understand the code-flow
what i'm trying to do now is to make this fake wireless device. however,
i originally wanted to write an virtual driver for an atheros chipset,
but the hardware-access layer is not open-source.
so, does anyone know of a chip that is used regurarly and that has an
open-source hal?
thanks!!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Create Fake PCI Cards
[not found] <20070504203016.2791gmx1@mx033.gmx.net>
@ 2007-05-05 6:00 ` Clemens Kolbitsch
0 siblings, 0 replies; 5+ messages in thread
From: Clemens Kolbitsch @ 2007-05-05 6:00 UTC (permalink / raw)
To: qemu-devel
> If you need a wireless PCI device, I can provide code for
> TNETW1130 (ACX111). Get it from
> http://svn.berlios.de/svnroot/repos/ar7-firmware/qemu/trunk/hw/tnetw1130.c
>
> It works partially with an emulated Linux 2.6.20:
> the PCI card is recognized, and it loads firmware.
>
> Stefan
>
hi!
did you ever get it to work in qemu? by now, i've tried about a dozen
drivers both in win xp and linux (kubuntu with ndiswrapper), but no success.
win xp first only saw an unknown ethernet card. then i forced it to use
dlink dwl-520(+), texas instruments/us robotics drivers but only get a
problem when installing "hardware could not be started"
linux's lspci says that it is a texas instruments ACX111 - so that is
good. but without a working winxp driver, i don't think i'll ever get
ndiswrapper working (by the way... yes, i need ndiswrapper and not an
linux-original driver.. but since i have to get it to work in winxp as
well, the linux-part should not be a problem afterwards :-) )
did you ever get further??
thanks!!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-05-05 6:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-04 0:25 [Qemu-devel] Create Fake PCI Cards Clemens Kolbitsch
2007-05-04 16:32 ` Paul Brook
2007-05-04 22:47 ` Clemens Kolbitsch
2007-05-04 17:57 ` Stefan Weil
[not found] <20070504203016.2791gmx1@mx033.gmx.net>
2007-05-05 6:00 ` Clemens Kolbitsch
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).