pub struct HostDeviceAssignment {
pub name: String,
pub base_gpa: usize,
pub base_hpa: usize,
pub length: usize,
}Expand description
One host-firmware device assignment normalized before VM planning.
Fields§
§name: StringStable firmware path or architecture-owned assignment name.
base_gpa: usizeThe base GPA (Guest Physical Address) of the device.
base_hpa: usizeThe base HPA (Host Physical Address) of the device.
length: usizeThe address length of the device.
Trait Implementations§
Source§impl Clone for HostDeviceAssignment
impl Clone for HostDeviceAssignment
Source§fn clone(&self) -> HostDeviceAssignment
fn clone(&self) -> HostDeviceAssignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HostDeviceAssignment
impl Debug for HostDeviceAssignment
Source§impl Default for HostDeviceAssignment
impl Default for HostDeviceAssignment
Source§fn default() -> HostDeviceAssignment
fn default() -> HostDeviceAssignment
Returns the “default value” for a type. Read more
Source§impl PartialEq for HostDeviceAssignment
impl PartialEq for HostDeviceAssignment
impl StructuralPartialEq for HostDeviceAssignment
Auto Trait Implementations§
impl Freeze for HostDeviceAssignment
impl RefUnwindSafe for HostDeviceAssignment
impl Send for HostDeviceAssignment
impl Sync for HostDeviceAssignment
impl Unpin for HostDeviceAssignment
impl UnsafeUnpin for HostDeviceAssignment
impl UnwindSafe for HostDeviceAssignment
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