From 69f1b8f726fb30b3628c2449bee7bee939801210 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 1 Jul 2021 21:12:07 +0000 Subject: deploy: 9f025e829ab6ed468cfb51d72ac105624afc3851 --- kvm_rs/vcpu/struct.Vcpu.html | 46 ++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'kvm_rs/vcpu/struct.Vcpu.html') diff --git a/kvm_rs/vcpu/struct.Vcpu.html b/kvm_rs/vcpu/struct.Vcpu.html index 698abb1..5b93239 100644 --- a/kvm_rs/vcpu/struct.Vcpu.html +++ b/kvm_rs/vcpu/struct.Vcpu.html @@ -1,27 +1,27 @@ -kvm_rs::vcpu::Vcpu - Rust +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 */ }

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 -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 -kvm_regs.

-

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

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

-
+

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 +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 +kvm_regs.

+

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

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