Struct kvm_rs::kvm::Kvm[][src]

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

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

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.