pub struct Uhyve { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Vm for Uhyve
impl Vm for Uhyve
sourcefn init_guest_mem(&self)
fn init_guest_mem(&self)
Initialize the page tables for the guest
fn verbose(&self) -> bool
sourcefn get_offset(&self) -> u64
fn get_offset(&self) -> u64
Returns the section offsets relative to their base addresses
sourcefn set_entry_point(&mut self, entry: u64)
fn set_entry_point(&mut self, entry: u64)
Sets the elf entry point.
fn get_entry_point(&self) -> u64
fn get_ip(&self) -> Option<Ipv4Addr>
fn get_gateway(&self) -> Option<Ipv4Addr>
fn get_mask(&self) -> Option<Ipv4Addr>
sourcefn guest_mem(&self) -> (*mut u8, usize)
fn guest_mem(&self) -> (*mut u8, usize)
Returns a pointer to the address of the guest memory and the size of the memory in bytes.
fn kernel_path(&self) -> &Path
fn create_cpu(&self, id: u32) -> HypervisorResult<UhyveCPU>
fn set_boot_info(&mut self, header: *const RawBootInfo)
fn cpu_online(&self) -> u32
unsafe fn load_kernel(&mut self) -> LoadKernelResult<()>
impl Send for Uhyve
impl Sync for Uhyve
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more