From 0f9aca4ef41e9f4dff61c92048f4d60b00d27871 Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 14 Mar 2025 01:15:52 +0000 Subject: deploy: 3ebd8b163dc8d5679d90927de1c2fcd639882362 --- kvm_rs/all.html | 2 +- kvm_rs/cap/enum.CapBool.html | 26 +++++------ kvm_rs/cap/enum.CapInt.html | 30 ++++++------- kvm_rs/cap/index.html | 4 +- kvm_rs/index.html | 2 +- kvm_rs/kvm/index.html | 4 +- kvm_rs/kvm/struct.Kvm.html | 30 ++++++------- kvm_rs/kvm_sys/index.html | 4 +- kvm_rs/kvm_sys/struct.kvm_debugregs.html | 32 +++++++------- kvm_rs/kvm_sys/struct.kvm_dtable.html | 30 ++++++------- kvm_rs/kvm_sys/struct.kvm_regs.html | 60 +++++++++++++------------- kvm_rs/kvm_sys/struct.kvm_segment.html | 48 ++++++++++----------- kvm_rs/kvm_sys/struct.kvm_sregs.html | 40 ++++++++--------- kvm_rs/struct.PhysAddr.html | 22 +++++----- kvm_rs/struct.UserMem.html | 34 +++++++-------- kvm_rs/vcpu/enum.KvmExit.html | 32 +++++++------- kvm_rs/vcpu/index.html | 4 +- kvm_rs/vcpu/struct.Vcpu.html | 38 ++++++++-------- kvm_rs/vm/index.html | 4 +- kvm_rs/vm/struct.Vm.html | 32 +++++++------- kvm_rs/x86_64/constant.CR0_AM.html | 2 +- kvm_rs/x86_64/constant.CR0_CD.html | 2 +- kvm_rs/x86_64/constant.CR0_EM.html | 2 +- kvm_rs/x86_64/constant.CR0_ET.html | 2 +- kvm_rs/x86_64/constant.CR0_MP.html | 2 +- kvm_rs/x86_64/constant.CR0_NE.html | 2 +- kvm_rs/x86_64/constant.CR0_NW.html | 2 +- kvm_rs/x86_64/constant.CR0_PE.html | 2 +- kvm_rs/x86_64/constant.CR0_PG.html | 2 +- kvm_rs/x86_64/constant.CR0_TS.html | 2 +- kvm_rs/x86_64/constant.CR0_WP.html | 2 +- kvm_rs/x86_64/constant.CR3_PAGE_BASE_MASK.html | 2 +- kvm_rs/x86_64/constant.CR3_PCD.html | 2 +- kvm_rs/x86_64/constant.CR3_PWT.html | 2 +- kvm_rs/x86_64/constant.CR4_LA57.html | 2 +- kvm_rs/x86_64/constant.CR4_PAE.html | 2 +- kvm_rs/x86_64/constant.EFER_LMA.html | 2 +- kvm_rs/x86_64/constant.EFER_LME.html | 2 +- kvm_rs/x86_64/constant.MSR_EFER.html | 2 +- kvm_rs/x86_64/constant.PAGE_ENTRY_PRESENT.html | 2 +- kvm_rs/x86_64/constant.PAGE_ENTRY_RW.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_AC.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_AF.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_CF.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_DF.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_IF.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_IOPL.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_OF.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_PF.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_SF.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_TF.html | 2 +- kvm_rs/x86_64/constant.RFLAGS_ZF.html | 2 +- kvm_rs/x86_64/constant.SEG_SELECTOR_INDEX.html | 2 +- kvm_rs/x86_64/constant.SEG_SELECTOR_RPL.html | 2 +- kvm_rs/x86_64/constant.SEG_SELECTOR_TI.html | 2 +- kvm_rs/x86_64/fn.rflags_ac.html | 2 +- kvm_rs/x86_64/fn.rflags_af.html | 2 +- kvm_rs/x86_64/fn.rflags_cf.html | 2 +- kvm_rs/x86_64/fn.rflags_df.html | 2 +- kvm_rs/x86_64/fn.rflags_if.html | 2 +- kvm_rs/x86_64/fn.rflags_iopl.html | 2 +- kvm_rs/x86_64/fn.rflags_of.html | 2 +- kvm_rs/x86_64/fn.rflags_pf.html | 2 +- kvm_rs/x86_64/fn.rflags_sf.html | 2 +- kvm_rs/x86_64/fn.rflags_tf.html | 2 +- kvm_rs/x86_64/fn.rflags_zf.html | 2 +- kvm_rs/x86_64/fn.seg_selector_index.html | 2 +- kvm_rs/x86_64/fn.seg_selector_rpl.html | 2 +- kvm_rs/x86_64/fn.seg_selector_ti.html | 2 +- kvm_rs/x86_64/index.html | 4 +- 70 files changed, 290 insertions(+), 290 deletions(-) (limited to 'kvm_rs') diff --git a/kvm_rs/all.html b/kvm_rs/all.html index 88b7466..39cc86d 100644 --- a/kvm_rs/all.html +++ b/kvm_rs/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/kvm_rs/cap/enum.CapBool.html b/kvm_rs/cap/enum.CapBool.html index fb40efb..13365e3 100644 --- a/kvm_rs/cap/enum.CapBool.html +++ b/kvm_rs/cap/enum.CapBool.html @@ -1,16 +1,16 @@ -CapBool in kvm_rs::cap - Rust

Enum kvm_rs::cap::CapBool

source ·
#[repr(u64)]
pub enum CapBool { - CheckExtensionVm, +CapBool in kvm_rs::cap - Rust
kvm_rs::cap

Enum CapBool

Source
#[repr(u64)]
pub enum CapBool { + CheckExtensionVm = 105, }
Expand description

Definition of capabilities that return a bool value indicating whether the capability is supported or not.

-

Variants§

§

CheckExtensionVm

Check if capabilities can be queried on VM fds (KVM_CAP_CHECK_EXTENSION_VM).

-

Trait Implementations§

source§

impl Into<u64> for CapBool

source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants§

§

CheckExtensionVm = 105

Check if capabilities can be queried on VM fds (KVM_CAP_CHECK_EXTENSION_VM).

+

Trait Implementations§

Source§

impl Into<u64> for CapBool

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/cap/enum.CapInt.html b/kvm_rs/cap/enum.CapInt.html index ac2412a..896a597 100644 --- a/kvm_rs/cap/enum.CapInt.html +++ b/kvm_rs/cap/enum.CapInt.html @@ -1,18 +1,18 @@ -CapInt in kvm_rs::cap - Rust

Enum kvm_rs::cap::CapInt

source ·
#[repr(u64)]
pub enum CapInt { - NrVcpus, - MaxVcpus, +CapInt in kvm_rs::cap - Rust
kvm_rs::cap

Enum CapInt

Source
#[repr(u64)]
pub enum CapInt { + NrVcpus = 9, + MaxVcpus = 66, }
Expand description

Definition of capabilities that return an integer value indicating the amount of the queried capability.

-

Variants§

§

NrVcpus

Get the recommended max VPCUs (KVM_CAP_NR_VCPUS).

-
§

MaxVcpus

Get the possible max VPCUs (KVM_CAP_MAX_VCPUS).

-

Trait Implementations§

source§

impl Into<u64> for CapInt

source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants§

§

NrVcpus = 9

Get the recommended max VPCUs (KVM_CAP_NR_VCPUS).

+
§

MaxVcpus = 66

Get the possible max VPCUs (KVM_CAP_MAX_VCPUS).

+

Trait Implementations§

Source§

impl Into<u64> for CapInt

Source§

fn into(self) -> u64

Converts this type into the (usually inferred) input type.

Auto Trait Implementations§

§

impl Freeze for CapInt

§

impl RefUnwindSafe for CapInt

§

impl Send for CapInt

§

impl Sync for CapInt

§

impl Unpin for CapInt

§

impl UnwindSafe for CapInt

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/cap/index.html b/kvm_rs/cap/index.html index 514850f..00ac7e9 100644 --- a/kvm_rs/cap/index.html +++ b/kvm_rs/cap/index.html @@ -1,4 +1,4 @@ -kvm_rs::cap - Rust

Module kvm_rs::cap

source ·
Expand description

Definitions of KVM capabilities.

-

Enums

\ No newline at end of file diff --git a/kvm_rs/kvm_sys/index.html b/kvm_rs/kvm_sys/index.html index 641a69d..fedc237 100644 --- a/kvm_rs/kvm_sys/index.html +++ b/kvm_rs/kvm_sys/index.html @@ -1,2 +1,2 @@ -kvm_rs::kvm_sys - Rust

Module kvm_rs::kvm_sys

source ·
Expand description

Definitions of the system header <linux/kvm.h>.

-

Structs

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

Module kvm_sys

Source
Expand description

Definitions of the system header <linux/kvm.h>.

+

Structs§

\ No newline at end of file diff --git a/kvm_rs/kvm_sys/struct.kvm_debugregs.html b/kvm_rs/kvm_sys/struct.kvm_debugregs.html index f2a2466..f994a3f 100644 --- a/kvm_rs/kvm_sys/struct.kvm_debugregs.html +++ b/kvm_rs/kvm_sys/struct.kvm_debugregs.html @@ -1,17 +1,17 @@ -kvm_debugregs in kvm_rs::kvm_sys - Rust
#[repr(C)]
pub struct kvm_debugregs { - pub db: [u64; 4], - pub dr6: u64, - pub dr7: u64, - pub flags: u64, - pub reserved: [u64; 9], -}

Fields§

§db: [u64; 4]§dr6: u64§dr7: u64§flags: u64§reserved: [u64; 9]

Trait Implementations§

source§

impl Debug for kvm_debugregs

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for kvm_debugregs

source§

fn default() -> kvm_debugregs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+kvm_debugregs in kvm_rs::kvm_sys - Rust
kvm_rs::kvm_sys

Struct kvm_debugregs

Source
#[repr(C)]
pub struct kvm_debugregs { + pub db: [u64; 4], + pub dr6: u64, + pub dr7: u64, + pub flags: u64, + pub reserved: [u64; 9], +}

Fields§

§db: [u64; 4]§dr6: u64§dr7: u64§flags: u64§reserved: [u64; 9]

Trait Implementations§

Source§

impl Debug for kvm_debugregs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for kvm_debugregs

Source§

fn default() -> kvm_debugregs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/kvm_sys/struct.kvm_dtable.html b/kvm_rs/kvm_sys/struct.kvm_dtable.html index a8d5398..feaba18 100644 --- a/kvm_rs/kvm_sys/struct.kvm_dtable.html +++ b/kvm_rs/kvm_sys/struct.kvm_dtable.html @@ -1,16 +1,16 @@ -kvm_dtable in kvm_rs::kvm_sys - Rust

Struct kvm_rs::kvm_sys::kvm_dtable

source ·
#[repr(C)]
pub struct kvm_dtable { - pub base: u64, - pub limit: u16, - /* private fields */ -}

Fields§

§base: u64§limit: u16

Trait Implementations§

source§

impl Debug for kvm_dtable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for kvm_dtable

source§

fn default() -> kvm_dtable

Returns the “default value” for a type. Read more
source§

impl Display for kvm_dtable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+kvm_dtable in kvm_rs::kvm_sys - Rust
kvm_rs::kvm_sys

Struct kvm_dtable

Source
#[repr(C)]
pub struct kvm_dtable { + pub base: u64, + pub limit: u16, + /* private fields */ +}

Fields§

§base: u64§limit: u16

Trait Implementations§

Source§

impl Debug for kvm_dtable

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for kvm_dtable

Source§

fn default() -> kvm_dtable

Returns the “default value” for a type. Read more
Source§

impl Display for kvm_dtable

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/kvm_sys/struct.kvm_regs.html b/kvm_rs/kvm_sys/struct.kvm_regs.html index 203a4cb..7327b57 100644 --- a/kvm_rs/kvm_sys/struct.kvm_regs.html +++ b/kvm_rs/kvm_sys/struct.kvm_regs.html @@ -1,31 +1,31 @@ -kvm_regs in kvm_rs::kvm_sys - Rust

Struct kvm_rs::kvm_sys::kvm_regs

source ·
#[repr(C)]
pub struct kvm_regs {
Show 18 fields - pub rax: u64, - pub rbx: u64, - pub rcx: u64, - pub rdx: u64, - pub rsi: u64, - pub rdi: u64, - pub rsp: u64, - pub rbp: u64, - pub r8: u64, - pub r9: u64, - pub r10: u64, - pub r11: u64, - pub r12: u64, - pub r13: u64, - pub r14: u64, - pub r15: u64, - pub rip: u64, - pub rflags: u64, -
}

Fields§

§rax: u64§rbx: u64§rcx: u64§rdx: u64§rsi: u64§rdi: u64§rsp: u64§rbp: u64§r8: u64§r9: u64§r10: u64§r11: u64§r12: u64§r13: u64§r14: u64§r15: u64§rip: u64§rflags: u64

Trait Implementations§

source§

impl Debug for kvm_regs

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for kvm_regs

source§

fn default() -> kvm_regs

Returns the “default value” for a type. Read more
source§

impl Display for kvm_regs

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+kvm_regs in kvm_rs::kvm_sys - Rust
kvm_rs::kvm_sys

Struct kvm_regs

Source
#[repr(C)]
pub struct kvm_regs {
Show 18 fields + pub rax: u64, + pub rbx: u64, + pub rcx: u64, + pub rdx: u64, + pub rsi: u64, + pub rdi: u64, + pub rsp: u64, + pub rbp: u64, + pub r8: u64, + pub r9: u64, + pub r10: u64, + pub r11: u64, + pub r12: u64, + pub r13: u64, + pub r14: u64, + pub r15: u64, + pub rip: u64, + pub rflags: u64, +
}

Fields§

§rax: u64§rbx: u64§rcx: u64§rdx: u64§rsi: u64§rdi: u64§rsp: u64§rbp: u64§r8: u64§r9: u64§r10: u64§r11: u64§r12: u64§r13: u64§r14: u64§r15: u64§rip: u64§rflags: u64

Trait Implementations§

Source§

impl Debug for kvm_regs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for kvm_regs

Source§

fn default() -> kvm_regs

Returns the “default value” for a type. Read more
Source§

impl Display for kvm_regs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/kvm_sys/struct.kvm_segment.html b/kvm_rs/kvm_sys/struct.kvm_segment.html index 903d8a3..9d6bec4 100644 --- a/kvm_rs/kvm_sys/struct.kvm_segment.html +++ b/kvm_rs/kvm_sys/struct.kvm_segment.html @@ -1,25 +1,25 @@ -kvm_segment in kvm_rs::kvm_sys - Rust

Struct kvm_rs::kvm_sys::kvm_segment

source ·
#[repr(C)]
pub struct kvm_segment { - pub base: u64, - pub limit: u32, - pub selector: u16, - pub type_: u8, - pub present: u8, - pub dpl: u8, - pub db: u8, - pub s: u8, - pub l: u8, - pub g: u8, - pub avl: u8, - /* private fields */ -}

Fields§

§base: u64§limit: u32§selector: u16§type_: u8§present: u8§dpl: u8§db: u8§s: u8§l: u8§g: u8§avl: u8

Trait Implementations§

source§

impl Debug for kvm_segment

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for kvm_segment

source§

fn default() -> kvm_segment

Returns the “default value” for a type. Read more
source§

impl Display for kvm_segment

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+kvm_segment in kvm_rs::kvm_sys - Rust
kvm_rs::kvm_sys

Struct kvm_segment

Source
#[repr(C)]
pub struct kvm_segment { + pub base: u64, + pub limit: u32, + pub selector: u16, + pub type_: u8, + pub present: u8, + pub dpl: u8, + pub db: u8, + pub s: u8, + pub l: u8, + pub g: u8, + pub avl: u8, + /* private fields */ +}

Fields§

§base: u64§limit: u32§selector: u16§type_: u8§present: u8§dpl: u8§db: u8§s: u8§l: u8§g: u8§avl: u8

Trait Implementations§

Source§

impl Debug for kvm_segment

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for kvm_segment

Source§

fn default() -> kvm_segment

Returns the “default value” for a type. Read more
Source§

impl Display for kvm_segment

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/kvm_sys/struct.kvm_sregs.html b/kvm_rs/kvm_sys/struct.kvm_sregs.html index 01f26be..287daf3 100644 --- a/kvm_rs/kvm_sys/struct.kvm_sregs.html +++ b/kvm_rs/kvm_sys/struct.kvm_sregs.html @@ -1,4 +1,4 @@ -kvm_sregs in kvm_rs::kvm_sys - Rust

Struct kvm_rs::kvm_sys::kvm_sregs

source ·
#[repr(C)]
pub struct kvm_sregs {
Show 18 fields +kvm_sregs in kvm_rs::kvm_sys - Rust
kvm_rs::kvm_sys

Struct kvm_sregs

Source
#[repr(C)]
pub struct kvm_sregs {
Show 18 fields pub cs: kvm_segment, pub ds: kvm_segment, pub es: kvm_segment, @@ -9,23 +9,23 @@ pub ldt: kvm_segment, pub gdt: kvm_dtable, pub idt: kvm_dtable, - pub cr0: u64, - pub cr2: u64, - pub cr3: u64, - pub cr4: u64, - pub cr8: u64, - pub efer: u64, - pub apic_base: u64, - pub interrupt_bitmap: [u64; 4], -
}

Fields§

§cs: kvm_segment§ds: kvm_segment§es: kvm_segment§fs: kvm_segment§gs: kvm_segment§ss: kvm_segment§tr: kvm_segment§ldt: kvm_segment§gdt: kvm_dtable§idt: kvm_dtable§cr0: u64§cr2: u64§cr3: u64§cr4: u64§cr8: u64§efer: u64§apic_base: u64§interrupt_bitmap: [u64; 4]

Trait Implementations§

source§

impl Debug for kvm_sregs

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for kvm_sregs

source§

fn default() -> kvm_sregs

Returns the “default value” for a type. Read more
source§

impl Display for kvm_sregs

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ pub cr0: u64, + pub cr2: u64, + pub cr3: u64, + pub cr4: u64, + pub cr8: u64, + pub efer: u64, + pub apic_base: u64, + pub interrupt_bitmap: [u64; 4], +
}

Fields§

§cs: kvm_segment§ds: kvm_segment§es: kvm_segment§fs: kvm_segment§gs: kvm_segment§ss: kvm_segment§tr: kvm_segment§ldt: kvm_segment§gdt: kvm_dtable§idt: kvm_dtable§cr0: u64§cr2: u64§cr3: u64§cr4: u64§cr8: u64§efer: u64§apic_base: u64§interrupt_bitmap: [u64; 4]

Trait Implementations§

Source§

impl Debug for kvm_sregs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for kvm_sregs

Source§

fn default() -> kvm_sregs

Returns the “default value” for a type. Read more
Source§

impl Display for kvm_sregs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/struct.PhysAddr.html b/kvm_rs/struct.PhysAddr.html index 06a7696..c74d854 100644 --- a/kvm_rs/struct.PhysAddr.html +++ b/kvm_rs/struct.PhysAddr.html @@ -1,12 +1,12 @@ -PhysAddr in kvm_rs - Rust

Struct kvm_rs::PhysAddr

source ·
pub struct PhysAddr(pub u64);
Expand description

Strong type representing physical addresses.

-

Tuple Fields§

§0: u64

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+PhysAddr in kvm_rs - Rust
kvm_rs

Struct PhysAddr

Source
pub struct PhysAddr(pub u64);
Expand description

Strong type representing physical addresses.

+

Tuple Fields§

§0: u64

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/struct.UserMem.html b/kvm_rs/struct.UserMem.html index 55065b8..e027b4e 100644 --- a/kvm_rs/struct.UserMem.html +++ b/kvm_rs/struct.UserMem.html @@ -1,24 +1,24 @@ -UserMem in kvm_rs - Rust

Struct kvm_rs::UserMem

source ·
pub struct UserMem { /* private fields */ }
Expand description

Wrapper to safely allocate memory for guest VMs.

+UserMem in kvm_rs - Rust
kvm_rs

Struct UserMem

Source
pub struct UserMem { /* private fields */ }
Expand description

Wrapper to safely allocate memory for guest VMs.

The underlying memory is freed automatically once the UserMem instance is dropped.

Memory can be mapped into a guest VM with Vm::set_user_memory_region.

-

Implementations§

source§

impl UserMem

source

pub fn new(len: usize) -> Result<UserMem>

Allocate a zero-initialized memory region of len bytes.

-
source

pub fn with_init(len: usize, init_from: &[u8]) -> Result<UserMem>

Allocate a zero-initialized memory region of len bytes and initialize the first bytes +

Implementations§

Source§

impl UserMem

Source

pub fn new(len: usize) -> Result<UserMem>

Allocate a zero-initialized memory region of len bytes.

+
Source

pub fn with_init(len: usize, init_from: &[u8]) -> Result<UserMem>

Allocate a zero-initialized memory region of len bytes and initialize the first bytes with init_from.

-
Panics
+
§Panics

Panics if init_from is larger than the memory size len.

-
source

pub fn load(&mut self, addr: PhysAddr, data: &[u8])

Load the bytes stored in data into memory at physical address addr.

-
Panics
+
Source

pub fn load(&mut self, addr: PhysAddr, data: &[u8])

Load the bytes stored in data into memory at physical address addr.

+
§Panics

Panics if addr + data.len is larger than the memory size len.

-

Trait Implementations§

source§

impl AsMut<[u8]> for UserMem

source§

fn as_mut(&mut self) -> &mut [u8]

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<[u8]> for UserMem

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Drop for UserMem

source§

fn drop(&mut self)

Free underlying memory.

-

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

Source§

impl AsMut<[u8]> for UserMem

Source§

fn as_mut(&mut self) -> &mut [u8]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl AsRef<[u8]> for UserMem

Source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Drop for UserMem

Source§

fn drop(&mut self)

Free underlying memory.

+

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/vcpu/enum.KvmExit.html b/kvm_rs/vcpu/enum.KvmExit.html index 60efe11..459b484 100644 --- a/kvm_rs/vcpu/enum.KvmExit.html +++ b/kvm_rs/vcpu/enum.KvmExit.html @@ -1,21 +1,21 @@ -KvmExit in kvm_rs::vcpu - Rust

Enum kvm_rs::vcpu::KvmExit

source ·
pub enum KvmExit<'cpu> {
+KvmExit in kvm_rs::vcpu - Rust
kvm_rs::vcpu

Enum KvmExit

Source
pub enum KvmExit<'cpu> {
     Halt,
-    IoIn(u16, &'cpu mut [u8]),
-    IoOut(u16, &'cpu [u8]),
-    MmioRead(u64, &'cpu mut [u8]),
-    MmioWrite(u64, &'cpu [u8]),
-    Debug(u64),
+    IoIn(u16, &'cpu mut [u8]),
+    IoOut(u16, &'cpu [u8]),
+    MmioRead(u64, &'cpu mut [u8]),
+    MmioWrite(u64, &'cpu [u8]),
+    Debug(u64),
 }
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

§

IoIn(u16, &'cpu mut [u8])

§

IoOut(u16, &'cpu [u8])

§

MmioRead(u64, &'cpu mut [u8])

§

MmioWrite(u64, &'cpu [u8])

§

Debug(u64)

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§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants§

§

Halt

§

IoIn(u16, &'cpu mut [u8])

§

IoOut(u16, &'cpu [u8])

§

MmioRead(u64, &'cpu mut [u8])

§

MmioWrite(u64, &'cpu [u8])

§

Debug(u64)

Auto Trait Implementations§

§

impl<'cpu> Freeze for KvmExit<'cpu>

§

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§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::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 c2a404f..4b5aec6 100644 --- a/kvm_rs/vcpu/index.html +++ b/kvm_rs/vcpu/index.html @@ -1,2 +1,2 @@ -kvm_rs::vcpu - Rust

Module kvm_rs::vcpu

source ·
Expand description

VCPU system ioctls.

-

Structs

  • Wrapper for VCPU ioctls.

Enums

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

Module vcpu

Source
Expand description

VCPU system ioctls.

+

Structs§

  • Wrapper for VCPU ioctls.

Enums§

\ No newline at end of file diff --git a/kvm_rs/vcpu/struct.Vcpu.html b/kvm_rs/vcpu/struct.Vcpu.html index 4272687..215618c 100644 --- a/kvm_rs/vcpu/struct.Vcpu.html +++ b/kvm_rs/vcpu/struct.Vcpu.html @@ -1,30 +1,30 @@ -Vcpu in kvm_rs::vcpu - Rust

Struct kvm_rs::vcpu::Vcpu

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

Wrapper for VCPU ioctls.

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

Struct 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§

source§

impl Vcpu

source

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

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

Implementations§

Source§

impl Vcpu

Source

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

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

-
source

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

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

Source

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

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

-
source

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

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

Source

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

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

-
source

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

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

Source

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

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

-
source

pub fn get_debugregs(&self) -> Result<kvm_debugregs>

Get the debug registers with the KVM_GET_DEBUGREGS ioctl in form of +

Source

pub fn get_debugregs(&self) -> Result<kvm_debugregs>

Get the debug registers with the KVM_GET_DEBUGREGS ioctl in form of kvm_debugregs.

-
source

pub fn set_debugregs(&self, dregs: kvm_debugregs) -> Result<()>

Set the debug registers with the KVM_SET_DEBUGREGS ioctl in form of +

Source

pub fn set_debugregs(&self, dregs: kvm_debugregs) -> Result<()>

Set the debug registers with the KVM_SET_DEBUGREGS ioctl in form of kvm_debugregs.

-
source

pub fn set_single_step(&self, enable: bool) -> Result<()>

Enable or disable guest single steppig (debug) with the +

Source

pub fn set_single_step(&self, enable: bool) -> Result<()>

Enable or disable guest single steppig (debug) with the KVM_GUESTDBG_ENABLE ioctl.

-
source

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

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

Source

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

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§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Auto Trait Implementations§

§

impl Freeze for Vcpu

§

impl RefUnwindSafe for Vcpu

§

impl !Send for Vcpu

§

impl !Sync for Vcpu

§

impl Unpin for Vcpu

§

impl UnwindSafe for Vcpu

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/vm/index.html b/kvm_rs/vm/index.html index 7912acc..4717576 100644 --- a/kvm_rs/vm/index.html +++ b/kvm_rs/vm/index.html @@ -1,2 +1,2 @@ -kvm_rs::vm - Rust

Module kvm_rs::vm

source ·
Expand description

VM system ioctls.

-

Structs

  • Wrapper for VM ioctls.
\ No newline at end of file +kvm_rs::vm - Rust
kvm_rs

Module vm

Source
Expand description

VM system ioctls.

+

Structs§

  • Wrapper for VM ioctls.
\ No newline at end of file diff --git a/kvm_rs/vm/struct.Vm.html b/kvm_rs/vm/struct.Vm.html index 99e5728..7f82410 100644 --- a/kvm_rs/vm/struct.Vm.html +++ b/kvm_rs/vm/struct.Vm.html @@ -1,27 +1,27 @@ -Vm in kvm_rs::vm - Rust

Struct kvm_rs::vm::Vm

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

Wrapper for VM ioctls.

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

Struct 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§

source§

impl Vm

Implementations§

Source§

impl Vm

Source

pub unsafe fn set_user_memory_region( &self, phys_addr: PhysAddr, - mem: &UserMem -) -> Result<()>

Map memory from userspace into the VM as guest physical memory starting at address + mem: &UserMem, +) -> Result<()>

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

-
Safety
+
§Safety

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

-
source

pub fn create_vpcu(&self, id: u64) -> Result<Vcpu>

Create a new virtual cpu with the KVM_CREATE_VCPU ioctl. +

Source

pub fn create_vpcu(&self, id: u64) -> Result<Vcpu>

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

-

Auto Trait Implementations§

§

impl RefUnwindSafe for Vm

§

impl Send for Vm

§

impl Sync for Vm

§

impl Unpin for Vm

§

impl UnwindSafe for Vm

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Auto Trait Implementations§

§

impl Freeze for Vm

§

impl RefUnwindSafe for Vm

§

impl Send for Vm

§

impl Sync for Vm

§

impl Unpin for Vm

§

impl UnwindSafe for Vm

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

-
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_AM.html b/kvm_rs/x86_64/constant.CR0_AM.html index 9b27682..02d362a 100644 --- a/kvm_rs/x86_64/constant.CR0_AM.html +++ b/kvm_rs/x86_64/constant.CR0_AM.html @@ -1,4 +1,4 @@ -CR0_AM in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_AM

source ·
pub const CR0_AM: u64 = _; // 262_144u64
Expand description

Alignment Mask.

+CR0_AM in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_AM

Source
pub const CR0_AM: u64 = _; // 262_144u64
Expand description

Alignment Mask.

Enables alignment check for CPL=3, check is only done if the AC bit of the rflags register ist set.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_CD.html b/kvm_rs/x86_64/constant.CR0_CD.html index d68a02d..4e90244 100644 --- a/kvm_rs/x86_64/constant.CR0_CD.html +++ b/kvm_rs/x86_64/constant.CR0_CD.html @@ -1,2 +1,2 @@ -CR0_CD in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_CD

source ·
pub const CR0_CD: u64 = _; // 1_073_741_824u64
Expand description

Cachine disable.

+CR0_CD in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_CD

Source
pub const CR0_CD: u64 = _; // 1_073_741_824u64
Expand description

Cachine disable.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_EM.html b/kvm_rs/x86_64/constant.CR0_EM.html index 110d0f6..18123f5 100644 --- a/kvm_rs/x86_64/constant.CR0_EM.html +++ b/kvm_rs/x86_64/constant.CR0_EM.html @@ -1,4 +1,4 @@ -CR0_EM in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_EM

source ·
pub const CR0_EM: u64 = _; // 4u64
Expand description

Emulation.

+CR0_EM in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_EM

Source
pub const CR0_EM: u64 = _; // 4u64
Expand description

Emulation.

When set indicates the process does not have a FPU. FPU instructions will generate an exception that software can emulate the instruction.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_ET.html b/kvm_rs/x86_64/constant.CR0_ET.html index e92c905..943adbb 100644 --- a/kvm_rs/x86_64/constant.CR0_ET.html +++ b/kvm_rs/x86_64/constant.CR0_ET.html @@ -1,2 +1,2 @@ -CR0_ET in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_ET

source ·
pub const CR0_ET: u64 = _; // 16u64
Expand description

Extension Type.

+CR0_ET in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_ET

Source
pub const CR0_ET: u64 = _; // 16u64
Expand description

Extension Type.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_MP.html b/kvm_rs/x86_64/constant.CR0_MP.html index 16944b2..89d232c 100644 --- a/kvm_rs/x86_64/constant.CR0_MP.html +++ b/kvm_rs/x86_64/constant.CR0_MP.html @@ -1,2 +1,2 @@ -CR0_MP in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_MP

source ·
pub const CR0_MP: u64 = _; // 2u64
Expand description

Monitor Coprocessor.

+CR0_MP in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_MP

Source
pub const CR0_MP: u64 = _; // 2u64
Expand description

Monitor Coprocessor.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_NE.html b/kvm_rs/x86_64/constant.CR0_NE.html index db2813c..77abe7f 100644 --- a/kvm_rs/x86_64/constant.CR0_NE.html +++ b/kvm_rs/x86_64/constant.CR0_NE.html @@ -1,2 +1,2 @@ -CR0_NE in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_NE

source ·
pub const CR0_NE: u64 = _; // 32u64
Expand description

Numeric Error.

+CR0_NE in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_NE

Source
pub const CR0_NE: u64 = _; // 32u64
Expand description

Numeric Error.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_NW.html b/kvm_rs/x86_64/constant.CR0_NW.html index 76d02a6..00e00f3 100644 --- a/kvm_rs/x86_64/constant.CR0_NW.html +++ b/kvm_rs/x86_64/constant.CR0_NW.html @@ -1,2 +1,2 @@ -CR0_NW in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_NW

source ·
pub const CR0_NW: u64 = _; // 536_870_912u64
Expand description

Not Write-Torugh.

+CR0_NW in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_NW

Source
pub const CR0_NW: u64 = _; // 536_870_912u64
Expand description

Not Write-Torugh.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_PE.html b/kvm_rs/x86_64/constant.CR0_PE.html index aedff9d..d6eca5f 100644 --- a/kvm_rs/x86_64/constant.CR0_PE.html +++ b/kvm_rs/x86_64/constant.CR0_PE.html @@ -1,4 +1,4 @@ -CR0_PE in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_PE

source ·
pub const CR0_PE: u64 = _; // 1u64
Expand description

Protection Enable.

+CR0_PE in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_PE

Source
pub const CR0_PE: u64 = _; // 1u64
Expand description

Protection Enable.

Enables protected mode when set and real-address mode when cleared. This enables segment-level protection not paging.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_PG.html b/kvm_rs/x86_64/constant.CR0_PG.html index 6c29bab..159ef45 100644 --- a/kvm_rs/x86_64/constant.CR0_PG.html +++ b/kvm_rs/x86_64/constant.CR0_PG.html @@ -1,3 +1,3 @@ -CR0_PG in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_PG

source ·
pub const CR0_PG: u64 = _; // 2_147_483_648u64
Expand description

Paging.

+CR0_PG in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_PG

Source
pub const CR0_PG: u64 = _; // 2_147_483_648u64
Expand description

Paging.

Enables paging when set, requires CR0_PE to be set as well.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_TS.html b/kvm_rs/x86_64/constant.CR0_TS.html index d1cfd77..aa1efcf 100644 --- a/kvm_rs/x86_64/constant.CR0_TS.html +++ b/kvm_rs/x86_64/constant.CR0_TS.html @@ -1,2 +1,2 @@ -CR0_TS in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_TS

source ·
pub const CR0_TS: u64 = _; // 8u64
Expand description

Task Switched.

+CR0_TS in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_TS

Source
pub const CR0_TS: u64 = _; // 8u64
Expand description

Task Switched.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR0_WP.html b/kvm_rs/x86_64/constant.CR0_WP.html index 9ba728c..981140c 100644 --- a/kvm_rs/x86_64/constant.CR0_WP.html +++ b/kvm_rs/x86_64/constant.CR0_WP.html @@ -1,3 +1,3 @@ -CR0_WP in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR0_WP

source ·
pub const CR0_WP: u64 = _; // 65_536u64
Expand description

Write Protect.

+CR0_WP in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR0_WP

Source
pub const CR0_WP: u64 = _; // 65_536u64
Expand description

Write Protect.

When set supervisor-level procedures can’t write to read-only pages.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR3_PAGE_BASE_MASK.html b/kvm_rs/x86_64/constant.CR3_PAGE_BASE_MASK.html index b597c96..686b0a9 100644 --- a/kvm_rs/x86_64/constant.CR3_PAGE_BASE_MASK.html +++ b/kvm_rs/x86_64/constant.CR3_PAGE_BASE_MASK.html @@ -1,2 +1,2 @@ -CR3_PAGE_BASE_MASK in kvm_rs::x86_64 - Rust
pub const CR3_PAGE_BASE_MASK: u64 = 0xffff_ffff_ffff_0000;
Expand description

Mask for physical base address of paging structure.

+CR3_PAGE_BASE_MASK in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR3_PAGE_BASE_MASK

Source
pub const CR3_PAGE_BASE_MASK: u64 = 0xffff_ffff_ffff_0000;
Expand description

Mask for physical base address of paging structure.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR3_PCD.html b/kvm_rs/x86_64/constant.CR3_PCD.html index f74674f..ae3d43b 100644 --- a/kvm_rs/x86_64/constant.CR3_PCD.html +++ b/kvm_rs/x86_64/constant.CR3_PCD.html @@ -1,2 +1,2 @@ -CR3_PCD in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR3_PCD

source ·
pub const CR3_PCD: u64 = _; // 16u64
Expand description

Page-level Cache Disable.

+CR3_PCD in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR3_PCD

Source
pub const CR3_PCD: u64 = _; // 16u64
Expand description

Page-level Cache Disable.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR3_PWT.html b/kvm_rs/x86_64/constant.CR3_PWT.html index bbbfab4..22fe752 100644 --- a/kvm_rs/x86_64/constant.CR3_PWT.html +++ b/kvm_rs/x86_64/constant.CR3_PWT.html @@ -1,2 +1,2 @@ -CR3_PWT in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR3_PWT

source ·
pub const CR3_PWT: u64 = _; // 8u64
Expand description

Page-level Write-Through.

+CR3_PWT in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR3_PWT

Source
pub const CR3_PWT: u64 = _; // 8u64
Expand description

Page-level Write-Through.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR4_LA57.html b/kvm_rs/x86_64/constant.CR4_LA57.html index bfc83e9..b5cf579 100644 --- a/kvm_rs/x86_64/constant.CR4_LA57.html +++ b/kvm_rs/x86_64/constant.CR4_LA57.html @@ -1,4 +1,4 @@ -CR4_LA57 in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR4_LA57

source ·
pub const CR4_LA57: u64 = _; // 32u64
Expand description

57-bit Linear Addresses.

+CR4_LA57 in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR4_LA57

Source
pub const CR4_LA57: u64 = _; // 32u64
Expand description

57-bit Linear Addresses.

When set in long mode enables 5-level paging to translate 57-bit linear addresses. When cleared use 4-level paging to translate 48-bit linear addresses.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.CR4_PAE.html b/kvm_rs/x86_64/constant.CR4_PAE.html index 85a50ea..a8c389d 100644 --- a/kvm_rs/x86_64/constant.CR4_PAE.html +++ b/kvm_rs/x86_64/constant.CR4_PAE.html @@ -1,4 +1,4 @@ -CR4_PAE in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::CR4_PAE

source ·
pub const CR4_PAE: u64 = _; // 32u64
Expand description

Physical Address Extenstion.

+CR4_PAE in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant CR4_PAE

Source
pub const CR4_PAE: u64 = _; // 32u64
Expand description

Physical Address Extenstion.

When set enables paging to produce physicall addresses with more than 32 bits. Required before entering long mode.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.EFER_LMA.html b/kvm_rs/x86_64/constant.EFER_LMA.html index 2368111..ef17528 100644 --- a/kvm_rs/x86_64/constant.EFER_LMA.html +++ b/kvm_rs/x86_64/constant.EFER_LMA.html @@ -1,3 +1,3 @@ -EFER_LMA in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::EFER_LMA

source ·
pub const EFER_LMA: u64 = _; // 1_024u64
Expand description

Long Mode Active (readonly).

+EFER_LMA in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant EFER_LMA

Source
pub const EFER_LMA: u64 = _; // 1_024u64
Expand description

Long Mode Active (readonly).

When set indicates long mode is active.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.EFER_LME.html b/kvm_rs/x86_64/constant.EFER_LME.html index 16cbf36..cd32d5d 100644 --- a/kvm_rs/x86_64/constant.EFER_LME.html +++ b/kvm_rs/x86_64/constant.EFER_LME.html @@ -1,3 +1,3 @@ -EFER_LME in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::EFER_LME

source ·
pub const EFER_LME: u64 = _; // 256u64
Expand description

Long Mode Enable.

+EFER_LME in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant EFER_LME

Source
pub const EFER_LME: u64 = _; // 256u64
Expand description

Long Mode Enable.

When set enables long mode operations.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.MSR_EFER.html b/kvm_rs/x86_64/constant.MSR_EFER.html index c83b8b2..d835893 100644 --- a/kvm_rs/x86_64/constant.MSR_EFER.html +++ b/kvm_rs/x86_64/constant.MSR_EFER.html @@ -1,4 +1,4 @@ -MSR_EFER in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::MSR_EFER

source ·
pub const MSR_EFER: u64 = 0xc000_0080;
Expand description

Extended Feature Enable Register MSR number.

+MSR_EFER in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant MSR_EFER

Source
pub const MSR_EFER: u64 = 0xc000_0080;
Expand description

Extended Feature Enable Register MSR number.

MSR number used with the rdmsr and wrmsr instructions to read/write the EFER model specific register.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.PAGE_ENTRY_PRESENT.html b/kvm_rs/x86_64/constant.PAGE_ENTRY_PRESENT.html index eac9476..7cb6134 100644 --- a/kvm_rs/x86_64/constant.PAGE_ENTRY_PRESENT.html +++ b/kvm_rs/x86_64/constant.PAGE_ENTRY_PRESENT.html @@ -1,2 +1,2 @@ -PAGE_ENTRY_PRESENT in kvm_rs::x86_64 - Rust
pub const PAGE_ENTRY_PRESENT: u64 = _; // 1u64
Expand description

Page entry present.

+PAGE_ENTRY_PRESENT in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant PAGE_ENTRY_PRESENT

Source
pub const PAGE_ENTRY_PRESENT: u64 = _; // 1u64
Expand description

Page entry present.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.PAGE_ENTRY_RW.html b/kvm_rs/x86_64/constant.PAGE_ENTRY_RW.html index 7704dac..09d4259 100644 --- a/kvm_rs/x86_64/constant.PAGE_ENTRY_RW.html +++ b/kvm_rs/x86_64/constant.PAGE_ENTRY_RW.html @@ -1,3 +1,3 @@ -PAGE_ENTRY_RW in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::PAGE_ENTRY_RW

source ·
pub const PAGE_ENTRY_RW: u64 = _; // 2u64
Expand description

Page region read/write.

+PAGE_ENTRY_RW in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant PAGE_ENTRY_RW

Source
pub const PAGE_ENTRY_RW: u64 = _; // 2u64
Expand description

Page region read/write.

If set, region reference by paging entry is writeable.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_AC.html b/kvm_rs/x86_64/constant.RFLAGS_AC.html index 54cb40e..a8065fe 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_AC.html +++ b/kvm_rs/x86_64/constant.RFLAGS_AC.html @@ -1,2 +1,2 @@ -RFLAGS_AC in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_AC

source ·
pub const RFLAGS_AC: u64 = _; // 262_144u64
Expand description

Alignment check.

+RFLAGS_AC in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_AC

Source
pub const RFLAGS_AC: u64 = _; // 262_144u64
Expand description

Alignment check.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_AF.html b/kvm_rs/x86_64/constant.RFLAGS_AF.html index 8982636..da54182 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_AF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_AF.html @@ -1,2 +1,2 @@ -RFLAGS_AF in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_AF

source ·
pub const RFLAGS_AF: u64 = _; // 16u64
Expand description

Adjust flag.

+RFLAGS_AF in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_AF

Source
pub const RFLAGS_AF: u64 = _; // 16u64
Expand description

Adjust flag.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_CF.html b/kvm_rs/x86_64/constant.RFLAGS_CF.html index 424ee2b..82ea933 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_CF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_CF.html @@ -1,2 +1,2 @@ -RFLAGS_CF in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_CF

source ·
pub const RFLAGS_CF: u64 = _; // 1u64
Expand description

Carry flag.

+RFLAGS_CF in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_CF

Source
pub const RFLAGS_CF: u64 = _; // 1u64
Expand description

Carry flag.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_DF.html b/kvm_rs/x86_64/constant.RFLAGS_DF.html index 752b379..044a4ce 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_DF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_DF.html @@ -1,2 +1,2 @@ -RFLAGS_DF in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_DF

source ·
pub const RFLAGS_DF: u64 = _; // 1_024u64
Expand description

Direction flag.

+RFLAGS_DF in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_DF

Source
pub const RFLAGS_DF: u64 = _; // 1_024u64
Expand description

Direction flag.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_IF.html b/kvm_rs/x86_64/constant.RFLAGS_IF.html index fc56a0d..b5d6ab7 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_IF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_IF.html @@ -1,2 +1,2 @@ -RFLAGS_IF in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_IF

source ·
pub const RFLAGS_IF: u64 = _; // 512u64
Expand description

Sign flag.

+RFLAGS_IF in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_IF

Source
pub const RFLAGS_IF: u64 = _; // 512u64
Expand description

Sign flag.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_IOPL.html b/kvm_rs/x86_64/constant.RFLAGS_IOPL.html index 73598ba..56544d8 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_IOPL.html +++ b/kvm_rs/x86_64/constant.RFLAGS_IOPL.html @@ -1,2 +1,2 @@ -RFLAGS_IOPL in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_IOPL

source ·
pub const RFLAGS_IOPL: u64 = _; // 12_288u64
Expand description

I/O privilege level.

+RFLAGS_IOPL in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_IOPL

Source
pub const RFLAGS_IOPL: u64 = _; // 12_288u64
Expand description

I/O privilege level.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_OF.html b/kvm_rs/x86_64/constant.RFLAGS_OF.html index 3b3dd0c..32dd48f 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_OF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_OF.html @@ -1,2 +1,2 @@ -RFLAGS_OF in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_OF

source ·
pub const RFLAGS_OF: u64 = _; // 2_048u64
Expand description

Overflow flag.

+RFLAGS_OF in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_OF

Source
pub const RFLAGS_OF: u64 = _; // 2_048u64
Expand description

Overflow flag.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_PF.html b/kvm_rs/x86_64/constant.RFLAGS_PF.html index 60a02f6..4893246 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_PF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_PF.html @@ -1,2 +1,2 @@ -RFLAGS_PF in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_PF

source ·
pub const RFLAGS_PF: u64 = _; // 4u64
Expand description

Parity flag.

+RFLAGS_PF in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_PF

Source
pub const RFLAGS_PF: u64 = _; // 4u64
Expand description

Parity flag.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_SF.html b/kvm_rs/x86_64/constant.RFLAGS_SF.html index c76df45..9aca149 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_SF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_SF.html @@ -1,2 +1,2 @@ -RFLAGS_SF in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_SF

source ·
pub const RFLAGS_SF: u64 = _; // 128u64
Expand description

Sign flag.

+RFLAGS_SF in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_SF

Source
pub const RFLAGS_SF: u64 = _; // 128u64
Expand description

Sign flag.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_TF.html b/kvm_rs/x86_64/constant.RFLAGS_TF.html index f90a74e..bec42da 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_TF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_TF.html @@ -1,2 +1,2 @@ -RFLAGS_TF in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_TF

source ·
pub const RFLAGS_TF: u64 = _; // 256u64
Expand description

Trap flag.

+RFLAGS_TF in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_TF

Source
pub const RFLAGS_TF: u64 = _; // 256u64
Expand description

Trap flag.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.RFLAGS_ZF.html b/kvm_rs/x86_64/constant.RFLAGS_ZF.html index 966a9ce..6daba21 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_ZF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_ZF.html @@ -1,2 +1,2 @@ -RFLAGS_ZF in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::RFLAGS_ZF

source ·
pub const RFLAGS_ZF: u64 = _; // 64u64
Expand description

Zero flag.

+RFLAGS_ZF in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant RFLAGS_ZF

Source
pub const RFLAGS_ZF: u64 = _; // 64u64
Expand description

Zero flag.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.SEG_SELECTOR_INDEX.html b/kvm_rs/x86_64/constant.SEG_SELECTOR_INDEX.html index 8824d41..91d8f14 100644 --- a/kvm_rs/x86_64/constant.SEG_SELECTOR_INDEX.html +++ b/kvm_rs/x86_64/constant.SEG_SELECTOR_INDEX.html @@ -1,4 +1,4 @@ -SEG_SELECTOR_INDEX in kvm_rs::x86_64 - Rust
pub const SEG_SELECTOR_INDEX: u16 = _; // 65_528u16
Expand description

Table index.

+SEG_SELECTOR_INDEX in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant SEG_SELECTOR_INDEX

Source
pub const SEG_SELECTOR_INDEX: u16 = _; // 65_528u16
Expand description

Table index.

Index into the GDT or LDT table to select the segment descriptor. GDT.base + 8 * index gives the address of the segment descriptor (times 8 because every segment descriptor is 8 byte).

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.SEG_SELECTOR_RPL.html b/kvm_rs/x86_64/constant.SEG_SELECTOR_RPL.html index 7422838..4b55ef4 100644 --- a/kvm_rs/x86_64/constant.SEG_SELECTOR_RPL.html +++ b/kvm_rs/x86_64/constant.SEG_SELECTOR_RPL.html @@ -1,4 +1,4 @@ -SEG_SELECTOR_RPL in kvm_rs::x86_64 - Rust
pub const SEG_SELECTOR_RPL: u16 = _; // 3u16
Expand description

Requested privilege level.

+SEG_SELECTOR_RPL in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant SEG_SELECTOR_RPL

Source
pub const SEG_SELECTOR_RPL: u16 = _; // 3u16
Expand description

Requested privilege level.

Privilege level of the segment selector, where 0 is the most privileged mode and 3 the least.

\ No newline at end of file diff --git a/kvm_rs/x86_64/constant.SEG_SELECTOR_TI.html b/kvm_rs/x86_64/constant.SEG_SELECTOR_TI.html index 4b59437..a66099b 100644 --- a/kvm_rs/x86_64/constant.SEG_SELECTOR_TI.html +++ b/kvm_rs/x86_64/constant.SEG_SELECTOR_TI.html @@ -1,4 +1,4 @@ -SEG_SELECTOR_TI in kvm_rs::x86_64 - Rust

Constant kvm_rs::x86_64::SEG_SELECTOR_TI

source ·
pub const SEG_SELECTOR_TI: u16 = _; // 4u16
Expand description

Table indicator.

+SEG_SELECTOR_TI in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Constant SEG_SELECTOR_TI

Source
pub const SEG_SELECTOR_TI: u16 = _; // 4u16
Expand description

Table indicator.

diff --git a/kvm_rs/x86_64/fn.rflags_ac.html b/kvm_rs/x86_64/fn.rflags_ac.html index 0711145..5045b40 100644 --- a/kvm_rs/x86_64/fn.rflags_ac.html +++ b/kvm_rs/x86_64/fn.rflags_ac.html @@ -1 +1 @@ -rflags_ac in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_ac

source ·
pub const fn rflags_ac(r: u64) -> u64
\ No newline at end of file +rflags_ac in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_ac

Source
pub const fn rflags_ac(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_af.html b/kvm_rs/x86_64/fn.rflags_af.html index f517642..bf70219 100644 --- a/kvm_rs/x86_64/fn.rflags_af.html +++ b/kvm_rs/x86_64/fn.rflags_af.html @@ -1 +1 @@ -rflags_af in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_af

source ·
pub const fn rflags_af(r: u64) -> u64
\ No newline at end of file +rflags_af in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_af

Source
pub const fn rflags_af(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_cf.html b/kvm_rs/x86_64/fn.rflags_cf.html index 7222f67..7047258 100644 --- a/kvm_rs/x86_64/fn.rflags_cf.html +++ b/kvm_rs/x86_64/fn.rflags_cf.html @@ -1 +1 @@ -rflags_cf in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_cf

source ·
pub const fn rflags_cf(r: u64) -> u64
\ No newline at end of file +rflags_cf in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_cf

Source
pub const fn rflags_cf(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_df.html b/kvm_rs/x86_64/fn.rflags_df.html index 321a9e2..382c9c8 100644 --- a/kvm_rs/x86_64/fn.rflags_df.html +++ b/kvm_rs/x86_64/fn.rflags_df.html @@ -1 +1 @@ -rflags_df in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_df

source ·
pub const fn rflags_df(r: u64) -> u64
\ No newline at end of file +rflags_df in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_df

Source
pub const fn rflags_df(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_if.html b/kvm_rs/x86_64/fn.rflags_if.html index 65cbedc..d064f21 100644 --- a/kvm_rs/x86_64/fn.rflags_if.html +++ b/kvm_rs/x86_64/fn.rflags_if.html @@ -1 +1 @@ -rflags_if in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_if

source ·
pub const fn rflags_if(r: u64) -> u64
\ No newline at end of file +rflags_if in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_if

Source
pub const fn rflags_if(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_iopl.html b/kvm_rs/x86_64/fn.rflags_iopl.html index 9eb1690..1940d22 100644 --- a/kvm_rs/x86_64/fn.rflags_iopl.html +++ b/kvm_rs/x86_64/fn.rflags_iopl.html @@ -1 +1 @@ -rflags_iopl in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_iopl

source ·
pub const fn rflags_iopl(r: u64) -> u64
\ No newline at end of file +rflags_iopl in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_iopl

Source
pub const fn rflags_iopl(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_of.html b/kvm_rs/x86_64/fn.rflags_of.html index 9f44e9d..9773ff5 100644 --- a/kvm_rs/x86_64/fn.rflags_of.html +++ b/kvm_rs/x86_64/fn.rflags_of.html @@ -1 +1 @@ -rflags_of in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_of

source ·
pub const fn rflags_of(r: u64) -> u64
\ No newline at end of file +rflags_of in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_of

Source
pub const fn rflags_of(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_pf.html b/kvm_rs/x86_64/fn.rflags_pf.html index b0ffc88..1595183 100644 --- a/kvm_rs/x86_64/fn.rflags_pf.html +++ b/kvm_rs/x86_64/fn.rflags_pf.html @@ -1 +1 @@ -rflags_pf in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_pf

source ·
pub const fn rflags_pf(r: u64) -> u64
\ No newline at end of file +rflags_pf in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_pf

Source
pub const fn rflags_pf(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_sf.html b/kvm_rs/x86_64/fn.rflags_sf.html index 317592e..db80e77 100644 --- a/kvm_rs/x86_64/fn.rflags_sf.html +++ b/kvm_rs/x86_64/fn.rflags_sf.html @@ -1 +1 @@ -rflags_sf in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_sf

source ·
pub const fn rflags_sf(r: u64) -> u64
\ No newline at end of file +rflags_sf in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_sf

Source
pub const fn rflags_sf(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_tf.html b/kvm_rs/x86_64/fn.rflags_tf.html index d34f68d..91e5000 100644 --- a/kvm_rs/x86_64/fn.rflags_tf.html +++ b/kvm_rs/x86_64/fn.rflags_tf.html @@ -1 +1 @@ -rflags_tf in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_tf

source ·
pub const fn rflags_tf(r: u64) -> u64
\ No newline at end of file +rflags_tf in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_tf

Source
pub const fn rflags_tf(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_zf.html b/kvm_rs/x86_64/fn.rflags_zf.html index 0ac01d0..da8a402 100644 --- a/kvm_rs/x86_64/fn.rflags_zf.html +++ b/kvm_rs/x86_64/fn.rflags_zf.html @@ -1 +1 @@ -rflags_zf in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::rflags_zf

source ·
pub const fn rflags_zf(r: u64) -> u64
\ No newline at end of file +rflags_zf in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function rflags_zf

Source
pub const fn rflags_zf(r: u64) -> u64
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.seg_selector_index.html b/kvm_rs/x86_64/fn.seg_selector_index.html index 783408d..2ec7597 100644 --- a/kvm_rs/x86_64/fn.seg_selector_index.html +++ b/kvm_rs/x86_64/fn.seg_selector_index.html @@ -1 +1 @@ -seg_selector_index in kvm_rs::x86_64 - Rust
pub const fn seg_selector_index(s: u16) -> u16
\ No newline at end of file +seg_selector_index in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function seg_selector_index

Source
pub const fn seg_selector_index(s: u16) -> u16
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.seg_selector_rpl.html b/kvm_rs/x86_64/fn.seg_selector_rpl.html index a3a647f..6a2b1e3 100644 --- a/kvm_rs/x86_64/fn.seg_selector_rpl.html +++ b/kvm_rs/x86_64/fn.seg_selector_rpl.html @@ -1 +1 @@ -seg_selector_rpl in kvm_rs::x86_64 - Rust
pub const fn seg_selector_rpl(s: u16) -> u16
\ No newline at end of file +seg_selector_rpl in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function seg_selector_rpl

Source
pub const fn seg_selector_rpl(s: u16) -> u16
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.seg_selector_ti.html b/kvm_rs/x86_64/fn.seg_selector_ti.html index e572d64..5b63825 100644 --- a/kvm_rs/x86_64/fn.seg_selector_ti.html +++ b/kvm_rs/x86_64/fn.seg_selector_ti.html @@ -1 +1 @@ -seg_selector_ti in kvm_rs::x86_64 - Rust

Function kvm_rs::x86_64::seg_selector_ti

source ·
pub const fn seg_selector_ti(s: u16) -> u16
\ No newline at end of file +seg_selector_ti in kvm_rs::x86_64 - Rust
kvm_rs::x86_64

Function seg_selector_ti

Source
pub const fn seg_selector_ti(s: u16) -> u16
\ No newline at end of file diff --git a/kvm_rs/x86_64/index.html b/kvm_rs/x86_64/index.html index 7e6a415..7fc8ac2 100644 --- a/kvm_rs/x86_64/index.html +++ b/kvm_rs/x86_64/index.html @@ -1,2 +1,2 @@ -kvm_rs::x86_64 - Rust

Module kvm_rs::x86_64

source ·
Expand description

x86_64 flags and bitfields.

-

Constants

Functions

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

Module x86_64

Source
Expand description

x86_64 flags and bitfields.

+

Constants§

Functions§

\ No newline at end of file -- cgit v1.2.3
TITable
0GDT
1LDT