Firewire/IEEE1394 OHCI for QEMU
Hello all,
I'm working to create an OHCI-compliant Firewire virtual device for QEMU. There is not a solid story on how to connect the guest device to the host operating systems' Firewire stack, but I might end up modifying the Linux ohci1394 kernel module to allow for a more generic passthru interface (for those familiar with krh's "nosy" sniffer, something in that direction, albeit with the OHCI no-snoop-mode limitations.)
http://github.com/pmccormick/qemu-firewire-ohci/tree/ohci1394
(it is forked from of git://repo.or.cz/qemu.git, which I periodically rebase off of)
At the moment I am still very early on in the implementation, not even DMA contexts for async/iso are functional yet. But I have been inching along getting Windows XP and Linux guests to recognize the presence of an OHCI device.
If anyone has experience with this stuff, or an interest to help, please get in touch!!
Cheers,
Peter
Quoted 4 lines · Peter McCormick
At the moment I am still very early on in the implementation, not even DMA contexts for async/iso are functional yet. But I have been inching along getting Windows XP and Linux guests to recognize the presence of an OHCI device.
Is this the same OHCI which is used for USB? If so, it is useful to share any of the code from the existing UHCI and EHCI USB emulation, and also is it useful to think about attaching to USB devices (as well as Fireware) from your OHCI emulation?
-- Jamie
In message: <[email protected]>
Jamie Lokier <[email protected]> writes:
: Peter McCormick wrote:
: > At the moment I am still very early on in the implementation, not even : > DMA contexts for async/iso are functional yet. But I have been inching : > along getting Windows XP and Linux guests to recognize the presence of : > an OHCI device.
:
: Is this the same OHCI which is used for USB? If so, it is useful to : share any of the code from the existing UHCI and EHCI USB emulation, : and also is it useful to think about attaching to USB devices (as well : as Fireware) from your OHCI emulation?
No. It is just the same name.
Warner
Quoted 9 lines · Peter McCormick
Hello all,
I'm working to create an OHCI-compliant Firewire virtual device for QEMU. There is not a solid story on how to connect the guest device to the host operating systems' Firewire stack, but I might end up modifying the Linux ohci1394 kernel module to allow for a more generic passthru interface (for those familiar with krh's "nosy" sniffer, something in that direction, albeit with the OHCI no-snoop-mode limitations.)
This is great news. :)
Regards,
Signature · 4 lines
Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge