50 virtual bool x64()
const = 0;
79 virtual GuestImpl&
impl() = 0;
80 virtual const GuestImpl&
impl()
const = 0;
Interface class for hypervisor events.
Definition Event.hh:43
Base interface for a Guest.
Definition Guest.hh:35
virtual guest_ptr< void > allocate(size_t ®ion_size, bool executable=false)=0
Allocate a region of memory in the guest.
virtual bool page_in(Event &event, uint64_t virtual_address)=0
virtual ~Guest()=default
Destroy the instance.
virtual OS os() const =0
Get the Guest OS type.
virtual void guest_free(const guest_ptr< void > &ptr, size_t region_size)=0
Free a region of memory in the guest.
virtual bool x64() const =0
Check if the guest is 64-bit.
virtual const GuestImpl & impl() const =0
virtual GuestImpl & impl()=0
Used internally.
Definition guest_ptr.hh:88
Type-safe guest virtual address pointer and guest_ptr template.
Core IntroVirt classes.
Definition Cr0.hh:20