Skip to documentation
SLOP

tiny.sys.kvm.abi.request

Reference tiny.sys kvm abi request

Defined in kvm.abi.

API (30)

Values and defaults

Public values and defaults.

No direct callersNo direct callskvm.abirequest
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/sys/src/kvm/abi.zig:311

zig
pub const request = struct {    pub const get_api_version = io(0x00);    pub const create_vm = io(0x01);    pub const check_extension = io(0x03);    pub const get_vcpu_mmap_size = io(0x04);    pub const get_supported_cpuid = iowr(0x05, CpuidHeader);    pub const create_vcpu = io(0x41);    pub const set_user_memory_region = iow(0x46, UserMemoryRegion);    pub const set_clock = iow(0x7b, Clock);    pub const get_clock = ior(0x7c, Clock);    pub const run = io(0x80);    pub const get_registers = ior(0x81, Registers);    pub const set_registers = iow(0x82, Registers);    pub const get_special_registers = ior(0x83, SpecialRegisters);    pub const set_special_registers = iow(0x84, SpecialRegisters);    pub const get_msrs = iowr(0x88, MsrHeader);    pub const set_msrs = iow(0x89, MsrHeader);    pub const get_fpu = ior(0x8c, Fpu);    pub const set_fpu = iow(0x8d, Fpu);    pub const set_cpuid = iow(0x90, CpuidHeader);    pub const get_cpuid = iowr(0x91, CpuidHeader);    pub const get_mp_state = ior(0x98, MpState);    pub const set_mp_state = iow(0x99, MpState);    pub const get_vcpu_events = ior(0x9f, VcpuEvents);    pub const set_vcpu_events = iow(0xa0, VcpuEvents);    pub const get_debug_registers = ior(0xa1, DebugRegisters);    pub const set_debug_registers = iow(0xa2, DebugRegisters);    pub const get_xsave = ior(0xa4, Xsave);    pub const set_xsave = iow(0xa5, Xsave);    pub const get_xcrs = ior(0xa6, Xcrs);    pub const set_xcrs = iow(0xa7, Xcrs);};

Audit

Definitions31
Public names31
Members0
Version26.7.0
Revisiondaab053ee433