Enum linux_loader::loader::elf::PvhBootCapability
source · pub enum PvhBootCapability {
PvhEntryPresent(GuestAddress),
PvhEntryNotPresent,
PvhEntryIgnored,
}
Available on x86 or x86-64 only.
Expand description
Availability of PVH entry point in the kernel, which allows the VMM to use the PVH boot protocol to start guests.
Variants§
PvhEntryPresent(GuestAddress)
PVH entry point is present
PvhEntryNotPresent
PVH entry point is not present
PvhEntryIgnored
PVH entry point is ignored, even if available
Trait Implementations§
source§impl Clone for PvhBootCapability
Available on crate feature elf
only.
impl Clone for PvhBootCapability
Available on crate feature
elf
only.source§fn clone(&self) -> PvhBootCapability
fn clone(&self) -> PvhBootCapability
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PvhBootCapability
Available on crate feature elf
only.
impl Debug for PvhBootCapability
Available on crate feature
elf
only.source§impl Default for PvhBootCapability
Available on crate feature elf
only.
impl Default for PvhBootCapability
Available on crate feature
elf
only.source§fn default() -> PvhBootCapability
fn default() -> PvhBootCapability
Returns the “default value” for a type. Read more
source§impl Display for PvhBootCapability
Available on crate feature elf
only.
impl Display for PvhBootCapability
Available on crate feature
elf
only.source§impl PartialEq for PvhBootCapability
Available on crate feature elf
only.
impl PartialEq for PvhBootCapability
Available on crate feature
elf
only.source§fn eq(&self, other: &PvhBootCapability) -> bool
fn eq(&self, other: &PvhBootCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PvhBootCapability
Available on crate feature
elf
only.impl Eq for PvhBootCapability
Available on crate feature
elf
only.impl StructuralEq for PvhBootCapability
Available on crate feature
elf
only.impl StructuralPartialEq for PvhBootCapability
Available on crate feature
elf
only.Auto Trait Implementations§
impl RefUnwindSafe for PvhBootCapability
impl Send for PvhBootCapability
impl Sync for PvhBootCapability
impl Unpin for PvhBootCapability
impl UnwindSafe for PvhBootCapability
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