pub struct NumaNodeConfig {
pub guest_node_id: u16,
pub vcpu_indices: Vec<u8>,
pub memory_mib: usize,
pub max_memory_mib: usize,
pub host_memory: HostMemoryPolicy,
}Expand description
One dense guest proximity domain and the host policy for its backing memory.
Fields§
§guest_node_id: u16Dense zero-based guest proximity-domain identifier.
vcpu_indices: Vec<u8>Possible vCPU indices associated with this guest node.
memory_mib: usizeMemory available to the guest at boot, in MiB.
max_memory_mib: usizeMaximum memory promised to this node after live growth, in MiB.
host_memory: HostMemoryPolicyHost policy used for boot RAM and reserved hotplug capacity.
Trait Implementations§
Source§impl Clone for NumaNodeConfig
impl Clone for NumaNodeConfig
Source§fn clone(&self) -> NumaNodeConfig
fn clone(&self) -> NumaNodeConfig
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 NumaNodeConfig
impl Debug for NumaNodeConfig
impl Eq for NumaNodeConfig
Source§impl PartialEq for NumaNodeConfig
impl PartialEq for NumaNodeConfig
impl StructuralPartialEq for NumaNodeConfig
Auto Trait Implementations§
impl Freeze for NumaNodeConfig
impl RefUnwindSafe for NumaNodeConfig
impl Send for NumaNodeConfig
impl Sync for NumaNodeConfig
impl Unpin for NumaNodeConfig
impl UnsafeUnpin for NumaNodeConfig
impl UnwindSafe for NumaNodeConfig
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