vmm: Add bzimage loader support

VMM may load different format kernel image to start guest, we currently
only have elf loader support, so add bzimage loader support in case
that VMM would like to load bzimage.

Signed-off-by: Cathy Zhang <cathy.zhang@intel.com>
This commit is contained in:
Cathy Zhang
2019-06-10 17:14:02 +08:00
committed by Rob Bradford
parent 0f54429848
commit 429b53a672
5 changed files with 71 additions and 19 deletions

View File

@@ -21,7 +21,7 @@ vmm-sys-util = { git = "https://github.com/rust-vmm/vmm-sys-util" }
[dependencies.linux-loader]
git = "https://github.com/bjzhjing/linux-loader"
features = ["elf"]
features = ["elf", "bzimage"]
[dependencies.vm-memory]
git = "https://github.com/rust-vmm/vm-memory"