Struct oci_spec::runtime::VMKernel [−][src]
pub struct VMKernel {
pub path: PathBuf,
pub parameters: Option<Vec<String>>,
pub initrd: Option<String>,
}
Expand description
VMKernel contains information about the kernel to use for a virtual machine.
Fields
path: PathBuf
Path is the host path to the kernel used to boot the virtual machine.
parameters: Option<Vec<String>>
Parameters specifies parameters to pass to the kernel.
initrd: Option<String>
InitRD is the host path to an initial ramdisk to be used by the kernel.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for VMKernel
impl UnwindSafe for VMKernel
Blanket Implementations
Mutably borrows from an owned value. Read more