gem5  v21.1.0.2
Functions
KVM low-level ioctl interface.

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

Functions

int gem5::BaseKvmCPU::ioctl (int request, long p1) const
 vCPU ioctl interface. More...
 
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. More...
 
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. More...
 
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::Kvm::ioctl ( int  request) const
inlineprotected

Definition at line 239 of file vm.hh.

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

◆ ioctl() [2/9]

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

Definition at line 521 of file vm.hh.

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

◆ ioctl() [3/9]

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

Definition at line 578 of file base.hh.

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

◆ ioctl() [4/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 285 of file vm.cc.

References gem5::Kvm::kvmFD.

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

◆ ioctl() [5/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 589 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::setIRQLine(), gem5::KvmVM::setTSSAddress(), and gem5::KvmVM::setUserMemoryRegion().

◆ ioctl() [6/9]

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

◆ ioctl() [7/9]

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

Definition at line 236 of file vm.hh.

References gem5::Kvm::ioctl().

◆ ioctl() [8/9]

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

Definition at line 518 of file vm.hh.

References gem5::KvmVM::ioctl().

◆ ioctl() [9/9]

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

Definition at line 575 of file base.hh.

References gem5::BaseKvmCPU::ioctl().


Generated on Tue Sep 21 2021 12:27:00 for gem5 by doxygen 1.8.17