Bug 1618622
Summary: | Detaching ('virsh detach-device-alias') shmem returns failure while actually succeeds in dumpxml of VM | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | jiyan <jiyan> | |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> | |
Status: | CLOSED ERRATA | QA Contact: | Luyao Huang <lhuang> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 7.6 | CC: | dyuan, fjin, hhan, jinqi, jiyan, lmen, meili, pkrempa, tburke, xuzhang, yalzhang | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-4.5.0-7.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1618680 (view as bug list) | Environment: | ||
Last Closed: | 2018-10-30 09:58:28 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: | 1618680 |
Description
jiyan
2018-08-17 05:57:23 UTC
Fixed upstream: commit 69c20e1090059d8b359fdd435e8ba50db7269be1 Author: Peter Krempa <pkrempa> Date: Fri Aug 17 09:11:34 2018 +0200 qemu: hotplug: Fix asynchronous unplug of 'shmem' commit 5c81c342a7 forgot to skip the detaching of the shmem backend when async unplug is requested which meant that we've tried to unplug the backend prior to delivery of the DEVICE_DELETED event. Verify this bug with libvirt-4.5.0-7.el7.x86_64: 1. prepare a running vm: # virsh list --all Id Name State ---------------------------------------------------- 31 vm1 running 2. attach shmem device: # virsh attach-device vm1 shmem.xml Device attached successfully 3. detach it use detach-device-alias: # virsh detach-device-alias vm1 ua-123 Device detach request sent successfully 4. recheck xml and cannot find device # virsh dumpxml vm1 |grep ua-123 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:3113 |