pub struct ExtractedKernel {
pub kernel_path: PathBuf,
pub initramfs_path: Option<PathBuf>,
pub header: KernelHeader,
pub cmdline: String,
/* private fields */
}Expand description
Extracted kernel artifacts ready for QEMU consumption.
Fields§
§kernel_path: PathBufPath to the extracted kernel image (bzImage or equivalent).
initramfs_path: Option<PathBuf>Path to the extracted initramfs, if present in the KERNEL_SEG.
header: KernelHeaderThe parsed KernelHeader.
cmdline: StringThe kernel command line string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtractedKernel
impl RefUnwindSafe for ExtractedKernel
impl Send for ExtractedKernel
impl Sync for ExtractedKernel
impl Unpin for ExtractedKernel
impl UnwindSafe for ExtractedKernel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more