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/vcpu/enum.KvmExit.html | 45 ++++++++++++++++++++++++------------------- kvm_rs/vcpu/index.html | 21 ++++++++++++-------- kvm_rs/vcpu/sidebar-items.js | 2 +- kvm_rs/vcpu/struct.Vcpu.html | 43 ++++++++++++++++++++++++----------------- 4 files changed, 64 insertions(+), 47 deletions(-) (limited to 'kvm_rs/vcpu') diff --git a/kvm_rs/vcpu/enum.KvmExit.html b/kvm_rs/vcpu/enum.KvmExit.html index 3814d8c..801f168 100644 --- a/kvm_rs/vcpu/enum.KvmExit.html +++ b/kvm_rs/vcpu/enum.KvmExit.html @@ -1,23 +1,28 @@ -KvmExit in kvm_rs::vcpu - Rust - -

Enum kvm_rs::vcpu::KvmExit[][src]

pub enum KvmExit<'cpu> {
+KvmExit in kvm_rs::vcpu - Rust
+    
+    
pub enum KvmExit<'cpu> {
     Halt,
-    IoIn(u16&'cpu mut [u8]),
-    IoOut(u16&'cpu [u8]),
-    MmioRead(u64&'cpu mut [u8]),
-    MmioWrite(u64&'cpu [u8]),
-}
Expand description

Exit reasons for the Vcpu::kvm_run function.

+ IoIn(u16&'cpu mut [u8]), + IoOut(u16&'cpu [u8]), + MmioRead(u64&'cpu mut [u8]), + MmioWrite(u64&'cpu [u8]), +}
Expand description

Exit reasons for the Vcpu::run function.

Details for the different exit reasons can be found in the kvm_run structure description.

-

- Variants

-
Halt
IoOut(u16&'cpu [u8])
MmioRead(u64&'cpu mut [u8])
MmioWrite(u64&'cpu [u8])

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 +

Variants

Halt

IoIn(u16&'cpu mut [u8])

IoOut(u16&'cpu [u8])

MmioRead(u64&'cpu mut [u8])

MmioWrite(u64&'cpu [u8])

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 diff --git a/kvm_rs/vcpu/index.html b/kvm_rs/vcpu/index.html index 59cd3c4..6b8cc6a 100644 --- a/kvm_rs/vcpu/index.html +++ b/kvm_rs/vcpu/index.html @@ -1,8 +1,13 @@ -kvm_rs::vcpu - Rust - -

Module kvm_rs::vcpu[][src]

Expand description

VCPU system ioctls.

-

Structs

-
Vcpu

Wrapper for VCPU ioctls.

-

Enums

-
KvmExit

Exit reasons for the Vcpu::kvm_run function.

-
\ No newline at end of file +kvm_rs::vcpu - Rust + +
+

Module kvm_rs::vcpu

source · []
Expand description

VCPU system ioctls.

+

Structs

+

Wrapper for VCPU ioctls.

+

Enums

+

Exit reasons for the Vcpu::run function.

+
+ \ No newline at end of file diff --git a/kvm_rs/vcpu/sidebar-items.js b/kvm_rs/vcpu/sidebar-items.js index 564790f..8310d0b 100644 --- a/kvm_rs/vcpu/sidebar-items.js +++ b/kvm_rs/vcpu/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"enum":[["KvmExit","Exit reasons for the [`Vcpu::kvm_run`][crate::vcpu::Vcpu::kvm_run] function."]],"struct":[["Vcpu","Wrapper for VCPU ioctls."]]}); \ No newline at end of file +initSidebarItems({"enum":[["KvmExit","Exit reasons for the [`Vcpu::run`][crate::vcpu::Vcpu::run] function."]],"struct":[["Vcpu","Wrapper for VCPU ioctls."]]}); \ No newline at end of file diff --git a/kvm_rs/vcpu/struct.Vcpu.html b/kvm_rs/vcpu/struct.Vcpu.html index d0d99a1..b5925b6 100644 --- a/kvm_rs/vcpu/struct.Vcpu.html +++ b/kvm_rs/vcpu/struct.Vcpu.html @@ -1,25 +1,32 @@ -Vcpu in kvm_rs::vcpu - Rust - -

Struct kvm_rs::vcpu::Vcpu[][src]

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

Wrapper for VCPU ioctls.

+Vcpu in kvm_rs::vcpu - Rust + +
+

Struct kvm_rs::vcpu::Vcpu

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

Wrapper for VCPU ioctls.

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

-

Implementations

Get the general purpose registers with the KVM_GET_REGS ioctl in form of +

Implementations

Get the general purpose registers with the KVM_GET_REGS ioctl in form of kvm_regs.

-

Set the general purpose registers with the KVM_SET_REGS ioctl in form of +

Set the general purpose registers with the KVM_SET_REGS ioctl in form of kvm_regs.

-

Get the special registers with the KVM_GET_SREGS ioctl in form of +

Get the special registers with the KVM_GET_SREGS ioctl in form of kvm_sregs.

-

Set the special registers with the KVM_SET_SREGS ioctl in form of +

Set the special registers with the KVM_SET_SREGS ioctl in form of kvm_sregs.

-

Run the guest VCPU with the KVM_RUN ioctl until it exits with one of the exit +

Run the guest VCPU with the KVM_RUN ioctl until it exits with one of the exit reasons described in KvmExit.

-

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