Bug 2050702
Summary: | Libvirt can't start a guest if virtio-mem/virtio-pmem is on PCI bus != 0 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Michal Privoznik <mprivozn> |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
Status: | CLOSED ERRATA | QA Contact: | Jing Qi <jinqi> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.6 | CC: | dhildenb, jdenemar, jinqi, jsuchane, lcheng, lmen, mprivozn, pkrempa, virt-maint, xuzhang, yanghliu |
Target Milestone: | rc | Keywords: | Triaged, Upstream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-8.0.0-4.module+el8.6.0+14186+211b270d | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 2047271 | Environment: | |
Last Closed: | 2022-05-10 13:25:26 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: | 8.1.0 |
Embargoed: |
Description
Michal Privoznik
2022-02-04 13:40:21 UTC
Verified with libvirt-daemon-8.0.0-4.module+el8.6.0+14186+211b270d.x86_64 & qemu-kvm-6.2.0-5.module+el8.6.0+14025+ca131e0a.x86_64. Because the virtio-mem is not supported in rhel8.6, only the qemu cmd line can be checked - Add two controllers in the domain xml - <controller type='pci' index='9' model='pcie-switch-upstream-port'> <model name='x3130-upstream'/> <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </controller> <controller type='pci' index='10' model='pcie-switch-downstream-port'> <model name='xio3130-downstream'/> <target chassis='10' port='0x0'/> <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> </controller> Start an vm with dimm device- <memory model='dimm' access='private' discard='yes'> <target> <size unit='KiB'>524287</size> <node>0</node> </target> <address type='dimm' slot='0'/> </memory> Check the the qemu cmd line and the memory dimm device is generated after the controllers ( pci.x & x>1 )- -device x3130-upstream,id=pci.9,bus=pci.7,addr=0x0 \ -device xio3130-downstream,port=0,chassis=10,id=pci.10,bus=pci.9,addr=0x0 \ -device pcie-root-port,port=23,chassis=8,id=pci.8,bus=pcie.0,addr=0x2.0x7 \ -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.3,addr=0x0 \ -object '{"qom-type":"memory-backend-file","id":"memdimm0","mem-path":"/var/lib/libvirt/qemu/ram/3-avocado-vt-vm1/dimm0","discard-data":true,"share":false,"size":536870912}' \ -device pc-dimm,node=0,memdev=memdimm0,id=dimm0,slot=0 \ 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 (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), 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-2022:1759 |