pub struct CustomVmfirmwareigvmDllCli {
pub igvm_payload: PathBuf,
pub arch: Option<CommonArchCli>,
}
Expand description
Encapsulate an existing pre-built IGVM file into unsigned
vmfirmwareigvm.dll
resource DLL.
Unlike build-igvm
, this tool will NOT build OpenHCL from scratch. This
tool streamlines the process of building the in-tree vmfirmwareigvm_dll
crate (which requires setting various env vars, installing certain
dependencies, etc…).
NOTE: This tool is primarily intended for use by Microsoft employees, as open-source deployments of OpenHCL typically load the IGVM file directly (rather than being encapsulated in a resource-DLL).
Fields§
§igvm_payload: PathBuf
Path to IGVM payload to encapsulate in the vmfirmwareigvm resource DLL.
arch: Option<CommonArchCli>
Architecture the DLL should be built for.
Defaults to the current host architecture.
Trait Implementations§
Source§impl Args for CustomVmfirmwareigvmDllCli
impl Args for CustomVmfirmwareigvmDllCli
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moreSource§impl FromArgMatches for CustomVmfirmwareigvmDllCli
impl FromArgMatches for CustomVmfirmwareigvmDllCli
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl IntoPipeline for CustomVmfirmwareigvmDllCli
impl IntoPipeline for CustomVmfirmwareigvmDllCli
fn into_pipeline(self, backend_hint: PipelineBackendHint) -> Result<Pipeline>
Auto Trait Implementations§
impl Freeze for CustomVmfirmwareigvmDllCli
impl RefUnwindSafe for CustomVmfirmwareigvmDllCli
impl Send for CustomVmfirmwareigvmDllCli
impl Sync for CustomVmfirmwareigvmDllCli
impl Unpin for CustomVmfirmwareigvmDllCli
impl UnwindSafe for CustomVmfirmwareigvmDllCli
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more