pub enum UefiGuest {
Vhd(BootImageConfig<Vhd>),
GuestTestUefi(ResolvedArtifact),
None,
}Expand description
The guest the VM will boot into. A boot drive with the chosen setup will be automatically configured.
Variants§
Vhd(BootImageConfig<Vhd>)
Mount a VHD as the boot drive.
GuestTestUefi(ResolvedArtifact)
The UEFI test image produced by our guest-test infrastructure.
None
No guest, just the firmware.
Implementations§
Source§impl UefiGuest
impl UefiGuest
Sourcepub fn guest_test_uefi(
resolver: &ArtifactResolver<'_>,
arch: MachineArch,
) -> Self
pub fn guest_test_uefi( resolver: &ArtifactResolver<'_>, arch: MachineArch, ) -> Self
Construct a standard UefiGuest::GuestTestUefi configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UefiGuest
impl RefUnwindSafe for UefiGuest
impl Send for UefiGuest
impl Sync for UefiGuest
impl Unpin for UefiGuest
impl UnwindSafe for UefiGuest
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