virtio-win / kvm-guest-drivers-windows

Windows paravirtualized drivers for QEMU\KVM
https://www.linux-kvm.org/page/WindowsGuestDrivers
BSD 3-Clause "New" or "Revised" License
1.91k stars 377 forks source link

netkvm: HLK NDISTest 6.5 - [1 Machine] - GenericMiniportRequirements test failed #1097

Closed zjmletang closed 3 weeks ago

zjmletang commented 1 month ago

This is a query regarding an issue I encountered while running HLK tests. I noticed that the "NDISTest 6.5 - [1 Machine] - GenericMiniportRequirements" test case failed due to the absence of the Port1DeviceNumber or Port1FunctionNumber in the INF file. However, I observed that this particular test passes successfully during the automated HLK testing we carry out when submitting patches. I'm quite puzzled by this discrepancy. Could you please explain why this might be happening? thanks

image

sb-ntnx commented 1 month ago

I've seen this failure when I had multiple virtio-net vNICs added to the guest.

YanVugenfirer commented 3 weeks ago

@zjmletang Do you also have several NICs during the failure as commented by @sb-ntnx ?

YanVugenfirer commented 3 weeks ago

In any case, virtio-net is not multiport device (yet? we will see what happens with SR-IOv). https://learn.microsoft.com/en-us/windows-hardware/drivers/network/ddinstall-section-in-a-network-inf-file So it looks like a bug in the test confusing several separate devices with a multiport device.

zjmletang commented 3 weeks ago

@zjmletang Do you also have several NICs during the failure as commented by @sb-ntnx ?

Yes, consistent with sb-ntnx's description, I later found during testing that the setup passed with just one network card inserted,thanks @sb-ntnx @YanVugenfirer

YanVugenfirer commented 3 weeks ago

No problem.

Closing.