From 74d1b6fd9991d1fb7dc19f09b06f7b2277874ece Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 16 Apr 2022 20:25:59 +0000 Subject: deploy: 38cd31ed203999122c500d389de38bb051ce979e --- kvm_rs/vm/struct.Vm.html | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) (limited to 'kvm_rs/vm/struct.Vm.html') diff --git a/kvm_rs/vm/struct.Vm.html b/kvm_rs/vm/struct.Vm.html index b02dc95..2eba1cf 100644 --- a/kvm_rs/vm/struct.Vm.html +++ b/kvm_rs/vm/struct.Vm.html @@ -1,24 +1,31 @@ -Vm in kvm_rs::vm - Rust - -

Struct kvm_rs::vm::Vm[][src]

pub struct Vm { /* fields omitted */ }
Expand description

Wrapper for VM ioctls.

+Vm in kvm_rs::vm - Rust + +
+

Struct kvm_rs::vm::Vm

source · []
pub struct Vm { /* private fields */ }
Expand description

Wrapper for VM ioctls.

Representation of the file descriptor obtained by the KVM_CREATE_VM ioctl. This wrapper provides access to the VM ioctls as described in KVM API.

-

Implementations

Map memory from userspace into the VM as guest physical memory starting at address +

Implementations

Map memory from userspace into the VM as guest physical memory starting at address phys_addr. -The underlying operation is the [KVM_SET_USER_MEMORY_REGION][kmv-set-user-memory-region] +The underlying operation is the KVM_SET_USER_MEMORY_REGION ioctl.

-

Safety

+
Safety

The mem: &UserMem argument passed to this function must at least live as long the Vcpu instance.

-

Create a new virtual cpu with the KVM_CREATE_VCPU ioctl. +

Create a new virtual cpu with the KVM_CREATE_VCPU ioctl. Returns a wrapper vcpu::Vcpu representing the VCPU.

-

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

-

Performs the conversion.

-

Performs the conversion.

-

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.

-
\ No newline at end of file +

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.

+
+ \ No newline at end of file -- cgit v1.2.3