All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Asking about USB for QEMU
@ 2017-02-09  8:25 Wojciech Zebrowski
  2017-02-10 14:13 ` Frederic Konrad
  0 siblings, 1 reply; 2+ messages in thread
From: Wojciech Zebrowski @ 2017-02-09  8:25 UTC (permalink / raw)
  To: qemu-devel

Hi

I try connect my host linux centos USB to Qemu for Xilinx Zynq solution.
I do following step :
1.Check usb vendor id , product id: lsusb




*Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002
Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 003 Device 001:
ID 1d6b:0002 Linux Foundation 2.0 root hubBus 004 Device 001: ID 1d6b:0003
Linux Foundation 3.0 root hub*

2. I start Qemu with switch :

*-usbdevice host:<VendorID>:<ProductID>*

*-usbdevice host:1d6b:0002*

 3. On Centos Host computer where Xilinx Qemu is started , i've error as :

*No 'PCI' bus found for device 'usb-ehci'*

What is incorrect with my command or system configuration ?

4. I check my motherboard bridge as following:

*qemu-system-x86_64 -device help |& grep usb.*hci*

*name "ich9-usb-ehci1", bus PCI name *

*"ich9-usb-ehci2", bus PCI name *

*"ich9-usb-uhci1", bus PCI name *

*"ich9-usb-uhci2", bus PCI name *

*"ich9-usb-uhci3", bus PCI name *

*"ich9-usb-uhci4", bus PCI name *

*"ich9-usb-uhci5", bus PCI name *

*"ich9-usb-uhci6", bus PCI name *

*"nec-usb-xhci", bus PCI name *

*"piix3-usb-uhci", bus PCI name *

*"piix4-usb-uhci", bus PCI name *

*"usb-ehci", bus PCI name *

*"vt82c686b-usb-uhci", bus PCI*


*Any advice for check ?*


Best regards :

Wojciech Zebrowski

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Asking about USB for QEMU
  2017-02-09  8:25 [Qemu-devel] Asking about USB for QEMU Wojciech Zebrowski
@ 2017-02-10 14:13 ` Frederic Konrad
  0 siblings, 0 replies; 2+ messages in thread
From: Frederic Konrad @ 2017-02-10 14:13 UTC (permalink / raw)
  To: Wojciech Zebrowski; +Cc: qemu-devel

Hi,

If I understand right:
You want to run a zynq qemu on a centos host?

On 02/09/2017 09:25 AM, Wojciech Zebrowski wrote:
> Hi
> 
> I try connect my host linux centos USB to Qemu for Xilinx Zynq solution.
> I do following step :
> 1.Check usb vendor id , product id: lsusb
> 
> 
> 
> 
> *Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002
> Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 003 Device 001:
> ID 1d6b:0002 Linux Foundation 2.0 root hubBus 004 Device 001: ID 1d6b:0003
> Linux Foundation 3.0 root hub*
> 
> 2. I start Qemu with switch :
> 
> *-usbdevice host:<VendorID>:<ProductID>*
> 
> *-usbdevice host:1d6b:0002*
> 
>  3. On Centos Host computer where Xilinx Qemu is started , i've error as :
> 
> *No 'PCI' bus found for device 'usb-ehci'*

It is highly probable that the --usbdevice command try to create a
usb-ehci device and it doesn't find any PCI bus on the machine you
choose.

> 
> What is incorrect with my command or system configuration ?
> 
> 4. I check my motherboard bridge as following:
> 
> *qemu-system-x86_64 -device help |& grep usb.*hci*

Then here I don't get it. Why are you using qemu-system-x86_64?
It will be approximately the same for qemu-system-arm though.
Only there is probably no PCI bus where to connect them.

Can you give the complete command you are using?

Fred

> 
> *name "ich9-usb-ehci1", bus PCI name *
> 
> *"ich9-usb-ehci2", bus PCI name *
> 
> *"ich9-usb-uhci1", bus PCI name *
> 
> *"ich9-usb-uhci2", bus PCI name *
> 
> *"ich9-usb-uhci3", bus PCI name *
> 
> *"ich9-usb-uhci4", bus PCI name *
> 
> *"ich9-usb-uhci5", bus PCI name *
> 
> *"ich9-usb-uhci6", bus PCI name *
> 
> *"nec-usb-xhci", bus PCI name *
> 
> *"piix3-usb-uhci", bus PCI name *
> 
> *"piix4-usb-uhci", bus PCI name *
> 
> *"usb-ehci", bus PCI name *
> 
> *"vt82c686b-usb-uhci", bus PCI*
> 
> 
> *Any advice for check ?*
> 
> 
> Best regards :
> 
> Wojciech Zebrowski
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-10 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09  8:25 [Qemu-devel] Asking about USB for QEMU Wojciech Zebrowski
2017-02-10 14:13 ` Frederic Konrad

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.