gem5 v24.0.0.0
Loading...
Searching...
No Matches
KVM low-level ioctl interface.

Functions

int gem5::BaseKvmCPU::ioctl (int request, long p1) const
 vCPU ioctl interface.
 
int gem5::BaseKvmCPU::ioctl (int request, void *p1) const
 
int gem5::BaseKvmCPU::ioctl (int request) const
 
int gem5::Kvm::ioctl (int request, long p1) const
 Main VM ioctl interface.
 
int gem5::Kvm::ioctl (int request, void *p1) const
 
int gem5::Kvm::ioctl (int request) const
 
int gem5::KvmVM::ioctl (int request, long p1) const
 KVM VM ioctl interface.
 
int gem5::KvmVM::ioctl (int request, void *p1) const
 
int gem5::KvmVM::ioctl (int request) const
 

Detailed Description

These methods provide a low-level interface to the underlying KVM layer.

Function Documentation

◆ ioctl() [1/9]

int gem5::BaseKvmCPU::ioctl ( int request) const
inlineprotected

Definition at line 587 of file base.hh.

References gem5::BaseKvmCPU::ioctl(), and gem5::X86ISA::L.

◆ ioctl() [2/9]

◆ ioctl() [3/9]

int gem5::BaseKvmCPU::ioctl ( int request,
void * p1 ) const
inlineprotected

Definition at line 584 of file base.hh.

References gem5::BaseKvmCPU::ioctl().

◆ ioctl() [4/9]

int gem5::Kvm::ioctl ( int request) const
inlineprotected

Definition at line 243 of file vm.hh.

References gem5::Kvm::ioctl(), and gem5::X86ISA::L.

◆ ioctl() [5/9]

int gem5::Kvm::ioctl ( int request,
long p1 ) const
protected

Main VM ioctl interface.

Parameters
requestKVM request
p1Optional request parameter
Returns
-1 on error (error number in errno), ioctl dependent value otherwise.

Definition at line 296 of file vm.cc.

References gem5::Kvm::kvmFD.

Referenced by gem5::Kvm::checkExtension(), gem5::Kvm::createVM(), gem5::Kvm::ioctl(), gem5::Kvm::ioctl(), and gem5::Kvm::Kvm().

◆ ioctl() [6/9]

int gem5::Kvm::ioctl ( int request,
void * p1 ) const
inlineprotected

Definition at line 240 of file vm.hh.

References gem5::Kvm::ioctl().

◆ ioctl() [7/9]

int gem5::KvmVM::ioctl ( int request) const
inlineprotected

Definition at line 523 of file vm.hh.

References gem5::KvmVM::ioctl(), and gem5::X86ISA::L.

◆ ioctl() [8/9]

int gem5::KvmVM::ioctl ( int request,
long p1 ) const
protected

KVM VM ioctl interface.

Parameters
requestKVM VM request
p1Optional request parameter
Returns
-1 on error (error number in errno), ioctl dependent value otherwise.

Definition at line 602 of file vm.cc.

References gem5::KvmVM::vmFD.

Referenced by gem5::KvmVM::coalesceMMIO(), gem5::KvmVM::createDevice(), gem5::KvmVM::createIRQChip(), gem5::KvmVM::createVCPU(), gem5::KvmVM::ioctl(), gem5::KvmVM::ioctl(), gem5::KvmVM::setIRQLine(), gem5::KvmVM::setTSSAddress(), and gem5::KvmVM::setUserMemoryRegion().

◆ ioctl() [9/9]

int gem5::KvmVM::ioctl ( int request,
void * p1 ) const
inlineprotected

Definition at line 520 of file vm.hh.

References gem5::KvmVM::ioctl().


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0