Implement a virtio-net driver (using an in-built virtio-pci driver) to allow GRUB to have network support in virtual environments such as Qemu without a dependency on the BIOS, UEFI, etc. This provides a virtio-net driver implementation targetting the 1.x virtio specification (using just the minimal required features of the specification to get this working in GRUB).
Also add a net_http_transfer_test to provide an integration test of the new driver running under Qemu and also exercise some of the network stack code as well. Right now this implementation has been tested on i386-pc and x86_64-efi, so the module is only built for those architectures. With additional architecture testing, this can likely be enabled on other configurations as well. For the user perspective, this patch will provide GRUB network capability in a wider variety of virtualized configurations. It will also improve test coverage of the network code in GRUB. This driver should provide a basis for building upon this initial small test for the network code in the future. Andrew Hamilton (3): docs: Document Module virtionet net: Implement virtio-net Driver for Qemu in GRUB tests: Add net_http_transfer_test .gitignore | 2 + Makefile.util.def | 12 + docs/grub.texi | 16 + grub-core/Makefile.core.def | 12 + grub-core/net/drivers/virtio/virtionet.c | 1000 ++++++++++++++++++++++ tests/net_http_transfer_test.in | 107 +++ tests/util/grub-shell.in | 3 + tests/util/qemu-linkup.in | 21 + 8 files changed, 1173 insertions(+) create mode 100644 grub-core/net/drivers/virtio/virtionet.c create mode 100755 tests/net_http_transfer_test.in create mode 100755 tests/util/qemu-linkup.in -- 2.39.5 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel