27#include <introvirt/util/json/json.hh>
176 virtual Json::Value
json()
const = 0;
181 virtual uint64_t
id()
const = 0;
Control register read/write event interface.
Definition ControlRegisterEvent.hh:27
A class representing a single Domain.
Definition Domain.hh:44
Interface class for hypervisor events.
Definition Event.hh:43
virtual const ControlRegisterEvent & cr() const =0
Get control register access event information.
virtual SystemCallEvent & syscall()=0
Get system call event information.
virtual OS os_type() const =0
virtual ~Event()=default
Destroy the instance.
virtual MemAccessEvent & mem_access()=0
Get memory access event information.
virtual uint64_t id() const =0
Get the unique identifier for this event.
virtual Domain & domain()=0
Get the Domain that the event is for.
virtual const SystemCallEvent & syscall() const =0
Get system call event information.
virtual const Domain & domain() const =0
Get the Domain that the event is for.
virtual const ExceptionEvent & exception() const =0
Get x86 exception event information.
virtual MsrAccessEvent & msr()=0
Get MSR access event information.
virtual const EventTaskInformation & task() const =0
Get the task information.
virtual EventImpl & impl()=0
Used internally.
virtual ExceptionEvent & exception()=0
Get x86 exception event information.
virtual Json::Value json() const =0
Serialize the event into JSON.
virtual EventTaskInformation & task()=0
Get the task information.
virtual EventType type() const =0
Get the type of event.
virtual ControlRegisterEvent & cr()=0
Get control register access event information.
virtual const MemAccessEvent & mem_access() const =0
Get memory access event information.
virtual const Vcpu & vcpu() const =0
Get the Vcpu that triggered the event.
virtual const MsrAccessEvent & msr() const =0
Get MSR access event information.
virtual Vcpu & vcpu()=0
Get the Vcpu that triggered the event.
Interface for x86 exception events.
Definition ExceptionEvent.hh:27
Interface for intercepting memory accesses.
Definition MemAccessEvent.hh:29
Interface for MSR read/write events.
Definition MsrAccessEvent.hh:27
Interface for system call events.
Definition SystemCallEvent.hh:46
A class representing a single virtual processor.
Definition Vcpu.hh:33
Core IntroVirt classes.
Definition Cr0.hh:20
const std::string & to_string(OS)
EventType
Enum describing a hypervisor event.
Definition EventType.hh:29
std::ostream & operator<<(std::ostream &, OS)