<div dir="ltr"><div>Hello,<br></div><div><br></div><div>I tried to boot iPXE on a Google Compute Engine instance, but the virtio driver doesn't work because virtnet_open_legacy() fails to find virtqueues.</div><div><br></div><div>Please let me know what I can do for providing further information to debug the issue.</div><div><br></div><div>The serial console output with "DEBUG=virtio-net" is as follows:</div><div><br></div><div>    iPXE initialising devices...Common virtio capability not found!</div><div>    VIRTIO-NET 0xdf584 busaddr=0000:00:04.0 ioaddr=0xc040 irq=11</div><div>    VIRTIO-NET 0xdf584 mac=42:01:0a:92:00:0a</div><div>    ok</div><div>    </div><div>    iPXE 1.0.0+ (26050) -- Open Source Network Boot Firmware -- <a href="http://ipxe.org">http://ipxe.org</a></div><div>    Features: DNS HTTP iSCSI TFTP SRP AoE ELF MBOOT PXE bzImage Menu PXEXT</div><div>    iPXE> ifstat</div><div>    net0: 42:01:0a:92:00:0a using virtio-net on 0000:00:04.0 (closed)</div><div>      [Link:up, TX:0 TXE:0 RX:0 RXE:0]</div><div>    iPXE> dhcp</div><div>    VIRTIO-NET 0xdf584 cannot register queue 0</div><div>    Could not open net0: No such file or directory (<a href="http://ipxe.org/2d5c403b">http://ipxe.org/2d5c403b</a>)</div><div>    iPXE></div><div><br></div><div><br></div><div>This ENOENT is raised from virtnet_open_legacy(): <a href="https://git.ipxe.org/ipxe.git/blob/26050fd4c87c50503d5bd573b2ec91703676e211:/src/drivers/net/virtio-net.c#l205">https://git.ipxe.org/ipxe.git/blob/26050fd4c87c50503d5bd573b2ec91703676e211:/src/drivers/net/virtio-net.c#l205</a></div><div><br></div><div><br></div><div>I also tested some previous commits, but all of them failed, so the issue is not a regression in some recent commit:</div><div><br></div><div> * 26050fd (Dec  8, 2016): the last commit when I tested</div><div> * 7b499f8 (Apr 11, 2016): the last commit without support for virtio 1.0</div><div> * e4419ff (Jul  2, 2010):  the first commit with the "native iPXE driver" (The commit date is older than 232c208, but actually newer than 232c208)</div><div> * 232c208 (Jul 11, 2010): the last commit without the "native iPXE driver". The error message is "ERROR: queue size 4096 > 512", "Cannot register queue #0"</div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div>Akihiro Suda</div><div><br></div></div>