Description of problem: The "Device Manager" shows QL41112 VF is working properly but I can not get any QL41112 VF network configuration values after running ”ipconfig“ cmdlet in the terminal Version-Release number of selected component (if applicable): host: 5.14.0-22.el9.x86_64 qemu-kvm-6.1.0-8.el9.x86_6 edk2-ovmf-20210527gite1999b264f1f-7.el9.noarch guest: Windows Server 2022(21H2) How reproducible: 100% Steps to Reproduce: 1. import a Q35 + OVMF Win2022 domain # virt-install --machine=q35 --noreboot --name=win2022 --boot=uefi --boot nvram.template=/usr/share/edk2/ovmf/OVMF_VARS.fd --network bridge=switch,model=virtio,mac=52:54:00:01:22:22 --memory=4096 --vcpus=4 --graphics type=vnc,port=5922,listen=0.0.0.0 --import --noautoconsole --disk path=/home/images/2022_q35_ovmf.qcow2,bus=virtio,cache=none,format=qcow2,io=threads,size=20 2. add a QL41112 VF into this Q35 + OVMF Win2022 domain # virsh attach-interface win2022 --type hostdev --source $vf_pci_address --managed --config 3. start the Q35 + OVMF Win2022 domain with a QL41112 VF # virsh start win2022 4. check the "Device Manager" The QL41112 VF can be found in the "Device Manager" and its deivce status is "This device is working properly" 5. Open "command prompt app" and then run the "ipconfig /all" cmdlet C:\Windows\system32>ipconfig /all <--- I can not get any related device info after running ”ipconfig“ cmdlet in the terminal Actual results I can not get any QL41112 VF network configuration values after running ”ipconfig“ cmdlet in the terminal Expected results: The "ipconfig /all" can Displays all current QL41112 VF network configuration values. Additional info:
Use Q35 + Seabios + Win2022 vm to repeat the step 1 to step 5: This problem *can* be reproduced. Use Q35 + OVMF + Win11 vm to repeat the step 1 to step 5: This problem *can not* be reproduced.
This problem can be reproduced in the following test env: 5.14.0-39.el9.x86_64 qemu-kvm-6.2.0-2.el9.x86_64 edk2-ovmf-20210527gite1999b264f1f-7.el9.noarch seabios-bin-1.15.0-1.el9.noarch
> Steps to Reproduce: > 1. import a Q35 + OVMF Win2022 domain > > # virt-install --machine=q35 --noreboot --name=win2022 --boot=uefi --boot > nvram.template=/usr/share/edk2/ovmf/OVMF_VARS.fd --network > bridge=switch,model=virtio,mac=52:54:00:01:22:22 --memory=4096 --vcpus=4 > --graphics type=vnc,port=5922,listen=0.0.0.0 --import --noautoconsole --disk > path=/home/images/2022_q35_ovmf.qcow2,bus=virtio,cache=none,format=qcow2, > io=threads,size=20 > > > 2. add a QL41112 VF into this Q35 + OVMF Win2022 domain > > # virsh attach-interface win2022 --type hostdev --source $vf_pci_address > --managed --config > > 3. start the Q35 + OVMF Win2022 domain with a QL41112 VF > > # virsh start win2022 > > 4. check the "Device Manager" > > The QL41112 VF can be found in the "Device Manager" and its deivce status is > "This device is working properly" > > > 5. Open "command prompt app" and then run the "ipconfig /all" cmdlet > > C:\Windows\system32>ipconfig /all <--- I can not get any related device > info after running ”ipconfig“ cmdlet in the terminal It seems that this bug has been fixed in the following test env: host: 5.14.0-127.el9.x86_64 qemu-kvm-7.0.0-7.el9.x86_64 seabios-bin-1.16.0-3.el9.noarch edk2-ovmf-20220526git16779ede2d36-1.el9.noarch guest: Windows Server 2022 21H2 The related check point info: administrator@WIN-A1AR6C3G7HJ C:\Users\Administrator>ipconfig /all ... Ethernet adapter Ethernet 2: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : QLogic FastLinQ QL41112-DE 10GbE Adapter (VBD Client SR-IOV VF) Physical Address. . . . . . . . . : 52-54-00-21-2D-F3 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::cc73:c3a0:ecfc:d6c9%28(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.200.231(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Tuesday, July 19, 2022 3:49:22 AM Lease Expires . . . . . . . . . . : Wednesday, July 20, 2022 3:49:21 AM Default Gateway . . . . . . . . . : 192.168.200.254 DHCP Server . . . . . . . . . . . : 192.168.200.254 DHCPv6 IAID . . . . . . . . . . . : 475157504 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-29-3A-24-B9-9A-9B-AB-AE-4E-E3 DNS Servers . . . . . . . . . . . : 192.168.200.2
Hi Marek, Could we close this bug as CURRENTRELEASE based on the Comment 4 ?
The reason why the two test results in comment 0 and comment 4 are different is : I have updated windows qede driver manually Comment 0: Test scenario : start a Q35 + OVMF Win2022 domain with a QL41112 VF Test Result : <--- It's not an expected result from QE's view 1. The QL41112 VF can be found in the "Device Manager" and its device status is "This device is working properly" 2. I can not get any related device info after running "C:\Windows\system32>ipconfig /all" Comment 4: Test scenario : start a Q35 + OVMF Win2022 domain with a QL41112 VF and then install its driver via Windows_DriverInstaller_45xxx_41xxx_20.80.1.14.zip Test Result : Both "Device Manager" and "ipconfig" cmdlet show QL41112 VF info correctly
Hi Marek, Could you please check comment 6 ? I'm not sure if this bug can be closed as NOTOBUG or if we can do something to resolve the Comment 0's issue to avoid the confusion. From QE's view , the info in "Device Manager" and "ipconfig" cmdlet should always be consistent.