-
Bug
-
Resolution: Not a Bug
-
Major
-
rhel-9.6
-
Yes
-
Important
-
CustomerScenariosInitiative
-
rhel-sst-virtualization-windows
-
ssg_virtualization
-
None
-
QE ack
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
-
x86_64
-
Windows
-
None
What were you trying to do that didn't work?
During the QE testing, the "PNP Surprise Remove Device Test" was performed in the Windows Hardware Lab Kit (HLK) environment. The HLK report shows an error message: "Failed to receive IRP_MN_REMOVE_DEVICE after receiving IRP_MN_SURPRISE_REMOVAL". The relevant hlkx file will be added as an attachment.
Please provide the package NVR for which bug is seen:
- CPU=AMD EPYC 7301 16-Core Processor
- HLK Controller Version: 10.1.17763.17763
- virtio-win-prewhql-0.1-266
- kernel-5.14.0-518.el9.x86_64
- edk2-ovmf-20240524-7.el9.noarch
- swtpm-0.8.0-2.el9_4.x86_64
- qemu-kvm-core-9.1.0-1.el9.x86_64
How reproducible:
100%
Steps to reproduce
1. Launch two ws2019 VMs on a host, one as the master node, and the other as the slave node.
2. Install the HLK Driver from our HLK SMB server (\\<HLK_Server_IP>\HLKInstall\Client).
3. Make these two VMs join into our HLK Server.
4. Run "PNP Surprise Remove Device Test" cases on the HLK server.
Expected results
"PNP Surprise Remove Device Test" can be passed.
Actual results
The "PNP Surprise Remove Device Test" failed. The HLK report shows an error message: "Failed to receive IRP_MN_REMOVE_DEVICE after receiving IRP_MN_SURPRISE_REMOVAL."
Additional Notes: the whole qemu cmdline
/usr/libexec/qemu-kvm \
-name 266NIC196435SBD \
-enable-kvm \
-m 6G \
-smp 8 \
-uuid 6b2a5fe7-0855-44c2-b82a-dcc4d42a4335 \
-nodefaults \
-cpu EPYC,hv_stimer,hv_synic,hv_time,hv_vpindex,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_frequencies,hv_runtime,hv_tlbflush,hv_reenlightenment,hv_stimer_direct,hv_ipi,svm=on \
-chardev socket,id=charmonitor,path=/tmp/266NIC196435SBD,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime,driftfix=slew \
-boot order=cd,menu=on \
-device piix3-usb-uhci,id=usb \
-blockdev driver=file,cache.direct=off,cache.no-flush=on,filename=266NIC196435SBD,node-name=my_file \
-blockdev driver=raw,node-name=my,file=my_file \
-device ide-hd,drive=my,id=ide0-0-0,bus=ide.0,unit=0,bootindex=1 \
-blockdev driver=file,cache.direct=off,cache.no-flush=on,filename=/home/kvm_autotest_root/iso/ISO/Win2019/windows_server_2019_x64_official_dvd.iso,node-name=my_cd,read-only=on \
-blockdev driver=raw,node-name=mycd,file=my_cd,read-only=on \
-device ide-cd,drive=mycd,id=ide0-1-0,bus=ide.1,bootindex=2 \
-cdrom 266NIC196435SBD.iso \
-device usb-tablet,id=input0 \
-vnc 0.0.0.0:10 \
-blockdev driver=file,cache.direct=off,cache.no-flush=on,filename=/home/kvm_autotest_root/iso/windows/FOD.iso,node-name=my_iso,read-only=on \
-blockdev driver=raw,node-name=myiso,file=my_iso,read-only=on \
-device ide-cd,drive=myiso,id=ide0-1-1,bus=ide.4 \
-blockdev node-name=file_ovmf_code,driver=file,filename=266NIC196435SBD_ovmf/OVMF_CODE.secboot.fd,auto-read-only=on,discard=unmap \
-blockdev node-name=drive_ovmf_code,driver=raw,read-only=on,file=file_ovmf_code \
-blockdev node-name=file_ovmf_vars,driver=file,filename=266NIC196435SBD_ovmf/OVMF_VARS.fd,auto-read-only=on,discard=unmap \
-blockdev node-name=drive_ovmf_vars,driver=raw,read-only=off,file=file_ovmf_vars \
-machine q35,pflash0=drive_ovmf_code,pflash1=drive_ovmf_vars \
-device pcie-root-port,bus=pcie.0,id=root1.0,multifunction=on,port=0x10,chassis=1,addr=0x7 \
-device pcie-root-port,bus=pcie.0,id=root2.0,port=0x11,chassis=2,addr=0x7.0x1 \
-netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0 \
-device e1000e,bus=root1.0,netdev=hostnet0,id=net0,mac=00:52:50:39:88:d7 \
-vga std \
-netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet1,vhost=on \
-device virtio-net-pci,netdev=hostnet1,bus=root2.0,id=net1,speed=1000,mac=00:52:15:37:3c:95 \
-monitor telnet:localhost:10000,server,nowait