Bug 1558317
Summary: | VM can not start when configuring alias for ccid controller | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | jiyan <jiyan> |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
Status: | CLOSED ERRATA | QA Contact: | Jing Qi <jinqi> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.5 | CC: | dyuan, jdenemar, jiyan, lmen, mprivozn, xuzhang, yalzhang |
Target Milestone: | rc | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-4.3.0-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 09:53:14 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: |
Description
jiyan
2018-03-20 02:42:46 UTC
Patch proposed upstream: https://www.redhat.com/archives/libvir-list/2018-March/msg01472.html I've just pushed the patch upstream: commit 42900ec62214c67ab414c55f6f7ac4da0a21d81b Author: Michal Privoznik <mprivozn> AuthorDate: Fri Mar 23 14:24:14 2018 +0100 Commit: Michal Privoznik <mprivozn> CommitDate: Fri Mar 23 15:57:06 2018 +0100 qemu: Build smartcard command line more wisely https://bugzilla.redhat.com/show_bug.cgi?id=1558317 Similarly to b133fac356324c3 we need to look up alias of CCID controller when constructing smartcard command line instead of relying on broken assumption it will always be 'ccid0'. After user aliases it can be anything. Signed-off-by: Michal Privoznik <mprivozn> Reviewed-by: Andrea Bolognani <abologna> v4.1.0-288-g42900ec622 Verified with libvirt-4.5.0-3.el7.x86_64 and passed. <controller type='ccid' index='0'> <alias name='ua-c80aba6e-b6d8-448b-ab6e-8c7b5c29f353'/> <address type='usb' bus='0' port='1'/> </controller> <smartcard mode='passthrough' type='spicevmc'> <address type='ccid' controller='0' slot='0'/> </smartcard> # virsh start avocado-vt-vm-numa0 Domain avocado-vt-vm-numa0 started 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 |