Bug 1313272
Summary: | RFC: qemu: support redirdev hotunplug | |||
---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Pei Zhang <pzhang> | |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | jiyan <jiyan> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | unspecified | CC: | crobinso, dyuan, hhan, jiyan, jtomko, mzhan, rbalakri, xuzhang | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | LibvirtFirstBug | |||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1584571 (view as bug list) | Environment: | ||
Last Closed: | 2018-05-30 13:16:33 UTC | Type: | Bug | |
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: | 1584571 |
Description
Pei Zhang
2016-03-01 09:53:20 UTC
Fixing basically involves 2 places: src/qemu/qemu_driver.c function qemuDomainDetachDeviceLive needs to handle REDIRDEV a qemuDomainDetachRedirdevDevice function should be implemented in src/qemu/qemu_hotplug.c The pattern to follow here is RNG devices and the qemuDomainDetachRNGDevice ... the actual qemu interaction logic will basically be identical, we just need to match that pattern and swap out the redirdev bits Fixed by: commit 91a3234f3a218a581ede975164e66ce7b0347f4c Author: Chen Hanxiao <chenhanxiao> AuthorDate: 2018-01-05 10:47:47 +0800 Commit: John Ferlan <jferlan> CommitDate: 2018-01-08 11:49:26 -0500 qemu: Add support for hot unplugging redirdev device Commit id '162efa1a' added support hotplug a redirdev, but did not add the hot unplug. This patch will add that support to allow usage of the detach-device --live on the device. Reviewed-by: John Ferlan <jferlan> Signed-off-by: Chen Hanxiao <chenhanxiao> git describe: v3.10.0-138-g91a3234f3a contains: v4.0.0-rc1~50 |