Bug 2024605
| Summary: | 6.1.0 introduces regression in q35, unable to add more than 15 pcie-root-ports | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Yedidyah Bar David <didi> |
| Component: | qemu-kvm | Assignee: | Julia Suvorova <jusual> |
| qemu-kvm sub component: | PCI | QA Contact: | Yiqian Wei <yiwei> |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | urgent | CC: | apevec, bstinson, budic, c.handel, clint, coli, ddepaula, eslutsky, imammedo, jinzhao, JONATHAN.SATTELBERGER, jusual, juzhang, jwboyer, klaas, markus.falb, mihai, nilal, qinwang, virt-maint, yiwei, ymankad |
| Version: | CentOS Stream | Keywords: | DevelBlocker, Regression, TestOnly, Triaged |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-04-18 15:32: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
Yedidyah Bar David
2021-11-18 12:57:44 UTC
See CS9 bz https://bugzilla.redhat.com/show_bug.cgi?id=2006409 @virt-maint do you want to move this to a CS8 clone of bug 2006409 ? > @virt-maint do you want to move this to a CS8 clone of bug 2006409 ? actually there is RHEL 8 bz, should this be marked as a dup of bug 2007129 ? *** Bug 2023919 has been marked as a duplicate of this bug. *** Hit similar issue on
Red Hat Enterprise Linux release 8.6 Beta (Ootpa)
4.18.0-352.el8.x86_64
qemu-kvm-6.1.0-5.module+el8.6.0+13430+8fdd5f85.x86_64
seabios-bin-1.14.0-1.module+el8.6.0+12861+13975d62.noarch
edk2-ovmf-20210527gite1999b264f1f-3.el8.noarch
virtio-win-prewhql-0.1-214.iso
scenario 1: no "-global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off \"
It can not boot utils only keep 10 pcie-root-port.
scenario 2: add "-global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off \"
It may works 20 pcie-root-port.
/usr/libexec/qemu-kvm \
-name 'avocado-vt-vm1' \
-sandbox on \
-machine q35,memory-backend=mem-machine_mem \
-global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off \
-device pcie-root-port,id=pcie-root-port-0,multifunction=on,bus=pcie.0,addr=0x1,chassis=1 \
-device pcie-pci-bridge,id=pcie-pci-bridge-0,addr=0x0,bus=pcie-root-port-0 \
-nodefaults \
-device VGA,bus=pcie.0,addr=0x2 \
-m 30720 \
-object memory-backend-ram,size=30720M,id=mem-machine_mem \
-smp 16,maxcpus=16,cores=8,threads=1,dies=1,sockets=2 \
-cpu 'EPYC-Rome',+kvm_pv_unhalt \
\
-device pcie-root-port,id=pcie-root-port-1,port=0x1,addr=0x1.0x1,bus=pcie.0,chassis=2 \
-device qemu-xhci,id=usb1,bus=pcie-root-port-1,addr=0x0 \
-device usb-ehci,id=ehci,bus=pcie.0,addr=0x3 \
-device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \
-device pcie-root-port,id=pcie-root-port-2,port=0x2,addr=0x1.0x2,bus=pcie.0,chassis=3 \
-device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pcie-root-port-2,addr=0x0 \
-blockdev node-name=file_image1,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=/home/kvm_autotest_root/images/rhel840-64-virtio-scsi.qcow2,cache.direct=on,cache.no-flush=off \
-blockdev node-name=drive_image1,driver=qcow2,read-only=off,cache.direct=on,cache.no-flush=off,file=file_image1 \
-device scsi-hd,id=image1,drive=drive_image1,bootindex=0,write-cache=on \
-device pcie-root-port,id=pcie-root-port-3,port=0x3,addr=0x1.0x3,bus=pcie.0,chassis=4 \
-device virtio-net-pci,mac=9a:05:a8:78:e4:71,id=idV2JV5O,netdev=idhO327p,bus=pcie-root-port-3,addr=0x0 \
-netdev tap,id=idhO327p,vhost=on \
-vnc :5 \
-monitor stdio \
-qmp tcp:0:5955,server=on,wait=off \
-rtc base=utc,clock=host,driftfix=slew \
-boot menu=off,order=cdn,once=c,strict=off \
-enable-kvm \
-device pcie-root-port,id=pcie_extra_root_port_0,multifunction=on,bus=pcie.0,addr=0x4,chassis=5 \
-device pcie-root-port,id=pcie_extra_root_port_1,addr=0x4.0x1,bus=pcie.0,chassis=6 \
-device pcie-root-port,id=pcie_extra_root_port_2,addr=0x4.0x2,bus=pcie.0,chassis=7 \
-device pcie-root-port,id=pcie_extra_root_port_3,addr=0x4.0x3,bus=pcie.0,chassis=8 \
-device pcie-root-port,id=pcie_extra_root_port_4,addr=0x4.0x4,bus=pcie.0,chassis=9 \
-device pcie-root-port,id=pcie_extra_root_port_5,addr=0x4.0x5,bus=pcie.0,chassis=10 \
-device pcie-root-port,id=pcie_extra_root_port_6,addr=0x4.0x6,bus=pcie.0,chassis=11 \
-device pcie-root-port,id=pcie_extra_root_port_7,addr=0x4.0x7,bus=pcie.0,chassis=12 \
-device pcie-root-port,id=pcie_extra_root_port_8,multifunction=on,bus=pcie.0,addr=0x5,chassis=13 \
-device pcie-root-port,id=pcie_extra_root_port_9,addr=0x5.0x1,bus=pcie.0,chassis=14 \
-device pcie-root-port,id=pcie_extra_root_port_10,addr=0x5.0x2,bus=pcie.0,chassis=15 \
-device pcie-root-port,id=pcie_extra_root_port_11,addr=0x5.0x3,bus=pcie.0,chassis=16 \
-device pcie-root-port,id=pcie_extra_root_port_12,addr=0x5.0x4,bus=pcie.0,chassis=17 \
-device pcie-root-port,id=pcie_extra_root_port_13,addr=0x5.0x5,bus=pcie.0,chassis=18 \
-device pcie-root-port,id=pcie_extra_root_port_14,addr=0x5.0x6,bus=pcie.0,chassis=19 \
-device pcie-root-port,id=pcie_extra_root_port_15,addr=0x5.0x7,bus=pcie.0,chassis=20 \
-device pcie-root-port,id=pcie_extra_root_port_16,multifunction=on,bus=pcie.0,addr=0x6,chassis=21 \
-device pcie-root-port,id=pcie_extra_root_port_17,addr=0x6.0x1,bus=pcie.0,chassis=22 \
-device pcie-root-port,id=pcie_extra_root_port_18,addr=0x6.0x2,bus=pcie.0,chassis=23 \
-device pcie-root-port,id=pcie_extra_root_port_19,addr=0x6.0x3,bus=pcie.0,chassis=24
If you are looking at this post, because you've already upgraded your ovirt hosts (or because you intend to): If you've already updated to the 6.1.0 version, run dnf downgrade qemu* (multiple times potentially) until you have returned to 6.0.0, which in my case came from the ovirt repo. Next vi /etc/yum.repos.d/CentOS-Stream-AppStream.repo If your file has an exclude line, space separated add qemu* like so: exclude=qemu* rsyslog*-8.2102.0-6* If your file does not have an exclude line add one to the bottom of the file: exclude=qemu* this also affects ocp-on-rhv installations, currently, we have no way to override the type, and 'Q35 Bios' is the default in our RHCOS templates. fixed upstream with commit: c318bef76206 (In reply to Igor Mammedov from comment #7) > fixed upstream with commit: > c318bef76206 VERIFIED by Red Hat Virtualization QE. The commit that fixes this is present in QEMU 6.2 and in RHEL since 8.6 with qemu-kvm-6.2.0-2.module+el8.6.0+13738+17338784 CLOSING this BZ as CURRENTRELEASE |