Skip to contentSkip to conversation

PCI device emulation in qemu

Qemu-devel Sarah A Sharp 2 participants 2 messages Jan 29, 2008

lore
Share & tools
lore
#0 lore raw

Greetings,

I'm developing a USB host controller driver for hardware that isn't available yet. Is there a way to emulate a PCI host controller for the Linux host controller driver to talk to? I looked at the USB emulation section, but it seemed to be about emulating USB devices, not USB host controllers.

Also, is the USB emulation in qemu using libusb or usbfs when running under a Linux host OS? I noticed the FAQ mentions asynchronous USB transfers are not possible, which lead me to believe that qemu is using libusb.

Thanks,

Sarah Sharp

#1 lore raw
Quoted 8 lines · Sarah A Sharp

Greetings,

I'm developing a USB host controller driver for hardware that isn't available yet. Is there a way to emulate a PCI host controller for the Linux host controller driver to talk to? I looked at the USB emulation section, but it seemed to be about emulating USB devices, not USB host controllers.

Actually both uhci, ohci and ehci are emulated.

Quoted 5 lines

Also, is the USB emulation in qemu using libusb or usbfs when running under a Linux host OS? I noticed the FAQ mentions asynchronous USB transfers are not possible, which lead me to believe that qemu is using libusb.

Usbfs is used.

Quoted 5 lines

Thanks,

Sarah Sharp