You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the previous commit we added support for the simplest type of
external kernel, a raw image that can be directly copied into the
VM's memory.
This commit builds on that to add support for multiple kernel
formats. The ones currently implemented are:
- ELF: A kernel binary in ELF format (vmlinux).
- PeGz: A PE binary embedding a kernel image compressed with GZIP.
- ImageBz2: An Image file embedding a kernel compressed with BZIP2.
- ImageGz: An Image file embedding a kernel compressed with GZIP.
- ImageZstd: An Image file embedding a kernel compressed with ZSTD.
Adding new kernel formats should be quite straightforward.
Please note this change doesn't implement support for loading an
external initramfs. The main reason is that we can't guarantee to
maintain the control of the VM boot when using an arbitrary
initramfs.
This means that the external kernel must be built with, at least,
the following driver built-in:
- virtio-mmio
- virtio-console
- virtio-fs
Depending on the use case, more drivers might be required.
Signed-off-by: Sergio Lopez <[email protected]>
0 commit comments