qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] USB PCI host bus adapter hot plug


From: Alexey Kardashevskiy
Subject: [Qemu-devel] USB PCI host bus adapter hot plug
Date: Mon, 11 Aug 2014 14:02:52 +1000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi!

I noticed that QMP's "device_add usb-ehci,id=i2,bus=pci.0" fails on PCI
hotplug. The same for pci-ohci and this is because their initfn() do
"dc->hotpluggable   = false". So I removed those and now I can hotplug USB
hosts but none of them is able to actually work:

address@hidden:~# echo 1 >/sys/bus/pci/rescan
[   41.143062] ohci-pci 0000:00:01.0: init err (c8700000 0000)
[   41.143133] ohci-pci 0000:00:01.0: can't start
[   41.143227] ohci-pci 0000:00:01.0: startup error -75
[   41.144202] ohci-pci 0000:00:01.0: init 0000:00:01.0 fail, -75


address@hidden:~# echo 1 >/sys/bus/pci/rescan
[   43.691067] ehci-pci 0000:00:01.0: can't setup: -110
[   43.692424] ehci-pci 0000:00:01.0: init 0000:00:01.0 fail, -110


Why is that? Is QEMU just missing some bits or there is some fundamental
issue which I just do not see? Thanks!


-- 
Alexey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]