qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] USB PCI host bus adapter hot plug
@ 2014-08-11  4:02 Alexey Kardashevskiy
  2014-08-11  5:59 ` Gonglei (Arei)
  0 siblings, 1 reply; 10+ messages in thread
From: Alexey Kardashevskiy @ 2014-08-11  4:02 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

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:

root@aiktest-le:~# 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


root@aiktest-le:~# 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

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

end of thread, other threads:[~2014-08-29  3:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11  4:02 [Qemu-devel] USB PCI host bus adapter hot plug Alexey Kardashevskiy
2014-08-11  5:59 ` Gonglei (Arei)
2014-08-12  6:05   ` Alexey Kardashevskiy
2014-08-13  4:52     ` Alexey Kardashevskiy
2014-08-13  5:00       ` Gonglei (Arei)
2014-08-13  6:02         ` Alexey Kardashevskiy
2014-08-28  8:24   ` Gerd Hoffmann
2014-08-28  8:31     ` Gonglei (Arei)
2014-08-28  8:35       ` Gerd Hoffmann
2014-08-29  3:23         ` Gonglei (Arei)

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).