Docker image for QEMU, with a few patches to support other madworx docker images.
All patches are located under the patches/
subdirectory.
NetBSD-specific patch to enable QEMU to use the DHCP Client-Class
parameter to determine whether to supply the guest the command-line configured BOOTP file, or the hard-coded string tftp://netbsd.gz
if the client Class-Id
DHCP option equals NetBSD:i386:libsa
.
This is used to netboot NetBSD for the madworx/netbsd
docker image.
Enabling QEMU to accept command-line arguments by setting them in the environment variable QEMU_CMDLINE
.
This is used to make the process name (observable by ps
and top
) a bit more readable.
Implement the DHCP Root-Path
option, to enable us to point to from where the guest OS should mount its root filesystem.
For QEMU 4.0.0 and onwards, pvh_main.c
needed an explicit cast to uint64_t
to compile cleanly on Alpine.
Martin Kjellstrand [martin.kjellstrand@madworx.se]