pub struct OpenHclConfig {
pub vmbus_redirect: bool,
pub custom_command_line: Option<String>,
pub log_levels: OpenvmmLogConfig,
pub vtl2_base_address_type: Option<Vtl2BaseAddressType>,
pub vtl2_settings: Option<Vtl2Settings>,
}Expand description
OpenHCL configuration
Fields§
§vmbus_redirect: boolWhether to enable VMBus redirection
custom_command_line: Option<String>Test-specified command-line parameters to append to the petri generated
command line and pass to OpenHCL. VM backends should use
OpenHclConfig::command_line() rather than reading this directly.
log_levels: OpenvmmLogConfigCommand line parameters that control OpenHCL logging behavior. Separate
from command_line so that petri can decide to use default log
levels.
vtl2_base_address_type: Option<Vtl2BaseAddressType>How to place VTL2 in address space. If None, the backend VMM
will decide on default behavior.
vtl2_settings: Option<Vtl2Settings>VTL2 settings
Implementations§
Source§impl OpenHclConfig
impl OpenHclConfig
Sourcepub fn command_line(&self) -> String
pub fn command_line(&self) -> String
Returns the command line to pass to OpenHCL based on these parameters. Aggregates the command line and log levels.
Trait Implementations§
Source§impl Debug for OpenHclConfig
impl Debug for OpenHclConfig
Auto Trait Implementations§
impl Freeze for OpenHclConfig
impl RefUnwindSafe for OpenHclConfig
impl Send for OpenHclConfig
impl Sync for OpenHclConfig
impl Unpin for OpenHclConfig
impl UnwindSafe for OpenHclConfig
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