[ipxe-devel] Question about efi_snp.c

Michael Brown mcb30 at ipxe.org
Fri Aug 18 18:33:20 UTC 2017


On 09/08/17 19:36, Deep ML wrote:
> I have a question about the efi_snp.c code. We are using ipxe in a 
> Qemu/KVM VM with OVMF firmware. The underlying hardware NIC is Intel 
> 82599 10 Gb and the VM is configured to use it through vfio-pci.
> 
> When the VM boots, the efi_snp_receive function in efi_snp.c gets called 
> multiple times, before ipxe "claims" the net device. What is this 
> polling useful for, when we are using ipxe with OVMF?

Something in the MnpDxe layer or above will be attempting to communicate 
via the NIC.  You could try watching the OVMF boot log (on the serial or 
debug ports) to figure out when the interface gets opened and why.

Michael




More information about the ipxe-devel mailing list