Bug 1609087
Summary: | Failed to define q35 guest with 'none' video type when pci address 0000:00:01.0 is used by other device | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | yafu <yafu> |
Component: | libvirt | Assignee: | Erik Skultety <eskultet> |
Status: | CLOSED ERRATA | QA Contact: | Lili Zhu <lizhu> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.6 | CC: | dyuan, eskultet, fjin, lmen, meili, tburke, xuzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-4.5.0-6.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 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: |
Description
yafu
2018-07-27 01:22:27 UTC
Patch posted upstream: https://www.redhat.com/archives/libvir-list/2018-July/msg02070.html Fixed upstream by: commit e9024b0cec3a66ac11784034bb62abe8ec7b46a1 Refs: v4.6.0-rc2-1-ge9024b0cec Author: Erik Skultety <eskultet> AuthorDate: Mon Jul 30 16:33:33 2018 +0200 Commit: Erik Skultety <eskultet> CommitDate: Tue Jul 31 07:42:43 2018 +0200 qemu: Exempt video model 'none' from getting a PCI address on Q35 Commit d48813e8 made sure we wouldn't get one for i440fx, but not for Q35 machine type. If the primary video didn't get the assumed 0:0:1.0 PCI address, the evaluation then failed with: "Cannot automatically add a new PCI bus for a device with connect flags 00" https://bugzilla.redhat.com/show_bug.cgi?id=1609087 Signed-off-by: Erik Skultety <eskultet> Verify this bug with libvirt-4.5.0-6.el7.x86_64 Steps are as follows: 1.Prepare a q35 guest xml with 'none' video type and pci address 0000:00:01.0 is used by other device: #cat test.xml .... <os> <type arch='x86_64' machine='pc-q35-rhel7.6.0'>hvm</type> <boot dev='hd'/> </os> .... <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x10'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </controller> .... <video> <model type='none'/> </video> 2. Define the guest xml # virsh define test.xml Domain test defined from test.xml 3. start the guest # virsh start test Domain test started Following Comment 7 4. check the "none" video device xml # virsh dumpxml test |grep "<video" -A3 <video> <model type='none'/> <alias name='video0'/> </video> As the guest with the above xml can be started successfully, and the video model 'none' not getting a PCI address, mark it as verified 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 |