From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] USB PCI host bus adapter hot plug
Date: Mon, 11 Aug 2014 14:02:52 +1000 [thread overview]
Message-ID: <53E8406C.2010304@ozlabs.ru> (raw)
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
next reply other threads:[~2014-08-11 4:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 4:02 Alexey Kardashevskiy [this message]
2014-08-11 5:59 ` [Qemu-devel] USB PCI host bus adapter hot plug 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)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53E8406C.2010304@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.