Bug 2001525

Summary: [WRB][virtual network][qemu-6.1.50-1]Can not boot up guest with 14 devices via pcie-root-port
Product: Red Hat Enterprise Linux 8 Reporter: Lei Yang <leiyang>
Component: qemu-kvmAssignee: Julia Suvorova <jusual>
qemu-kvm sub component: Devices QA Contact: Lei Yang <leiyang>
Status: CLOSED ERRATA Docs Contact: Jiri Herrmann <jherrman>
Severity: high    
Priority: high CC: ailan, chayang, demeng, igor.raits, jherrman, jinzhao, jmaloy, jusual, juzhang, lmanasko, mhou, mrezanin, virt-maint, yanghliu, yfu
Version: 8.5Keywords: Regression, Triaged
Target Milestone: rc   
Target Release: 8.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-6.2.0-1.module+el8.6.0+13725+61ae1949 Doc Type: If docs needed, set a value
Doc Text:
Cause: Consequence: Fix: Result:
Story Points: ---
Clone Of:
: 2001630 (view as bug list) Environment:
Last Closed: 2022-05-10 13:20:33 UTC Type: ---
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: 2027716    
Bug Blocks: 2001630    

Description Lei Yang 2021-09-06 09:59:17 UTC
Description of problem:
Can not boot up guest with 14 devices via pcie-root-port

Version-Release number of selected component (if applicable):
kernel-4.18.0-339.el8.x86_64
qemu-kvm-6.1.50-1.scrmod+el8.5.0+12463+2558e0c7.wrb210901.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Boot up guest more than 14 devices via pcie-root-port
/usr/libexec/qemu-kvm \
-name 'avocado-vt-vm1' \
-sandbox on  \
-machine q35,memory-backend=mem-machine_mem \
-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 32,maxcpus=32,cores=16,threads=1,dies=1,sockets=2 \
-cpu 'Cascadelake-Server-noTSX',hv_stimer,hv_synic,hv_vpindex,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_frequencies,hv_runtime,hv_tlbflush,hv_reenlightenment,hv_stimer_direct,hv_ipi,+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-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/win11-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,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:09:d9:be:71:09,id=idX5ukA9,netdev=idLRVXfV,bus=pcie-root-port-3,addr=0x0 \
-netdev tap,id=idLRVXfV,vhost=on \
-device pcie-root-port,id=pcie-root-port-4,port=0x4,addr=0x1.0x4,bus=pcie.0,chassis=5 \
-device virtio-net-pci,mac=9a:09:d9:be:71:0a,id=idHL2fJ2,netdev=idIb6Joc,bus=pcie-root-port-4,addr=0x0 \
-netdev tap,id=idIb6Joc,vhost=on \
-device pcie-root-port,id=pcie-root-port-5,port=0x5,addr=0x1.0x5,bus=pcie.0,chassis=6 \
-device virtio-net-pci,mac=9a:09:d9:be:71:0b,id=idqak2AK,netdev=idqd2tYr,bus=pcie-root-port-5,addr=0x0 \
-netdev tap,id=idqd2tYr,vhost=on \
-device pcie-root-port,id=pcie-root-port-6,port=0x6,addr=0x1.0x6,bus=pcie.0,chassis=7 \
-device virtio-net-pci,mac=9a:09:d9:be:71:0c,id=idCDNK8g,netdev=idoNvJao,bus=pcie-root-port-6,addr=0x0 \
-netdev tap,id=idoNvJao,vhost=on \
-device pcie-root-port,id=pcie-root-port-7,port=0x7,addr=0x1.0x7,bus=pcie.0,chassis=8 \
-device virtio-net-pci,mac=9a:09:d9:be:71:0d,id=idDN1gAy,netdev=id206OSy,bus=pcie-root-port-7,addr=0x0 \
-netdev tap,id=id206OSy,vhost=on \
-blockdev node-name=file_cd1,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=/home/kvm_autotest_root/iso/windows/winutils.iso,cache.direct=on,cache.no-flush=off \
-blockdev node-name=drive_cd1,driver=raw,read-only=on,cache.direct=on,cache.no-flush=off,file=file_cd1 \
-device scsi-cd,id=cd1,drive=drive_cd1,write-cache=on  \
-vnc :0 \
-rtc base=localtime,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=0x6,chassis=31 \
-monitor stdio \
-device pcie-root-port,id=pcie-root-port-8,port=0x8,multifunction=on,bus=pcie.0,addr=0x3,chassis=9 \
-device virtio-net-pci,mac=9a:09:d9:be:71:0e,id=idqZDd9s,netdev=idBSxZ9u,bus=pcie-root-port-8,addr=0x0 \
-netdev tap,id=idBSxZ9u,vhost=on \
-device pcie-root-port,id=pcie-root-port-9,port=0x9,addr=0x3.0x1,bus=pcie.0,chassis=10 \
-device virtio-net-pci,mac=9a:09:d9:be:71:0f,id=idwpXxWF,netdev=idgIpGx3,bus=pcie-root-port-9,addr=0x0 \
-netdev tap,id=idgIpGx3,vhost=on \
-device pcie-root-port,id=pcie-root-port-10,port=0xa,addr=0x3.0x2,bus=pcie.0,chassis=11 \
-device virtio-net-pci,mac=9a:09:d9:be:71:10,id=idUvDXGY,netdev=idnRqnJ0,bus=pcie-root-port-10,addr=0x0 \
-netdev tap,id=idnRqnJ0,vhost=on \
-device pcie-root-port,id=pcie-root-port-11,port=0xb,addr=0x3.0x3,bus=pcie.0,chassis=12 \
-device virtio-net-pci,mac=9a:09:d9:be:71:11,id=idK6ogGW,netdev=idDKeNAd,bus=pcie-root-port-11,addr=0x0 \
-netdev tap,id=idDKeNAd,vhost=on \
-device pcie-root-port,id=pcie-root-port-12,port=0xc,addr=0x3.0x4,bus=pcie.0,chassis=13 \
-device virtio-net-pci,mac=9a:09:d9:be:71:12,id=idAP6hhF,netdev=idZJ7fsT,bus=pcie-root-port-12,addr=0x0 \
-netdev tap,id=idZJ7fsT,vhost=on \
-device pcie-root-port,id=pcie-root-port-13,port=0xd,addr=0x3.0x5,bus=pcie.0,chassis=14 \
-device virtio-net-pci,mac=9a:09:d9:be:71:13,id=idSlrmQM,netdev=idV5PMDz,bus=pcie-root-port-13,addr=0x0 \
-netdev tap,id=idV5PMDz,vhost=on \

2.Guest can not boot up, VNC show info: Guest has not initialized the display (yet)

Actual results:
Guest can not boot up, VNC show info: Guest has not initialized the display (yet)

Expected results:
Guest works well

Additional info:
1. qemu-kvm-6.0.0-29.module+el8.5.0+12386+43574bac.x86_64 test pass, so add keywords "Regression"
2. RHEL.8.5.0 guest hit same issue.

Comment 2 Lei Yang 2021-09-06 11:15:32 UTC
This issue is not reproduced on rhel9-beta

Test Version:
qemu-kvm-6.0.0-13.el9_b.1.x86_64
kernel-5.14.0-1.el9.x86_64

Comment 3 Yanan Fu 2021-09-06 12:29:29 UTC
(In reply to Lei Yang from comment #2)
> This issue is not reproduced on rhel9-beta
> 
> Test Version:
> qemu-kvm-6.0.0-13.el9_b.1.x86_64
> kernel-5.14.0-1.el9.x86_64

Hi Lei,

I see you report this bz with QEMU 6.1, so the test with qemu-kvm-6.0 on rhel9-beta is not meaningful i think.
The meaningful way is to use the weeklyrebase build for RHEL9:
http://batcave.lab.eng.brq.redhat.com/repos/test/RHEL-9/WRB/latest/

(By the way, the weeklyrebase build for this week have not come out)

Comment 4 Lei Yang 2021-09-06 15:21:15 UTC
(In reply to Yanan Fu from comment #3)
> (In reply to Lei Yang from comment #2)
> > This issue is not reproduced on rhel9-beta
> > 
> > Test Version:
> > qemu-kvm-6.0.0-13.el9_b.1.x86_64
> > kernel-5.14.0-1.el9.x86_64
> 
> Hi Lei,
> 
> I see you report this bz with QEMU 6.1, so the test with qemu-kvm-6.0 on
> rhel9-beta is not meaningful i think.
> The meaningful way is to use the weeklyrebase build for RHEL9:
> http://batcave.lab.eng.brq.redhat.com/repos/test/RHEL-9/WRB/latest/
> 
> (By the way, the weeklyrebase build for this week have not come out)

Hi Yanan

Thanks for your update. I tried use qemu package "qemu-kvm-6.1.0-1.el9.x86_64" reproduced this bug, so clone it to rhel9. When the latest weekly packages comes out, I will test again.

Thanks
Lei

Comment 5 John Ferlan 2021-09-09 13:05:00 UTC
Bulk update: Move RHEL-AV bugs to RHEL8 with existing RHEL9 clone.

Comment 6 John Ferlan 2021-09-15 18:07:43 UTC
Assigned to Amnon for initial triage per bz process and age of bug created or assigned to virt-maint without triage.

Comment 17 John Ferlan 2021-12-22 18:01:48 UTC
Mass update of DTM/ITM to +3 values since the rebase of qemu-6.2 into RHEL 8.6 has been delayed or slowed due to process roadblocks (authentication changes, gating issues). This avoids the DevMissed bot and worse the bot that could come along and strip release+. The +3 was chosen mainly to give a cushion. 

Also added the qemu-6.2 rebase bug 2027716 as a dependent.

Comment 21 Yanan Fu 2021-12-24 02:48:26 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 22 Lei Yang 2021-12-27 05:52:20 UTC
==Reproduced this bug with qemu-kvm-6.1.50-1.scrmod+el8.5.0+12463+2558e0c7.wrb210901.x86_64

==Test Steps
1.Boot a guest
/usr/libexec/qemu-kvm \
-name 'avocado-vt-vm1'  \
-sandbox on  \
-machine q35,memory-backend=mem-machine_mem \
-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 47104 \
-object memory-backend-ram,size=47104M,id=mem-machine_mem  \
-smp 16,maxcpus=16,cores=8,threads=1,dies=1,sockets=2  \
-cpu 'EPYC-IBPB',x2apic=on,tsc-deadline=on,hypervisor=on,tsc-adjust=on,arch-capabilities=on,xsaves=on,cmp-legacy=on,perfctr-core=on,clzero=on,xsaveerptr=on,virt-ssbd=on,npt=on,nrip-save=on,svme-addr-chk=on,rdctl-no=on,skip-l1dfl-vmentry=on,mds-no=on,pschange-mc-no=on,monitor=off,hv_stimer,hv_synic,hv_vpindex,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_frequencies,hv_runtime,hv_tlbflush,hv_reenlightenment,hv_stimer_direct,hv_ipi,kvm_pv_unhalt=on \
-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-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/win2019-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,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:35:7b:ac:a9:3a,id=idRHXksf,netdev=id70YgmO,bus=pcie-root-port-3,addr=0x0  \
-netdev tap,id=id70YgmO,vhost=on \
-device pcie-root-port,id=pcie-root-port-4,port=0x4,addr=0x1.0x4,bus=pcie.0,chassis=5 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:3b,id=idtfrusf,netdev=idxrsL9P,bus=pcie-root-port-4,addr=0x0  \
-netdev tap,id=idxrsL9P,vhost=on \
-device pcie-root-port,id=pcie-root-port-5,port=0x5,addr=0x1.0x5,bus=pcie.0,chassis=6 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:3c,id=idF5PJtC,netdev=idcePw2Z,bus=pcie-root-port-5,addr=0x0  \
-netdev tap,id=idcePw2Z,vhost=on \
-device pcie-root-port,id=pcie-root-port-6,port=0x6,addr=0x1.0x6,bus=pcie.0,chassis=7 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:3d,id=idPh2XhI,netdev=idqOBVIK,bus=pcie-root-port-6,addr=0x0  \
-netdev tap,id=idqOBVIK,vhost=on \
-device pcie-root-port,id=pcie-root-port-7,port=0x7,addr=0x1.0x7,bus=pcie.0,chassis=8 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:3e,id=idoyUfSs,netdev=idKDvVJ6,bus=pcie-root-port-7,addr=0x0  \
-netdev tap,id=idKDvVJ6,vhost=on \
-device pcie-root-port,id=pcie-root-port-8,port=0x8,multifunction=on,bus=pcie.0,addr=0x3,chassis=9 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:3f,id=ids8NVPb,netdev=idXdD7Su,bus=pcie-root-port-8,addr=0x0  \
-netdev tap,id=idXdD7Su,vhost=on \
-device pcie-root-port,id=pcie-root-port-9,port=0x9,addr=0x3.0x1,bus=pcie.0,chassis=10 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:40,id=idZVSbca,netdev=idazx1v9,bus=pcie-root-port-9,addr=0x0  \
-netdev tap,id=idazx1v9,vhost=on \
-device pcie-root-port,id=pcie-root-port-10,port=0xa,addr=0x3.0x2,bus=pcie.0,chassis=11 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:41,id=idnL8aSk,netdev=idS7mhM5,bus=pcie-root-port-10,addr=0x0  \
-netdev tap,id=idS7mhM5,vhost=on \
-device pcie-root-port,id=pcie-root-port-11,port=0xb,addr=0x3.0x3,bus=pcie.0,chassis=12 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:42,id=ida8a1uf,netdev=id8UPOMM,bus=pcie-root-port-11,addr=0x0  \
-netdev tap,id=id8UPOMM,vhost=on \
-device pcie-root-port,id=pcie-root-port-12,port=0xc,addr=0x3.0x4,bus=pcie.0,chassis=13 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:43,id=idFkGyzU,netdev=id30ydql,bus=pcie-root-port-12,addr=0x0  \
-netdev tap,id=id30ydql,vhost=on \
-device pcie-root-port,id=pcie-root-port-13,port=0xd,addr=0x3.0x5,bus=pcie.0,chassis=14 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:44,id=idWcFaRT,netdev=idr8slN1,bus=pcie-root-port-13,addr=0x0  \
-netdev tap,id=idr8slN1,vhost=on \
-device pcie-root-port,id=pcie-root-port-14,port=0xe,addr=0x3.0x6,bus=pcie.0,chassis=15 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:45,id=idaD9hOa,netdev=idV4vzc7,bus=pcie-root-port-14,addr=0x0  \
-netdev tap,id=idV4vzc7,vhost=on \
-device pcie-root-port,id=pcie-root-port-15,port=0xf,addr=0x3.0x7,bus=pcie.0,chassis=16 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:46,id=idZvUcob,netdev=idsBi2KZ,bus=pcie-root-port-15,addr=0x0  \
-netdev tap,id=idsBi2KZ,vhost=on \
-device pcie-root-port,id=pcie-root-port-16,port=0x10,multifunction=on,bus=pcie.0,addr=0x4,chassis=17 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:47,id=idW4qMSJ,netdev=idbe7aO2,bus=pcie-root-port-16,addr=0x0  \
-netdev tap,id=idbe7aO2,vhost=on \
-device pcie-root-port,id=pcie-root-port-17,port=0x11,addr=0x4.0x1,bus=pcie.0,chassis=18 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:48,id=idB2haS1,netdev=id1oedae,bus=pcie-root-port-17,addr=0x0  \
-netdev tap,id=id1oedae,vhost=on \
-device pcie-root-port,id=pcie-root-port-18,port=0x12,addr=0x4.0x2,bus=pcie.0,chassis=19 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:49,id=id49DG1b,netdev=idc4QV4w,bus=pcie-root-port-18,addr=0x0  \
-netdev tap,id=idc4QV4w,vhost=on \
-device pcie-root-port,id=pcie-root-port-19,port=0x13,addr=0x4.0x3,bus=pcie.0,chassis=20 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:4a,id=id1HnGp6,netdev=idC3IheO,bus=pcie-root-port-19,addr=0x0  \
-netdev tap,id=idC3IheO,vhost=on \
-device pcie-root-port,id=pcie-root-port-20,port=0x14,addr=0x4.0x4,bus=pcie.0,chassis=21 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:4b,id=idgAf7I5,netdev=idW84it8,bus=pcie-root-port-20,addr=0x0  \
-netdev tap,id=idW84it8,vhost=on \
-device pcie-root-port,id=pcie-root-port-21,port=0x15,addr=0x4.0x5,bus=pcie.0,chassis=22 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:4c,id=idwm0vwg,netdev=idmThMm5,bus=pcie-root-port-21,addr=0x0  \
-netdev tap,id=idmThMm5,vhost=on \
-device pcie-root-port,id=pcie-root-port-22,port=0x16,addr=0x4.0x6,bus=pcie.0,chassis=23 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:4d,id=idAMioph,netdev=id8dvcrB,bus=pcie-root-port-22,addr=0x0  \
-netdev tap,id=id8dvcrB,vhost=on \
-device pcie-root-port,id=pcie-root-port-23,port=0x17,addr=0x4.0x7,bus=pcie.0,chassis=24 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:4e,id=idHCjLBS,netdev=id06iBKb,bus=pcie-root-port-23,addr=0x0  \
-netdev tap,id=id06iBKb,vhost=on \
-device pcie-root-port,id=pcie-root-port-24,port=0x18,multifunction=on,bus=pcie.0,addr=0x5,chassis=25 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:4f,id=id9Px0Mn,netdev=idutaEIc,bus=pcie-root-port-24,addr=0x0  \
-netdev tap,id=idutaEIc,vhost=on \
-device pcie-root-port,id=pcie-root-port-25,port=0x19,addr=0x5.0x1,bus=pcie.0,chassis=26 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:50,id=idq1a0Qa,netdev=idDCGFEx,bus=pcie-root-port-25,addr=0x0  \
-netdev tap,id=idDCGFEx,vhost=on \
-device pcie-root-port,id=pcie-root-port-26,port=0x1a,addr=0x5.0x2,bus=pcie.0,chassis=27 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:51,id=id7frxSm,netdev=idtIcKU6,bus=pcie-root-port-26,addr=0x0  \
-netdev tap,id=idtIcKU6,vhost=on \
-device pcie-root-port,id=pcie-root-port-27,port=0x1b,addr=0x5.0x3,bus=pcie.0,chassis=28 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:52,id=idMWK6e0,netdev=idACc3RL,bus=pcie-root-port-27,addr=0x0  \
-netdev tap,id=idACc3RL,vhost=on \
-device pcie-root-port,id=pcie-root-port-28,port=0x1c,addr=0x5.0x4,bus=pcie.0,chassis=29 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:53,id=idV4moK8,netdev=idFBbh5d,bus=pcie-root-port-28,addr=0x0  \
-netdev tap,id=idFBbh5d,vhost=on \
-device pcie-root-port,id=pcie-root-port-29,port=0x1d,addr=0x5.0x5,bus=pcie.0,chassis=30 \
-device virtio-net-pci,mac=9a:35:7b:ac:a9:54,id=idDmra1P,netdev=idLsZlE3,bus=pcie-root-port-29,addr=0x0  \
-netdev tap,id=idLsZlE3,vhost=on \
-blockdev node-name=file_cd1,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=/home/kvm_autotest_root/iso/windows/winutils.iso,cache.direct=on,cache.no-flush=off \
-blockdev node-name=drive_cd1,driver=raw,read-only=on,cache.direct=on,cache.no-flush=off,file=file_cd1 \
-device scsi-cd,id=cd1,drive=drive_cd1,write-cache=on  \
-vnc :0  \
-rtc base=localtime,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=0x6,chassis=31 \

2.Guest can not boot up, VNC show info: Guest has not initialized the display (yet)

==Verified it with qemu-kvm-6.2.0-1.module+el8.6.0+13725+61ae1949.x86_64
1. Boot a guest
2. Guest works well(ping guest from host)
# ping 10.73.224.24 -c 2
PING 10.73.224.24 (10.73.224.24) 56(84) bytes of data.
64 bytes from 10.73.224.24: icmp_seq=1 ttl=64 time=0.106 ms
64 bytes from 10.73.224.24: icmp_seq=2 ttl=64 time=0.056 ms

--- 10.73.224.24 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1052ms
rtt min/avg/max/mdev = 0.056/0.081/0.106/0.025 ms

Based on above test result, this problem has been fixed very well. Move to "VERIFIED"

Comment 23 liunana 2022-01-05 05:25:39 UTC
*** Bug 2015812 has been marked as a duplicate of this bug. ***

Comment 24 Amnon Ilan 2022-02-03 16:54:41 UTC
*** Bug 2024073 has been marked as a duplicate of this bug. ***

Comment 27 errata-xmlrpc 2022-05-10 13:20:33 UTC
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