Bug 806449
| Summary: | USB 2.0 pass-through won't boot guest VM a SECOND time. | |||
|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Matt Piermarini <mattpiermarini> | |
| Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> | |
| Status: | CLOSED NEXTRELEASE | QA Contact: | ||
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | unspecified | CC: | crobinso, dallan, dyasny, xen-maint | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 808459 (view as bug list) | Environment: | ||
| Last Closed: | 2012-04-05 14:11:04 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 808459 | |||
|
Description
Matt Piermarini
2012-03-23 19:05:47 UTC
FYI, I recently pulled libvirt-git (2012-04-04) and the USB 2.0 pass-through is now working when the VM is re-started. This can now be closed. Yes, the patches have been committed upstream:
commit ea3bc548aca7b4c448b48863120ad35a7337c127
Author: Michal Privoznik <mprivozn>
AuthorDate: Mon Mar 26 16:44:19 2012 +0200
Commit: Michal Privoznik <mprivozn>
CommitDate: Wed Apr 4 15:09:41 2012 +0200
qemu: Build activeUsbHostdevs list on process reconnect
If the daemon is restarted it will lose list of active
USB devices assigned to active domains. Therefore we need
to rebuild this list on qemuProcessReconnect().
commit e2f5dd6134ebeb6846450c7d7782273d3d274859
Author: Michal Privoznik <mprivozn>
AuthorDate: Mon Mar 26 16:40:01 2012 +0200
Commit: Michal Privoznik <mprivozn>
CommitDate: Wed Apr 4 15:09:41 2012 +0200
qemu: Delete USB devices used by domain on stop
To prevent assigning one USB device to two domains,
we keep a list of assigned USB devices. On domain
startup - qemuProcessStart() - we insert devices
used by domain into the list but remove them only
on detach-device. Devices are, however, released
on qemuProcessStop() as well.
commit b2c7b9ee0e6f2203984035668c066be37f3a256a
Author: Michal Privoznik <mprivozn>
AuthorDate: Mon Mar 26 16:33:58 2012 +0200
Commit: Michal Privoznik <mprivozn>
CommitDate: Wed Apr 4 15:09:41 2012 +0200
qemu: Don't leak temporary list of USB devices
and add debug message when adding USB device
to the list of active devices.
Those patches will be part of next release. Therefore I am closing this as NEXTRELEASE.
|