pub struct Params {
pub verbose: bool,
pub memory_size: GuestMemorySize,
pub thp: bool,
pub ksm: bool,
pub cpu_count: CpuCount,
pub pit: bool,
pub gdb_port: Option<u16>,
pub kernel_args: Vec<OsString>,
}
Fields§
§verbose: bool
Print kernel messages
memory_size: GuestMemorySize
Guest RAM size
thp: bool
Advise Transparent Hugepages
ksm: bool
Advise Kernel Samepage Merging
cpu_count: CpuCount
Number of guest CPUs
pit: bool
Create a PIT
gdb_port: Option<u16>
GDB server port
kernel_args: Vec<OsString>
Arguments to forward to the kernel
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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