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
+1
View File
@@ -15,6 +15,7 @@ extern crate libc;
extern crate arch_gen;
extern crate kvm_ioctls;
extern crate linux_loader;
extern crate vm_memory;
use std::result;