gem5  v20.1.0.0
Macros | Functions
base.cc File Reference
#include "cpu/kvm/base.hh"
#include <linux/kvm.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <unistd.h>
#include <cerrno>
#include <csignal>
#include <ostream>
#include "arch/utility.hh"
#include "debug/Checkpoint.hh"
#include "debug/Drain.hh"
#include "debug/Kvm.hh"
#include "debug/KvmIO.hh"
#include "debug/KvmRun.hh"
#include "params/BaseKvmCPU.hh"
#include "sim/process.hh"
#include "sim/system.hh"

Go to the source code of this file.

Macros

#define PAGE_SIZE   pageSize
 

Functions

static void onKickSignal (int signo, siginfo_t *si, void *data)
 Dummy handler for KVM kick signals. More...
 

Macro Definition Documentation

◆ PAGE_SIZE

#define PAGE_SIZE   pageSize

Definition at line 60 of file base.cc.

Function Documentation

◆ onKickSignal()

static void onKickSignal ( int  signo,
siginfo_t *  si,
void *  data 
)
static

Dummy handler for KVM kick signals.

Note
This function is usually not called since the kernel doesn't seem to deliver signals when the signal is only unmasked when running in KVM. This doesn't matter though since we are only interested in getting KVM to exit, which happens as expected. See setupSignalHandler() and kvmRun() for details about KVM signal handling.

Definition at line 1178 of file base.cc.

Referenced by BaseKvmCPU::setupSignalHandler().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17