pub struct Uhyve { /* private fields */ }

Implementations

Runs the VM.

Blocks until the VM has finished execution.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Initialize the page tables for the guest

Returns the section offsets relative to their base addresses

source

fn set_entry_point(&mut self, entry: u64)

Sets the elf entry point.

source

fn get_entry_point(&self) -> u64

Returns the number of cores for the vm.

Returns a pointer to the address of the guest memory and the size of the memory in bytes.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.