From 8e43cf83e971d34f6272110300461fe48031ee36 Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 17 Aug 2021 21:11:42 +0000 Subject: deploy: fb6b634de37e38fd1821f2cf9228df176f9526f5 --- kvm_rs/vcpu/enum.KvmExit.html | 36 +++++++++++++++++------------------- kvm_rs/vcpu/index.html | 8 +++----- kvm_rs/vcpu/struct.Vcpu.html | 34 ++++++++++++++++------------------ 3 files changed, 36 insertions(+), 42 deletions(-) (limited to 'kvm_rs/vcpu') diff --git a/kvm_rs/vcpu/enum.KvmExit.html b/kvm_rs/vcpu/enum.KvmExit.html index 4a3a158..3814d8c 100644 --- a/kvm_rs/vcpu/enum.KvmExit.html +++ b/kvm_rs/vcpu/enum.KvmExit.html @@ -1,25 +1,23 @@ KvmExit in kvm_rs::vcpu - Rust -

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

pub enum KvmExit<'cpu> {
+

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

pub enum KvmExit<'cpu> {
     Halt,
-    IoIn(u16&'cpu mut [u8]),
-    IoOut(u16&'cpu [u8]),
-    MmioRead(u64&'cpu mut [u8]),
-    MmioWrite(u64&'cpu [u8]),
-}

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::kvm_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

impl<'cpu> RefUnwindSafe for KvmExit<'cpu>

impl<'cpu> Send for KvmExit<'cpu>

impl<'cpu> Sync for KvmExit<'cpu>

impl<'cpu> Unpin for KvmExit<'cpu>

impl<'cpu> !UnwindSafe for KvmExit<'cpu>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-
- \ No newline at end of file +
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

+

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

Module kvm_rs::vcpu[][src]

VCPU system ioctls.

-

Structs

+

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 +
\ No newline at end of file diff --git a/kvm_rs/vcpu/struct.Vcpu.html b/kvm_rs/vcpu/struct.Vcpu.html index 5b93239..d0d99a1 100644 --- a/kvm_rs/vcpu/struct.Vcpu.html +++ b/kvm_rs/vcpu/struct.Vcpu.html @@ -1,27 +1,25 @@ Vcpu in kvm_rs::vcpu - Rust -

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

pub struct Vcpu { /* fields omitted */ }

Wrapper for VCPU ioctls.

+

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

pub struct Vcpu { /* fields omitted */ }
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

impl Vcpu[src]

pub fn get_regs(&self) -> Result<kvm_regs>[src]

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.

-

pub fn set_regs(&self, regs: kvm_regs) -> Result<()>[src]

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.

-

pub fn get_sregs(&self) -> Result<kvm_sregs>[src]

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.

-

pub fn set_sregs(&self, sregs: kvm_sregs) -> Result<()>[src]

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.

-

pub fn run(&mut self) -> Result<KvmExit<'_>>[src]

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

impl RefUnwindSafe for Vcpu

impl !Send for Vcpu

impl !Sync for Vcpu

impl Unpin for Vcpu

impl UnwindSafe for Vcpu

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

-

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

-
- \ 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

+

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 -- cgit v1.2.3