From 091d408a87d0f73f1c4e0166849ca9a566f005e0 Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 15 Nov 2023 21:40:27 +0000 Subject: deploy: f52d556e0e1bf2350b3b42cff198550a267ceb0b --- kvm_rs/all.html | 9 +--- kvm_rs/cap/enum.CapBool.html | 37 +++++-------- kvm_rs/cap/enum.CapInt.html | 39 +++++--------- kvm_rs/cap/index.html | 19 ++----- kvm_rs/cap/sidebar-items.js | 2 +- kvm_rs/index.html | 20 +------ kvm_rs/kvm/index.html | 14 +---- kvm_rs/kvm/sidebar-items.js | 2 +- kvm_rs/kvm/struct.Kvm.html | 41 ++++++--------- kvm_rs/kvm_sys/index.html | 13 +---- kvm_rs/kvm_sys/sidebar-items.js | 2 +- kvm_rs/kvm_sys/struct.kvm_debugregs.html | 43 ++++++--------- kvm_rs/kvm_sys/struct.kvm_dtable.html | 40 +++++--------- kvm_rs/kvm_sys/struct.kvm_regs.html | 72 +++++++++++--------------- kvm_rs/kvm_sys/struct.kvm_segment.html | 58 ++++++++------------- kvm_rs/kvm_sys/struct.kvm_sregs.html | 52 +++++++------------ kvm_rs/sidebar-items.js | 2 +- kvm_rs/struct.PhysAddr.html | 31 ++++------- kvm_rs/struct.UserMem.html | 43 ++++++--------- kvm_rs/vcpu/enum.KvmExit.html | 43 ++++++--------- kvm_rs/vcpu/index.html | 16 +----- kvm_rs/vcpu/sidebar-items.js | 2 +- kvm_rs/vcpu/struct.Vcpu.html | 61 ++++++++++------------ kvm_rs/vm/index.html | 14 +---- kvm_rs/vm/sidebar-items.js | 2 +- kvm_rs/vm/struct.Vm.html | 41 +++++++-------- kvm_rs/x86_64/constant.CR0_AM.html | 14 ++--- kvm_rs/x86_64/constant.CR0_CD.html | 12 +---- kvm_rs/x86_64/constant.CR0_EM.html | 12 +---- kvm_rs/x86_64/constant.CR0_ET.html | 12 +---- kvm_rs/x86_64/constant.CR0_MP.html | 12 +---- kvm_rs/x86_64/constant.CR0_NE.html | 12 +---- kvm_rs/x86_64/constant.CR0_NW.html | 12 +---- kvm_rs/x86_64/constant.CR0_PE.html | 12 +---- kvm_rs/x86_64/constant.CR0_PG.html | 14 ++--- kvm_rs/x86_64/constant.CR0_TS.html | 12 +---- kvm_rs/x86_64/constant.CR0_WP.html | 12 +---- kvm_rs/x86_64/constant.CR3_PAGE_BASE_MASK.html | 12 +---- kvm_rs/x86_64/constant.CR3_PCD.html | 12 +---- kvm_rs/x86_64/constant.CR3_PWT.html | 12 +---- kvm_rs/x86_64/constant.CR4_LA57.html | 12 +---- kvm_rs/x86_64/constant.CR4_PAE.html | 12 +---- kvm_rs/x86_64/constant.EFER_LMA.html | 12 +---- kvm_rs/x86_64/constant.EFER_LME.html | 12 +---- kvm_rs/x86_64/constant.MSR_EFER.html | 12 +---- kvm_rs/x86_64/constant.PAGE_ENTRY_PRESENT.html | 12 +---- kvm_rs/x86_64/constant.PAGE_ENTRY_RW.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_AC.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_AF.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_CF.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_DF.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_IF.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_IOPL.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_OF.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_PF.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_SF.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_TF.html | 12 +---- kvm_rs/x86_64/constant.RFLAGS_ZF.html | 12 +---- kvm_rs/x86_64/constant.SEG_SELECTOR_INDEX.html | 12 +---- kvm_rs/x86_64/constant.SEG_SELECTOR_RPL.html | 12 +---- kvm_rs/x86_64/constant.SEG_SELECTOR_TI.html | 12 +---- kvm_rs/x86_64/fn.rflags_ac.html | 10 +--- kvm_rs/x86_64/fn.rflags_af.html | 10 +--- kvm_rs/x86_64/fn.rflags_cf.html | 10 +--- kvm_rs/x86_64/fn.rflags_df.html | 10 +--- kvm_rs/x86_64/fn.rflags_if.html | 10 +--- kvm_rs/x86_64/fn.rflags_iopl.html | 10 +--- kvm_rs/x86_64/fn.rflags_of.html | 10 +--- kvm_rs/x86_64/fn.rflags_pf.html | 10 +--- kvm_rs/x86_64/fn.rflags_sf.html | 10 +--- kvm_rs/x86_64/fn.rflags_tf.html | 10 +--- kvm_rs/x86_64/fn.rflags_zf.html | 10 +--- kvm_rs/x86_64/fn.seg_selector_index.html | 10 +--- kvm_rs/x86_64/fn.seg_selector_rpl.html | 10 +--- kvm_rs/x86_64/fn.seg_selector_ti.html | 10 +--- kvm_rs/x86_64/index.html | 49 +----------------- kvm_rs/x86_64/sidebar-items.js | 2 +- 77 files changed, 343 insertions(+), 990 deletions(-) (limited to 'kvm_rs') diff --git a/kvm_rs/all.html b/kvm_rs/all.html index 328a658..88b7466 100644 --- a/kvm_rs/all.html +++ b/kvm_rs/all.html @@ -1,8 +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 0df131e..fb40efb 100644 --- a/kvm_rs/cap/enum.CapBool.html +++ b/kvm_rs/cap/enum.CapBool.html @@ -1,27 +1,16 @@ -CapBool in kvm_rs::cap - Rust -
#[repr(u64)]
-pub enum CapBool {
+CapBool in kvm_rs::cap - Rust

Enum kvm_rs::cap::CapBool

source ·
#[repr(u64)]
pub enum CapBool { CheckExtensionVm, -}
Expand description

Definition of capabilities that return a bool value indicating whether the capability is +}

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

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

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

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

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

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/cap/enum.CapInt.html b/kvm_rs/cap/enum.CapInt.html index 4e4a7c2..ac2412a 100644 --- a/kvm_rs/cap/enum.CapInt.html +++ b/kvm_rs/cap/enum.CapInt.html @@ -1,29 +1,18 @@ -CapInt in kvm_rs::cap - Rust -
#[repr(u64)]
-pub enum CapInt {
+CapInt in kvm_rs::cap - Rust

Enum kvm_rs::cap::CapInt

source ·
#[repr(u64)]
pub enum CapInt { NrVcpus, MaxVcpus, -}
Expand description

Definition of capabilities that return an integer value indicating the amount of the queried +}

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

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

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

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

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

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/cap/index.html b/kvm_rs/cap/index.html index 71c61aa..514850f 100644 --- a/kvm_rs/cap/index.html +++ b/kvm_rs/cap/index.html @@ -1,15 +1,4 @@ -kvm_rs::cap - Rust -
-

Module kvm_rs::cap

source · []
Expand description

Definitions of KVM capabilities.

-

Enums

-

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

-

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

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

Module kvm_rs::cap

source ·
Expand description

Definitions of KVM capabilities.

+

Enums

  • Definition of capabilities that return a bool value indicating whether the capability is +supported or not.
  • Definition of capabilities that return an integer value indicating the amount of the queried +capability.
\ No newline at end of file diff --git a/kvm_rs/cap/sidebar-items.js b/kvm_rs/cap/sidebar-items.js index c1f8adc..514a3d3 100644 --- a/kvm_rs/cap/sidebar-items.js +++ b/kvm_rs/cap/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":[["CapBool","Definition of capabilities that return a bool value indicating whether the capability is supported or not."],["CapInt","Definition of capabilities that return an integer value indicating the amount of the queried capability."]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":["CapBool","CapInt"]}; \ No newline at end of file diff --git a/kvm_rs/index.html b/kvm_rs/index.html index 1a587a7..eb0a421 100644 --- a/kvm_rs/index.html +++ b/kvm_rs/index.html @@ -1,19 +1 @@ -kvm_rs - Rust -
-

Crate kvm_rs

source · []

Modules

-

Definitions of KVM capabilities.

-

KVM system ioctls.

-

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

-

VCPU system ioctls.

-

VM system ioctls.

-

x86_64 flags and bitfields.

-

Structs

-

Strong type representing physical addresses.

-

Wrapper to safely allocate memory for guest VMs.

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

Crate kvm_rs

source ·

Modules

Structs

  • Strong type representing physical addresses.
  • Wrapper to safely allocate memory for guest VMs.
\ No newline at end of file diff --git a/kvm_rs/kvm/index.html b/kvm_rs/kvm/index.html index 3117741..21255ce 100644 --- a/kvm_rs/kvm/index.html +++ b/kvm_rs/kvm/index.html @@ -1,12 +1,2 @@ -kvm_rs::kvm - Rust -
-

Module kvm_rs::kvm

source · []
Expand description

KVM system ioctls.

-

Structs

-

Wrapper for /dev/kvm ioctls.

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

Module kvm_rs::kvm

source ·
Expand description

KVM system ioctls.

+

Structs

  • Wrapper for /dev/kvm ioctls.
\ No newline at end of file diff --git a/kvm_rs/kvm/sidebar-items.js b/kvm_rs/kvm/sidebar-items.js index 4a6a1e6..e8ecb95 100644 --- a/kvm_rs/kvm/sidebar-items.js +++ b/kvm_rs/kvm/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"struct":[["Kvm","Wrapper for `/dev/kvm` ioctls."]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"struct":["Kvm"]}; \ No newline at end of file diff --git a/kvm_rs/kvm/struct.Kvm.html b/kvm_rs/kvm/struct.Kvm.html index 533acc4..5dc9c82 100644 --- a/kvm_rs/kvm/struct.Kvm.html +++ b/kvm_rs/kvm/struct.Kvm.html @@ -1,30 +1,21 @@ -Kvm in kvm_rs::kvm - Rust -
-

Struct kvm_rs::kvm::Kvm

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

Wrapper for /dev/kvm ioctls.

+Kvm in kvm_rs::kvm - Rust

Struct kvm_rs::kvm::Kvm

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

Wrapper for /dev/kvm ioctls.

Representation of the file descriptor obtained by opening /dev/kvm. This wrapper provides access to the system ioctls as described in KVM API.

-

Implementations

Open the /dev/kvm device.

-

Create a new virtual machine with the KVM_CREATE_VM ioctl. -Returns a wrapper vm::Vm representing the VM.

-

Check availability of an extension with the KVM_CHECK_EXTENSION +

Implementations§

source§

impl Kvm

source

pub fn new() -> Result<Kvm>

Open the /dev/kvm device.

+
source

pub fn create_vm(&self) -> Result<Vm>

Create a new virtual machine with the KVM_CREATE_VM ioctl. +Returns a wrapper vm::Vm representing the VM.

+
source

pub fn check_extenstion(&self, cap: CapBool) -> bool

Check availability of an extension with the KVM_CHECK_EXTENSION ioctl.

-

Check availability of an extension with the KVM_CHECK_EXTENSION +

source

pub fn check_extenstion_int(&self, cap: CapInt) -> i32

Check availability of an extension with the KVM_CHECK_EXTENSION ioctl.

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Auto Trait Implementations§

§

impl RefUnwindSafe for Kvm

§

impl Send for Kvm

§

impl Sync for Kvm

§

impl Unpin for Kvm

§

impl UnwindSafe for Kvm

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

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

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/kvm_sys/index.html b/kvm_rs/kvm_sys/index.html index 7686159..641a69d 100644 --- a/kvm_rs/kvm_sys/index.html +++ b/kvm_rs/kvm_sys/index.html @@ -1,11 +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

Module kvm_rs::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/sidebar-items.js b/kvm_rs/kvm_sys/sidebar-items.js index 51cc1de..d3bc6a0 100644 --- a/kvm_rs/kvm_sys/sidebar-items.js +++ b/kvm_rs/kvm_sys/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"struct":[["kvm_debugregs",""],["kvm_dtable",""],["kvm_regs",""],["kvm_segment",""],["kvm_sregs",""]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"struct":["kvm_debugregs","kvm_dtable","kvm_regs","kvm_segment","kvm_sregs"]}; \ 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 7c9ea8e..f2a2466 100644 --- a/kvm_rs/kvm_sys/struct.kvm_debugregs.html +++ b/kvm_rs/kvm_sys/struct.kvm_debugregs.html @@ -1,28 +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: u64dr7: u64flags: u64reserved: [u64; 9]

Trait Implementations

Formats the value using the given formatter. Read more

-

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

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

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

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

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/kvm_sys/struct.kvm_dtable.html b/kvm_rs/kvm_sys/struct.kvm_dtable.html index 78b1ce7..a8d5398 100644 --- a/kvm_rs/kvm_sys/struct.kvm_dtable.html +++ b/kvm_rs/kvm_sys/struct.kvm_dtable.html @@ -1,28 +1,16 @@ -kvm_dtable in kvm_rs::kvm_sys - Rust -
#[repr(C)]
pub struct kvm_dtable { - pub base: u64, - pub limit: u16, +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: u64limit: u16

Trait Implementations

Formats the value using the given formatter. Read more

-

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

-

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+}

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

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

-

Converts the given value to a String. Read more

-

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 +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 diff --git a/kvm_rs/kvm_sys/struct.kvm_regs.html b/kvm_rs/kvm_sys/struct.kvm_regs.html index 5a067fc..203a4cb 100644 --- a/kvm_rs/kvm_sys/struct.kvm_regs.html +++ b/kvm_rs/kvm_sys/struct.kvm_regs.html @@ -1,43 +1,31 @@ -kvm_regs in kvm_rs::kvm_sys - Rust -
#[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: u64rbx: u64rcx: u64rdx: u64rsi: u64rdi: u64rsp: u64rbp: u64r8: u64r9: u64r10: u64r11: u64r12: u64r13: u64r14: u64r15: u64rip: u64rflags: u64

Trait Implementations

Formats the value using the given formatter. Read more

-

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

-

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

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

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

-

Converts the given value to a String. Read more

-

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 +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 diff --git a/kvm_rs/kvm_sys/struct.kvm_segment.html b/kvm_rs/kvm_sys/struct.kvm_segment.html index db0768b..903d8a3 100644 --- a/kvm_rs/kvm_sys/struct.kvm_segment.html +++ b/kvm_rs/kvm_sys/struct.kvm_segment.html @@ -1,37 +1,25 @@ -kvm_segment in kvm_rs::kvm_sys - Rust -
#[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, +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: u64limit: u32selector: u16type_: u8present: u8dpl: u8db: u8s: u8l: u8g: u8avl: u8

Trait Implementations

Formats the value using the given formatter. Read more

-

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

-

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+}

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

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

-

Converts the given value to a String. Read more

-

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 +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 diff --git a/kvm_rs/kvm_sys/struct.kvm_sregs.html b/kvm_rs/kvm_sys/struct.kvm_sregs.html index 5d0e2ec..01f26be 100644 --- a/kvm_rs/kvm_sys/struct.kvm_sregs.html +++ b/kvm_rs/kvm_sys/struct.kvm_sregs.html @@ -1,11 +1,4 @@ -kvm_sregs in kvm_rs::kvm_sys - Rust -
#[repr(C)]
pub struct kvm_sregs {
Show 18 fields +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 pub cs: kvm_segment, pub ds: kvm_segment, pub es: kvm_segment, @@ -16,28 +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_segmentds: kvm_segmentes: kvm_segmentfs: kvm_segmentgs: kvm_segmentss: kvm_segmenttr: kvm_segmentldt: kvm_segmentgdt: kvm_dtableidt: kvm_dtablecr0: u64cr2: u64cr3: u64cr4: u64cr8: u64efer: u64apic_base: u64interrupt_bitmap: [u64; 4]

Trait Implementations

Formats the value using the given formatter. Read more

-

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

-

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

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

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

-

Converts the given value to a String. Read more

-

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 +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 diff --git a/kvm_rs/sidebar-items.js b/kvm_rs/sidebar-items.js index 659e510..3468939 100644 --- a/kvm_rs/sidebar-items.js +++ b/kvm_rs/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"mod":[["cap","Definitions of KVM capabilities."],["kvm","KVM system ioctls."],["kvm_sys","Definitions of the system header ``."],["vcpu","VCPU system ioctls."],["vm","VM system ioctls."],["x86_64","`x86_64` flags and bitfields."]],"struct":[["PhysAddr","Strong type representing physical addresses."],["UserMem","Wrapper to safely allocate memory for guest VMs."]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"mod":["cap","kvm","kvm_sys","vcpu","vm","x86_64"],"struct":["PhysAddr","UserMem"]}; \ No newline at end of file diff --git a/kvm_rs/struct.PhysAddr.html b/kvm_rs/struct.PhysAddr.html index 4b5e4de..06a7696 100644 --- a/kvm_rs/struct.PhysAddr.html +++ b/kvm_rs/struct.PhysAddr.html @@ -1,21 +1,12 @@ -PhysAddr in kvm_rs - Rust -
pub struct PhysAddr(pub u64);
Expand description

Strong type representing physical addresses.

-

Tuple Fields

0: u64

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

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

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

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/struct.UserMem.html b/kvm_rs/struct.UserMem.html index 9fc82be..55065b8 100644 --- a/kvm_rs/struct.UserMem.html +++ b/kvm_rs/struct.UserMem.html @@ -1,35 +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

Struct kvm_rs::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

Allocate a zero-initialized memory region of len bytes.

-

Allocate a zero-initialized memory region of len bytes and initialize the first bytes +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 with init_from.

Panics

Panics if init_from is larger than the memory size len.

-

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

+
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

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

-

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

-

Free underlying memory.

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

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

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

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/vcpu/enum.KvmExit.html b/kvm_rs/vcpu/enum.KvmExit.html index 1bc8f5e..60efe11 100644 --- a/kvm_rs/vcpu/enum.KvmExit.html +++ b/kvm_rs/vcpu/enum.KvmExit.html @@ -1,30 +1,21 @@ -KvmExit in kvm_rs::vcpu - Rust -
pub enum KvmExit<'cpu> {
+KvmExit in kvm_rs::vcpu - Rust

Enum kvm_rs::vcpu::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),
-}
Expand description

Exit reasons for the Vcpu::run function.

+ 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

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

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

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

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/vcpu/index.html b/kvm_rs/vcpu/index.html index 2fc5904..c2a404f 100644 --- a/kvm_rs/vcpu/index.html +++ b/kvm_rs/vcpu/index.html @@ -1,14 +1,2 @@ -kvm_rs::vcpu - Rust -
-

Module kvm_rs::vcpu

source · []
Expand description

VCPU system ioctls.

-

Structs

-

Wrapper for VCPU ioctls.

-

Enums

-

Exit reasons for the Vcpu::run function.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/vcpu/sidebar-items.js b/kvm_rs/vcpu/sidebar-items.js index 352c960..50995ef 100644 --- a/kvm_rs/vcpu/sidebar-items.js +++ b/kvm_rs/vcpu/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":[["KvmExit","Exit reasons for the [`Vcpu::run`][crate::vcpu::Vcpu::run] function."]],"struct":[["Vcpu","Wrapper for VCPU ioctls."]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":["KvmExit"],"struct":["Vcpu"]}; \ No newline at end of file diff --git a/kvm_rs/vcpu/struct.Vcpu.html b/kvm_rs/vcpu/struct.Vcpu.html index e2f3d32..4272687 100644 --- a/kvm_rs/vcpu/struct.Vcpu.html +++ b/kvm_rs/vcpu/struct.Vcpu.html @@ -1,39 +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

Struct kvm_rs::vcpu::Vcpu

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

Wrapper for VCPU ioctls.

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

-

Implementations

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

-

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

-

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

-

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

-

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

-

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

-

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

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

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

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

+
source

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

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

-

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

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

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

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

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/vm/index.html b/kvm_rs/vm/index.html index d6be8f9..7912acc 100644 --- a/kvm_rs/vm/index.html +++ b/kvm_rs/vm/index.html @@ -1,12 +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

Module kvm_rs::vm

source ·
Expand description

VM system ioctls.

+

Structs

  • Wrapper for VM ioctls.
\ No newline at end of file diff --git a/kvm_rs/vm/sidebar-items.js b/kvm_rs/vm/sidebar-items.js index 981eb36..63ddaf5 100644 --- a/kvm_rs/vm/sidebar-items.js +++ b/kvm_rs/vm/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"struct":[["Vm","Wrapper for VM ioctls."]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"struct":["Vm"]}; \ No newline at end of file diff --git a/kvm_rs/vm/struct.Vm.html b/kvm_rs/vm/struct.Vm.html index 97bf0ab..99e5728 100644 --- a/kvm_rs/vm/struct.Vm.html +++ b/kvm_rs/vm/struct.Vm.html @@ -1,32 +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

Struct kvm_rs::vm::Vm

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

Wrapper for VM ioctls.

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

-

Implementations

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

Implementations§

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 phys_addr. The underlying operation is the KVM_SET_USER_MEMORY_REGION ioctl.

Safety

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

-

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

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

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

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

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-

The type returned in the event of a conversion error.

-

Performs the conversion.

-
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/constant.CR0_AM.html b/kvm_rs/x86_64/constant.CR0_AM.html index d8e0cc8..9b27682 100644 --- a/kvm_rs/x86_64/constant.CR0_AM.html +++ b/kvm_rs/x86_64/constant.CR0_AM.html @@ -1,12 +1,4 @@ -CR0_AM in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_AM

source · []
pub const CR0_AM: u64 = 1 << 18; // 262_144u64
Expand description

Alignment Mask.

-

Enables alignment check for CPL=3, check is only done if the AC +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.

+

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 +
\ 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 5b60f49..d68a02d 100644 --- a/kvm_rs/x86_64/constant.CR0_CD.html +++ b/kvm_rs/x86_64/constant.CR0_CD.html @@ -1,10 +1,2 @@ -CR0_CD in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_CD

source · []
pub const CR0_CD: u64 = 1 << 30; // 1_073_741_824u64
Expand description

Cachine disable.

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

+
\ 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 f6ef025..110d0f6 100644 --- a/kvm_rs/x86_64/constant.CR0_EM.html +++ b/kvm_rs/x86_64/constant.CR0_EM.html @@ -1,12 +1,4 @@ -CR0_EM in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_EM

source · []
pub const CR0_EM: u64 = 1 << 2; // 4u64
Expand description

Emulation.

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

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 +
\ 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 aeaa0a6..e92c905 100644 --- a/kvm_rs/x86_64/constant.CR0_ET.html +++ b/kvm_rs/x86_64/constant.CR0_ET.html @@ -1,10 +1,2 @@ -CR0_ET in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_ET

source · []
pub const CR0_ET: u64 = 1 << 4; // 16u64
Expand description

Extension Type.

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

+
\ 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 2b8659f..16944b2 100644 --- a/kvm_rs/x86_64/constant.CR0_MP.html +++ b/kvm_rs/x86_64/constant.CR0_MP.html @@ -1,10 +1,2 @@ -CR0_MP in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_MP

source · []
pub const CR0_MP: u64 = 1 << 1; // 2u64
Expand description

Monitor Coprocessor.

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

+
\ 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 1a76108..db2813c 100644 --- a/kvm_rs/x86_64/constant.CR0_NE.html +++ b/kvm_rs/x86_64/constant.CR0_NE.html @@ -1,10 +1,2 @@ -CR0_NE in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_NE

source · []
pub const CR0_NE: u64 = 1 << 5; // 32u64
Expand description

Numeric Error.

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

+
\ 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 a831fe7..76d02a6 100644 --- a/kvm_rs/x86_64/constant.CR0_NW.html +++ b/kvm_rs/x86_64/constant.CR0_NW.html @@ -1,10 +1,2 @@ -CR0_NW in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_NW

source · []
pub const CR0_NW: u64 = 1 << 29; // 536_870_912u64
Expand description

Not Write-Torugh.

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

+
\ 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 abce4e4..aedff9d 100644 --- a/kvm_rs/x86_64/constant.CR0_PE.html +++ b/kvm_rs/x86_64/constant.CR0_PE.html @@ -1,12 +1,4 @@ -CR0_PE in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_PE

source · []
pub const CR0_PE: u64 = 1 << 0; // 1u64
Expand description

Protection Enable.

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

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

-
- \ No newline at end of file +
\ 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 7730518..6c29bab 100644 --- a/kvm_rs/x86_64/constant.CR0_PG.html +++ b/kvm_rs/x86_64/constant.CR0_PG.html @@ -1,11 +1,3 @@ -CR0_PG in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_PG

source · []
pub const CR0_PG: u64 = 1 << 31; // 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 +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.

+

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 e326488..d1cfd77 100644 --- a/kvm_rs/x86_64/constant.CR0_TS.html +++ b/kvm_rs/x86_64/constant.CR0_TS.html @@ -1,10 +1,2 @@ -CR0_TS in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_TS

source · []
pub const CR0_TS: u64 = 1 << 3; // 8u64
Expand description

Task Switched.

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

+
\ 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 284674b..9ba728c 100644 --- a/kvm_rs/x86_64/constant.CR0_WP.html +++ b/kvm_rs/x86_64/constant.CR0_WP.html @@ -1,11 +1,3 @@ -CR0_WP in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR0_WP

source · []
pub const CR0_WP: u64 = 1 << 16; // 65_536u64
Expand description

Write Protect.

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

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

-
- \ No newline at end of file +
\ 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 3ad7e2b..b597c96 100644 --- a/kvm_rs/x86_64/constant.CR3_PAGE_BASE_MASK.html +++ b/kvm_rs/x86_64/constant.CR3_PAGE_BASE_MASK.html @@ -1,10 +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.

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

+
\ 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 a13c407..f74674f 100644 --- a/kvm_rs/x86_64/constant.CR3_PCD.html +++ b/kvm_rs/x86_64/constant.CR3_PCD.html @@ -1,10 +1,2 @@ -CR3_PCD in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR3_PCD

source · []
pub const CR3_PCD: u64 = 1 << 4; // 16u64
Expand description

Page-level Cache Disable.

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

+
\ 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 b0c5e19..bbbfab4 100644 --- a/kvm_rs/x86_64/constant.CR3_PWT.html +++ b/kvm_rs/x86_64/constant.CR3_PWT.html @@ -1,10 +1,2 @@ -CR3_PWT in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR3_PWT

source · []
pub const CR3_PWT: u64 = 1 << 3; // 8u64
Expand description

Page-level Write-Through.

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

+
\ 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 47c28ef..bfc83e9 100644 --- a/kvm_rs/x86_64/constant.CR4_LA57.html +++ b/kvm_rs/x86_64/constant.CR4_LA57.html @@ -1,12 +1,4 @@ -CR4_LA57 in kvm_rs::x86_64 - Rust -
pub const CR4_LA57: u64 = 1 << 5; // 32u64
Expand description

57-bit Linear Addresses.

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

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 +
\ 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 4bd0326..85a50ea 100644 --- a/kvm_rs/x86_64/constant.CR4_PAE.html +++ b/kvm_rs/x86_64/constant.CR4_PAE.html @@ -1,12 +1,4 @@ -CR4_PAE in kvm_rs::x86_64 - Rust -
-

Constant kvm_rs::x86_64::CR4_PAE

source · []
pub const CR4_PAE: u64 = 1 << 5; // 32u64
Expand description

Physical Address Extenstion.

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

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

-
- \ No newline at end of file +
\ 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 c6baf9c..2368111 100644 --- a/kvm_rs/x86_64/constant.EFER_LMA.html +++ b/kvm_rs/x86_64/constant.EFER_LMA.html @@ -1,11 +1,3 @@ -EFER_LMA in kvm_rs::x86_64 - Rust -
pub const EFER_LMA: u64 = 1 << 10; // 1_024u64
Expand description

Long Mode Active (readonly).

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

When set indicates long mode is active.

-
- \ No newline at end of file +
\ 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 fc822f5..16cbf36 100644 --- a/kvm_rs/x86_64/constant.EFER_LME.html +++ b/kvm_rs/x86_64/constant.EFER_LME.html @@ -1,11 +1,3 @@ -EFER_LME in kvm_rs::x86_64 - Rust -
pub const EFER_LME: u64 = 1 << 8; // 256u64
Expand description

Long Mode Enable.

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

When set enables long mode operations.

-
- \ No newline at end of file +
\ 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 0823089..c83b8b2 100644 --- a/kvm_rs/x86_64/constant.MSR_EFER.html +++ b/kvm_rs/x86_64/constant.MSR_EFER.html @@ -1,12 +1,4 @@ -MSR_EFER in kvm_rs::x86_64 - Rust -
pub const MSR_EFER: u64 = 0xc000_0080;
Expand description

Extended Feature Enable Register MSR number.

+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 number used with the rdmsr and wrmsr instructions to read/write the EFER model specific register.

-
- \ No newline at end of file +
\ 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 f3dd17d..eac9476 100644 --- a/kvm_rs/x86_64/constant.PAGE_ENTRY_PRESENT.html +++ b/kvm_rs/x86_64/constant.PAGE_ENTRY_PRESENT.html @@ -1,10 +1,2 @@ -PAGE_ENTRY_PRESENT in kvm_rs::x86_64 - Rust -
pub const PAGE_ENTRY_PRESENT: u64 = 1 << 0; // 1u64
Expand description

Page entry present.

-
- \ No newline at end of file +PAGE_ENTRY_PRESENT in kvm_rs::x86_64 - Rust
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 8632909..7704dac 100644 --- a/kvm_rs/x86_64/constant.PAGE_ENTRY_RW.html +++ b/kvm_rs/x86_64/constant.PAGE_ENTRY_RW.html @@ -1,11 +1,3 @@ -PAGE_ENTRY_RW in kvm_rs::x86_64 - Rust -
pub const PAGE_ENTRY_RW: u64 = 1 << 1; // 2u64
Expand description

Page region read/write.

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

If set, region reference by paging entry is writeable.

-
- \ No newline at end of file +
\ 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 02cb32a..54cb40e 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_AC.html +++ b/kvm_rs/x86_64/constant.RFLAGS_AC.html @@ -1,10 +1,2 @@ -RFLAGS_AC in kvm_rs::x86_64 - Rust -
pub const RFLAGS_AC: u64 = 1 << 18; // 262_144u64
Expand description

Alignment check.

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

+
\ 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 0be5b88..8982636 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_AF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_AF.html @@ -1,10 +1,2 @@ -RFLAGS_AF in kvm_rs::x86_64 - Rust -
pub const RFLAGS_AF: u64 = 1 << 4; // 16u64
Expand description

Adjust flag.

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

+
\ 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 1dbb911..424ee2b 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_CF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_CF.html @@ -1,10 +1,2 @@ -RFLAGS_CF in kvm_rs::x86_64 - Rust -
pub const RFLAGS_CF: u64 = 1 << 0; // 1u64
Expand description

Carry flag.

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

+
\ 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 84963f7..752b379 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_DF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_DF.html @@ -1,10 +1,2 @@ -RFLAGS_DF in kvm_rs::x86_64 - Rust -
pub const RFLAGS_DF: u64 = 1 << 10; // 1_024u64
Expand description

Direction flag.

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

+
\ 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 34e3bf8..fc56a0d 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_IF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_IF.html @@ -1,10 +1,2 @@ -RFLAGS_IF in kvm_rs::x86_64 - Rust -
pub const RFLAGS_IF: u64 = 1 << 9; // 512u64
Expand description

Sign flag.

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

+
\ 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 192a715..73598ba 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_IOPL.html +++ b/kvm_rs/x86_64/constant.RFLAGS_IOPL.html @@ -1,10 +1,2 @@ -RFLAGS_IOPL in kvm_rs::x86_64 - Rust -
pub const RFLAGS_IOPL: u64 = 0b11 << 12; // 12_288u64
Expand description

I/O privilege level.

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

+
\ 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 458c78b..3b3dd0c 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_OF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_OF.html @@ -1,10 +1,2 @@ -RFLAGS_OF in kvm_rs::x86_64 - Rust -
pub const RFLAGS_OF: u64 = 1 << 11; // 2_048u64
Expand description

Overflow flag.

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

+
\ 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 0339e79..60a02f6 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_PF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_PF.html @@ -1,10 +1,2 @@ -RFLAGS_PF in kvm_rs::x86_64 - Rust -
pub const RFLAGS_PF: u64 = 1 << 2; // 4u64
Expand description

Parity flag.

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

+
\ 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 0f57b05..c76df45 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_SF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_SF.html @@ -1,10 +1,2 @@ -RFLAGS_SF in kvm_rs::x86_64 - Rust -
pub const RFLAGS_SF: u64 = 1 << 7; // 128u64
Expand description

Sign flag.

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

+
\ 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 e222737..f90a74e 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_TF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_TF.html @@ -1,10 +1,2 @@ -RFLAGS_TF in kvm_rs::x86_64 - Rust -
pub const RFLAGS_TF: u64 = 1 << 8; // 256u64
Expand description

Trap flag.

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

+
\ 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 fd3cece..966a9ce 100644 --- a/kvm_rs/x86_64/constant.RFLAGS_ZF.html +++ b/kvm_rs/x86_64/constant.RFLAGS_ZF.html @@ -1,10 +1,2 @@ -RFLAGS_ZF in kvm_rs::x86_64 - Rust -
pub const RFLAGS_ZF: u64 = 1 << 6; // 64u64
Expand description

Zero flag.

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

+
\ 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 bd05fd0..8824d41 100644 --- a/kvm_rs/x86_64/constant.SEG_SELECTOR_INDEX.html +++ b/kvm_rs/x86_64/constant.SEG_SELECTOR_INDEX.html @@ -1,12 +1,4 @@ -SEG_SELECTOR_INDEX in kvm_rs::x86_64 - Rust -
pub const SEG_SELECTOR_INDEX: u16 = 0x1fff << 3; // 65_528u16
Expand description

Table index.

+SEG_SELECTOR_INDEX in kvm_rs::x86_64 - Rust
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 +
\ 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 0c73e6f..7422838 100644 --- a/kvm_rs/x86_64/constant.SEG_SELECTOR_RPL.html +++ b/kvm_rs/x86_64/constant.SEG_SELECTOR_RPL.html @@ -1,12 +1,4 @@ -SEG_SELECTOR_RPL in kvm_rs::x86_64 - Rust -
pub const SEG_SELECTOR_RPL: u16 = 0b11 << 0; // 3u16
Expand description

Requested privilege level.

+SEG_SELECTOR_RPL in kvm_rs::x86_64 - Rust
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 +
\ 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 2e4d3c0..4b59437 100644 --- a/kvm_rs/x86_64/constant.SEG_SELECTOR_TI.html +++ b/kvm_rs/x86_64/constant.SEG_SELECTOR_TI.html @@ -1,14 +1,6 @@ -SEG_SELECTOR_TI in kvm_rs::x86_64 - Rust -
pub const SEG_SELECTOR_TI: u16 = 1 << 2; // 4u16
Expand description

Table indicator.

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

TITable
0GDT
1LDT
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/kvm_rs/x86_64/fn.rflags_ac.html b/kvm_rs/x86_64/fn.rflags_ac.html index b82d256..0711145 100644 --- a/kvm_rs/x86_64/fn.rflags_ac.html +++ b/kvm_rs/x86_64/fn.rflags_ac.html @@ -1,9 +1 @@ -rflags_ac in kvm_rs::x86_64 - Rust -
pub const fn rflags_ac(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_af.html b/kvm_rs/x86_64/fn.rflags_af.html index 8bf02b6..f517642 100644 --- a/kvm_rs/x86_64/fn.rflags_af.html +++ b/kvm_rs/x86_64/fn.rflags_af.html @@ -1,9 +1 @@ -rflags_af in kvm_rs::x86_64 - Rust -
pub const fn rflags_af(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_cf.html b/kvm_rs/x86_64/fn.rflags_cf.html index f2cfa35..7222f67 100644 --- a/kvm_rs/x86_64/fn.rflags_cf.html +++ b/kvm_rs/x86_64/fn.rflags_cf.html @@ -1,9 +1 @@ -rflags_cf in kvm_rs::x86_64 - Rust -
pub const fn rflags_cf(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_df.html b/kvm_rs/x86_64/fn.rflags_df.html index afe943d..321a9e2 100644 --- a/kvm_rs/x86_64/fn.rflags_df.html +++ b/kvm_rs/x86_64/fn.rflags_df.html @@ -1,9 +1 @@ -rflags_df in kvm_rs::x86_64 - Rust -
pub const fn rflags_df(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_if.html b/kvm_rs/x86_64/fn.rflags_if.html index d9e2245..65cbedc 100644 --- a/kvm_rs/x86_64/fn.rflags_if.html +++ b/kvm_rs/x86_64/fn.rflags_if.html @@ -1,9 +1 @@ -rflags_if in kvm_rs::x86_64 - Rust -
pub const fn rflags_if(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_iopl.html b/kvm_rs/x86_64/fn.rflags_iopl.html index 1fb1e54..9eb1690 100644 --- a/kvm_rs/x86_64/fn.rflags_iopl.html +++ b/kvm_rs/x86_64/fn.rflags_iopl.html @@ -1,9 +1 @@ -rflags_iopl in kvm_rs::x86_64 - Rust -
pub const fn rflags_iopl(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_of.html b/kvm_rs/x86_64/fn.rflags_of.html index a3ce4a2..9f44e9d 100644 --- a/kvm_rs/x86_64/fn.rflags_of.html +++ b/kvm_rs/x86_64/fn.rflags_of.html @@ -1,9 +1 @@ -rflags_of in kvm_rs::x86_64 - Rust -
pub const fn rflags_of(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_pf.html b/kvm_rs/x86_64/fn.rflags_pf.html index 03b1c90..b0ffc88 100644 --- a/kvm_rs/x86_64/fn.rflags_pf.html +++ b/kvm_rs/x86_64/fn.rflags_pf.html @@ -1,9 +1 @@ -rflags_pf in kvm_rs::x86_64 - Rust -
pub const fn rflags_pf(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_sf.html b/kvm_rs/x86_64/fn.rflags_sf.html index 4b4b7bd..317592e 100644 --- a/kvm_rs/x86_64/fn.rflags_sf.html +++ b/kvm_rs/x86_64/fn.rflags_sf.html @@ -1,9 +1 @@ -rflags_sf in kvm_rs::x86_64 - Rust -
pub const fn rflags_sf(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_tf.html b/kvm_rs/x86_64/fn.rflags_tf.html index 8246815..d34f68d 100644 --- a/kvm_rs/x86_64/fn.rflags_tf.html +++ b/kvm_rs/x86_64/fn.rflags_tf.html @@ -1,9 +1 @@ -rflags_tf in kvm_rs::x86_64 - Rust -
pub const fn rflags_tf(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.rflags_zf.html b/kvm_rs/x86_64/fn.rflags_zf.html index 44f4042..0ac01d0 100644 --- a/kvm_rs/x86_64/fn.rflags_zf.html +++ b/kvm_rs/x86_64/fn.rflags_zf.html @@ -1,9 +1 @@ -rflags_zf in kvm_rs::x86_64 - Rust -
pub const fn rflags_zf(r: u64) -> u64
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/fn.seg_selector_index.html b/kvm_rs/x86_64/fn.seg_selector_index.html index 9310f3a..783408d 100644 --- a/kvm_rs/x86_64/fn.seg_selector_index.html +++ b/kvm_rs/x86_64/fn.seg_selector_index.html @@ -1,9 +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
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 d7c5c50..a3a647f 100644 --- a/kvm_rs/x86_64/fn.seg_selector_rpl.html +++ b/kvm_rs/x86_64/fn.seg_selector_rpl.html @@ -1,9 +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
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 8639b79..e572d64 100644 --- a/kvm_rs/x86_64/fn.seg_selector_ti.html +++ b/kvm_rs/x86_64/fn.seg_selector_ti.html @@ -1,9 +1 @@ -seg_selector_ti in kvm_rs::x86_64 - Rust -
pub const fn seg_selector_ti(s: u16) -> u16
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/index.html b/kvm_rs/x86_64/index.html index 65f147c..7e6a415 100644 --- a/kvm_rs/x86_64/index.html +++ b/kvm_rs/x86_64/index.html @@ -1,47 +1,2 @@ -kvm_rs::x86_64 - Rust -
-

Module kvm_rs::x86_64

source · []
Expand description

x86_64 flags and bitfields.

-

Constants

-

Alignment Mask.

-

Cachine disable.

-

Emulation.

-

Extension Type.

-

Monitor Coprocessor.

-

Numeric Error.

-

Not Write-Torugh.

-

Protection Enable.

-

Paging.

-

Task Switched.

-

Write Protect.

-

Mask for physical base address of paging structure.

-

Page-level Cache Disable.

-

Page-level Write-Through.

-

57-bit Linear Addresses.

-

Physical Address Extenstion.

-

Long Mode Active (readonly).

-

Long Mode Enable.

-

Extended Feature Enable Register MSR number.

-

Page entry present.

-

Page region read/write.

-

Alignment check.

-

Adjust flag.

-

Carry flag.

-

Direction flag.

-

Sign flag.

-

I/O privilege level.

-

Overflow flag.

-

Parity flag.

-

Sign flag.

-

Trap flag.

-

Zero flag.

-

Table index.

-

Requested privilege level.

-

Table indicator.

-

Functions

-
- \ No newline at end of file +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 diff --git a/kvm_rs/x86_64/sidebar-items.js b/kvm_rs/x86_64/sidebar-items.js index 0a85c3a..33e29f9 100644 --- a/kvm_rs/x86_64/sidebar-items.js +++ b/kvm_rs/x86_64/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"constant":[["CR0_AM","Alignment Mask."],["CR0_CD","Cachine disable."],["CR0_EM","Emulation."],["CR0_ET","Extension Type."],["CR0_MP","Monitor Coprocessor."],["CR0_NE","Numeric Error."],["CR0_NW","Not Write-Torugh."],["CR0_PE","Protection Enable."],["CR0_PG","Paging."],["CR0_TS","Task Switched."],["CR0_WP","Write Protect."],["CR3_PAGE_BASE_MASK","Mask for physical base address of paging structure."],["CR3_PCD","Page-level Cache Disable."],["CR3_PWT","Page-level Write-Through."],["CR4_LA57","57-bit Linear Addresses."],["CR4_PAE","Physical Address Extenstion."],["EFER_LMA","Long Mode Active (readonly)."],["EFER_LME","Long Mode Enable."],["MSR_EFER","Extended Feature Enable Register MSR number."],["PAGE_ENTRY_PRESENT","Page entry present."],["PAGE_ENTRY_RW","Page region read/write."],["RFLAGS_AC","Alignment check."],["RFLAGS_AF","Adjust flag."],["RFLAGS_CF","Carry flag."],["RFLAGS_DF","Direction flag."],["RFLAGS_IF","Sign flag."],["RFLAGS_IOPL","I/O privilege level."],["RFLAGS_OF","Overflow flag."],["RFLAGS_PF","Parity flag."],["RFLAGS_SF","Sign flag."],["RFLAGS_TF","Trap flag."],["RFLAGS_ZF","Zero flag."],["SEG_SELECTOR_INDEX","Table index."],["SEG_SELECTOR_RPL","Requested privilege level."],["SEG_SELECTOR_TI","Table indicator."]],"fn":[["rflags_ac",""],["rflags_af",""],["rflags_cf",""],["rflags_df",""],["rflags_if",""],["rflags_iopl",""],["rflags_of",""],["rflags_pf",""],["rflags_sf",""],["rflags_tf",""],["rflags_zf",""],["seg_selector_index",""],["seg_selector_rpl",""],["seg_selector_ti",""]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"constant":["CR0_AM","CR0_CD","CR0_EM","CR0_ET","CR0_MP","CR0_NE","CR0_NW","CR0_PE","CR0_PG","CR0_TS","CR0_WP","CR3_PAGE_BASE_MASK","CR3_PCD","CR3_PWT","CR4_LA57","CR4_PAE","EFER_LMA","EFER_LME","MSR_EFER","PAGE_ENTRY_PRESENT","PAGE_ENTRY_RW","RFLAGS_AC","RFLAGS_AF","RFLAGS_CF","RFLAGS_DF","RFLAGS_IF","RFLAGS_IOPL","RFLAGS_OF","RFLAGS_PF","RFLAGS_SF","RFLAGS_TF","RFLAGS_ZF","SEG_SELECTOR_INDEX","SEG_SELECTOR_RPL","SEG_SELECTOR_TI"],"fn":["rflags_ac","rflags_af","rflags_cf","rflags_df","rflags_if","rflags_iopl","rflags_of","rflags_pf","rflags_sf","rflags_tf","rflags_zf","seg_selector_index","seg_selector_rpl","seg_selector_ti"]}; \ No newline at end of file -- cgit v1.2.3