Interface class for hypervisor events.
More...
#include <Event.hh>
◆ ~Event()
| virtual introvirt::Event::~Event |
( |
| ) |
|
|
virtualdefault |
◆ cr() [1/2]
Get control register access event information.
- Returns
- The control register event information
- Exceptions
-
◆ cr() [2/2]
Get control register access event information.
- Returns
- The control register event information
- Exceptions
-
- Examples
- ivcallmon.cc, and ivcr3mon.cc.
◆ domain() [1/2]
| virtual const Domain & introvirt::Event::domain |
( |
| ) |
const |
|
pure virtual |
Get the Domain that the event is for.
- Returns
- The domain that the event is for
-
const Domain&
◆ domain() [2/2]
| virtual Domain & introvirt::Event::domain |
( |
| ) |
|
|
pure virtual |
◆ exception() [1/2]
Get x86 exception event information.
- Returns
- The x86 exception event information
- Exceptions
-
◆ exception() [2/2]
Get x86 exception event information.
- Returns
- The x86 exception event information
- Exceptions
-
◆ id()
| virtual uint64_t introvirt::Event::id |
( |
| ) |
const |
|
pure virtual |
Get the unique identifier for this event.
◆ impl()
| virtual EventImpl & introvirt::Event::impl |
( |
| ) |
|
|
pure virtual |
Used internally.
- Returns
- EventImpl&
◆ json()
| virtual Json::Value introvirt::Event::json |
( |
| ) |
const |
|
pure virtual |
Serialize the event into JSON.
- Returns
- A JSON representation of this Event
◆ mem_access() [1/2]
Get memory access event information.
This is implemented using HAP violations. A page can be marked as any combination of R/W/X. When an access occurs that is not allowed, an event is delivered.
If the event is not handled, when the guest resumes it will just fault again.
- Returns
- The memory access event information
- Exceptions
-
◆ mem_access() [2/2]
Get memory access event information.
This is implemented using HAP violations. A page can be marked as any combination of R/W/X. When an access occurs that is not allowed, an event is delivered.
If the event is not handled, when the guest resumes it will just fault again.
- Returns
- The memory access event information
- Exceptions
-
- Examples
- ivmemwatch.cc, and vmcall_interface.cc.
◆ msr() [1/2]
Get MSR access event information.
- Returns
- The MSR event information
- Exceptions
-
◆ msr() [2/2]
Get MSR access event information.
- Returns
- The MSR event information
- Exceptions
-
◆ os_type()
| virtual OS introvirt::Event::os_type |
( |
| ) |
const |
|
pure virtual |
- Returns
- the OS that this event is for
◆ syscall() [1/2]
Get system call event information.
Valid for EVENT_FAST_SYSCALL and EVENT_FAST_SYSCALL_RET
- Returns
- The system call event information
- Exceptions
-
Implemented in introvirt::windows::WindowsEvent.
◆ syscall() [2/2]
Get system call event information.
Valid for EVENT_FAST_SYSCALL and EVENT_FAST_SYSCALL_RET
- Returns
- The system call event information
- Exceptions
-
Implemented in introvirt::windows::WindowsEvent.
◆ task() [1/2]
Get the task information.
This is overriden by OS specific libraries (libwintrovirt) to provide task information.
- Returns
- The task information
- Exceptions
-
Implemented in introvirt::windows::WindowsEvent.
◆ task() [2/2]
◆ type()
| virtual EventType introvirt::Event::type |
( |
| ) |
const |
|
pure virtual |
◆ vcpu() [1/2]
| virtual const Vcpu & introvirt::Event::vcpu |
( |
| ) |
const |
|
pure virtual |
Get the Vcpu that triggered the event.
- Returns
- The Vcpu that triggered the event
◆ vcpu() [2/2]
| virtual Vcpu & introvirt::Event::vcpu |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- /home/runner/work/IntroVirt/IntroVirt/include/introvirt/core/event/Event.hh