pub struct MachineFor<T> { /* private fields */ }Expand description
Select the emulated machine by name. Use -machine help to list
available machines.
For architectures which aim to support live migration compatibility across releases, each release will introduce a new versioned machine type. For example, the 2.8.0 release introduced machine types “pc-i440fx-2.8” and “pc-q35-2.8” for the x86_64/i686 architectures.
To allow live migration of guests from QEMU version 2.8.0, to QEMU version 2.9.0, the 2.9.0 version must support the “pc-i440fx-2.8” and “pc-q35-2.8” machines too. To allow users live migrating VMs to skip multiple intermediate releases when upgrading, new releases of QEMU will support machine types from many previous versions.
Implementations§
Source§impl<T> MachineFor<T>
impl<T> MachineFor<T>
Sourcepub fn builder() -> MachineForBuilder<T>
pub fn builder() -> MachineForBuilder<T>
Create an instance of MachineFor using the builder syntax
Trait Implementations§
Source§impl<T: Clone> Clone for MachineFor<T>
impl<T: Clone> Clone for MachineFor<T>
Source§fn clone(&self) -> MachineFor<T>
fn clone(&self) -> MachineFor<T>
Returns a duplicate 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<T: Debug> Debug for MachineFor<T>
impl<T: Debug> Debug for MachineFor<T>
Source§impl<T: Hash> Hash for MachineFor<T>
impl<T: Hash> Hash for MachineFor<T>
Source§impl<T: Ord> Ord for MachineFor<T>
impl<T: Ord> Ord for MachineFor<T>
Source§fn cmp(&self, other: &MachineFor<T>) -> Ordering
fn cmp(&self, other: &MachineFor<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for MachineFor<T>
impl<T: PartialEq> PartialEq for MachineFor<T>
Source§impl<T: PartialOrd> PartialOrd for MachineFor<T>
impl<T: PartialOrd> PartialOrd for MachineFor<T>
Source§impl<M: ToCommand + ToArg> ToCommand for MachineFor<M>
impl<M: ToCommand + ToArg> ToCommand for MachineFor<M>
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
impl<T: Eq> Eq for MachineFor<T>
impl<T> StructuralPartialEq for MachineFor<T>
Auto Trait Implementations§
impl<T> Freeze for MachineFor<T>where
T: Freeze,
impl<T> RefUnwindSafe for MachineFor<T>where
T: RefUnwindSafe,
impl<T> Send for MachineFor<T>where
T: Send,
impl<T> Sync for MachineFor<T>where
T: Sync,
impl<T> Unpin for MachineFor<T>where
T: Unpin,
impl<T> UnwindSafe for MachineFor<T>where
T: UnwindSafe,
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